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(/*object or funcName*/ a1, /*funcName*/ a2){           var kwArgs; if((arguments.length == 1)&&(typeof a1 == "object")){ kwArgs = a1; }else{ kwArgs = { srcObj: a1, srcFunc: a2 }; } kwArgs.adviceFunc = function(){ var argsStr = []; for(var x=0; x<arguments.length; x++){ argsStr.push(arguments[x]); } dojo.debug("("+kwArgs.srcObj+")."+kwArgs.srcFunc, ":", argsStr.join(", ")); } this.kwConnect(kwArgs); }  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(kwArgs, disconnect){ var fn = (disconnect) ? "disconnect" : "connect"; if(typeof kwArgs["srcFunc"] == "function"){ kwArgs.srcObj = kwArgs["srcObj"]||dj_global; var tmpName  = dojo.lang.nameAnonFunc(kwArgs.srcFunc, kwArgs.srcObj, true); kwArgs.srcFunc = tmpName; } if(typeof kwArgs["adviceFunc"] == "function"){ kwArgs.adviceObj = kwArgs["adviceObj"]||dj_global; var tmpName  = dojo.lang.nameAnonFunc(kwArgs.adviceFunc, kwArgs.adviceObj, true); kwArgs.adviceFunc = tmpName; } kwArgs.srcObj = kwArgs["srcObj"]||dj_global; kwArgs.adviceObj = kwArgs["adviceObj"]||kwArgs["targetObj"]||dj_global; kwArgs.adviceFunc = kwArgs["adviceFunc"]||kwArgs["targetFunc"];  return dojo.event[fn](kwArgs); }  this.kwConnect = function(/*Object*/ kwArgs){                       return this._kwConnectImpl(kwArgs, 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(kwArgs){    return this._kwConnectImpl(kwArgs, true); } } 
context: 			dojo.lang.forEach(ao.srcObj, function(src){				if((dojo.render.html.capable)&&(dojo.lang.isString(src))){					src = dojo.byId(src);					// dojo.debug(src);				}				tmpAO.srcObj = src;				// dojo.debug(tmpAO.srcObj, tmpAO.srcFunc);				// dojo.debug(tmpAO.adviceObj, tmpAO.adviceFunc);				mjps.push(dojo.event.connect.call(dojo.event, tmpAO));			});
meta: 4707	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4707/50c3492c4c3c825dbd3401e134a19ed46799c456/dojo.js.uncompressed.js/buggy/www/resources/dojo-ajax/dojo.js.uncompressed.js