add: return mjps; } var mjp=dojo.event.MethodJoinPoint.getForMethod(ao.srcObj,ao.srcFunc); if(ao.adviceFunc){ var mjp2=dojo.event.MethodJoinPoint.getForMethod(ao.adviceObj,ao.adviceFunc); } mjp.kwAddAdvice(ao); return mjp; }; this.log=function(a1,a2){ var _300; if((arguments.length==1)&&(typeof a1=="object")){ _300=a1; }else{ _300={srcObj:a1,srcFunc:a2}; } _300.adviceFunc=function(){ var _301=[]; for(var x=0;x<arguments.length;x++){ _301.push(arguments[x]); } dojo.debug("("+_300.srcObj+")."+_300.srcFunc,":",_301.join(", ")); }; this.kwConnect(_300); }; this.connectBefore=function(){ var args=["before"]; for(var i=0;i<arguments.length;i++){ args.push(arguments[i]); } return this.connect.apply(this,args); }; this.connectAround=function(){ var args=["around"]; for(var i=0;i<arguments.length;i++){ args.push(arguments[i]); } return this.connect.apply(this,args); }; this.connectOnce=function(){ var ao=interpolateArgs(arguments,true); ao.once=true; return this.connect(ao); }; this._kwConnectImpl=function(_308,_309){ var fn=(_309)?"disconnect":"connect"; if(typeof _308["srcFunc"]=="function"){ _308.srcObj=_308["srcObj"]||dj_global; var _30b=dojo.lang.nameAnonFunc(_308.srcFunc,_308.srcObj,true); _308.srcFunc=_30b; } if(typeof _308["adviceFunc"]=="function"){ _308.adviceObj=_308["adviceObj"]||dj_global; var _30b=dojo.lang.nameAnonFunc(_308.adviceFunc,_308.adviceObj,true); _308.adviceFunc=_30b; } _308.srcObj=_308["srcObj"]||dj_global; _308.adviceObj=_308["adviceObj"]||_308["targetObj"]||dj_global; _308.adviceFunc=_308["adviceFunc"]||_308["targetFunc"]; return dojo.event[fn](_308); }; this.kwConnect=function(_30c){ return this._kwConnectImpl(_30c,false); }; this.disconnect=function(){ if(arguments.length==1){ var ao=arguments[0]; }else{ var ao=interpolateArgs(arguments,true); } if(!ao.adviceFunc){ return; } if(dojo.lang.isString(ao.srcFunc)&&(ao.srcFunc.toLowerCase()=="onkey")){ if(dojo.render.html.ie){ ao.srcFunc="onkeydown"; this.disconnect(ao); } ao.srcFunc="onkeypress"; } if(!ao.srcObj[ao.srcFunc]){ return null; } var mjp=dojo.event.MethodJoinPoint.getForMethod(ao.srcObj,ao.srcFunc,true); mjp.removeAdvice(ao.adviceObj,ao.adviceFunc,ao.adviceType,ao.once); return mjp; }; this.kwDisconnect=function(_30f){ return this._kwConnectImpl(_30f,true); }; }; 
context: dojo.lang.forEach(ao.srcObj,function(src){if((dojo.render.html.capable)&&(dojo.lang.isString(src))){src=dojo.byId(src);}_2ec.srcObj=src;mjps.push(dojo.event.connect.call(dojo.event,_2ec));});
meta: 4707	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4707/50c3492c4c3c825dbd3401e134a19ed46799c456/dojo.js/buggy/www/resources/dojo-ajax/dojo.js