rem: throw new Error("Invalid signal to disconnect"); } if(src.addEventListener||src.attachEvent||src._signals[sig]){ if(src._listeners&&src._listeners[sig]&&src._signals[sig].length===0){ var _541=src._listeners[sig]; if(src.addEventListener){ src.removeEventListener(sig.substr(2),_541,false); }else{ if(src.attachEvent){ src.detachEvent(sig,_541); }else{ src._signals[sig]=undefined; 
add: var idx=m.findIdentical(_562,_561); if(idx>=0){ self._disconnect(_561); _562.splice(idx,1); return true; 
context: },disconnect:function(src,sig,slot,func){if(typeof (src)=="string"){src=MochiKit.DOM.getElement(src);}if(typeof (sig)!="string"){throw new Error("'signal' must be a string");}slot=MochiKit.Signal._getSlot(slot,func);if(src._signals&&src._signals[sig]){var _539=src._signals[sig];var _540=_539.length;for(var i=0;i<_539.length;i++){var s=_539[i];if(s[0]===slot[0]&&s[1]===slot[1]&&s[2]===slot[2]){_539.splice(i,1);break;}}}else{throw new Error("Invalid signal to disconnect");}if(src.addEventListener||src.attachEvent||src._signals[sig]){if(src._listeners&&src._listeners[sig]&&src._signals[sig].length===0){var _541=src._listeners[sig];if(src.addEventListener){src.removeEventListener(sig.substr(2),_541,false);}else{if(src.attachEvent){src.detachEvent(sig,_541);}else{src._signals[sig]=undefined;}}var _542=MochiKit.Signal._observers;for(var i=0;i<_542.length;i++){var o=_542[i];if(o[0]===src&&o[1]===sig&&o[2]===_541){_542.splice(i,1);break;}}src._listeners[sig]=undefined;}}},signal:function(src,sig){
meta: 8607	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8607/8b42fb2ed090da7f1e336726dcb69d2649658e7c/MochiKit.js/clean/trunk/lib/MochiKit.js