All pastes #980672 Raw Edit

Mine

public text v1 · immutable
·published 2008-04-11 04:55 UTC
rendered paste body
        }
})();

if(dojo.isIE){
        // keep this out of the closure
        // closing over 'iel' or 'ieh' b0rks leak prevention
        // ls[i] is an index into the master handler array
        dojo._getIeDispatcher = function(){
                return function(){
                        var ap=Array.prototype, h=dojo._ie_listener.handlers, c=
arguments.callee, ls=c._listeners, t=h[c.target];
                        breakpoint(function(expr) { return eval(expr); }, "break
point #1 in dojo anon");
                        // return value comes from original target function
                        var r = t && t.apply(this, arguments);
                        //breakpoint(function(expr) { return eval(expr); }, "bre
akpoint #2 in dojo anon");
                        // invoke listeners after target function
                        for(var i in ls){
                                if(!(i in ap)){
                                        h[ls[i]].apply(this, arguments);
                                }
                        }