Lines Matching defs:_source

99 styleSheet.insertRule(rule,styleSheet.cssRules.length);}}}},scriptsSelectbox:function(){with(firebug){d.scripts.open(parseInt(el.button.scripts.selectbox.environment.getElement().value));}},xhrTextbox:function(_event){with(firebug){if(_event.keyCode==13){d.xhr.addObject.apply(internal.targetWindow,el.button.xhr.textbox.environment.getElement().value.split(","));}}}}};(function(_scope){_scope.lib={};var pi=_scope.lib;pi.version=[1.1,2008091000];pi.env={ie:/MSIE/i.test(navigator.userAgent),ie6:/MSIE 6/i.test(navigator.userAgent),ie7:/MSIE 7/i.test(navigator.userAgent),ie8:/MSIE 8/i.test(navigator.userAgent),firefox:/Firefox/i.test(navigator.userAgent),opera:/Opera/i.test(navigator.userAgent),webkit:/Webkit/i.test(navigator.userAgent),camino:/Camino/i.test(navigator.userAgent)};pi.get=function(){return document.getElementById(arguments[0]);};pi.get.byTag=function(){return document.getElementsByTagName(arguments[0]);};pi.get.byClass=function(){return document.getElementsByClassName.apply(document,arguments);};pi.util={Array:{clone:function(_array,_undeep){var tmp=[];Array.prototype.push.apply(tmp,_array);pi.util.Array.forEach(tmp,function(_item,_index,_source){if(_item instanceof Array&&!_undeep)
100 _source[_index]=pi.util.Array.clone(_source[_index]);});return tmp;},count:function(_array,_value){var count=0;pi.util.Array.forEach(_array,function(){count+=Number(arguments[0]==_value);});return count;},forEach:function(_array,_function){if(_array.forEach)
116 return tmp;},merge:function(_hash,_source,_undeep){for(var key in _source){var value=_source[key];if(!_undeep&&pi.util.IsArray(_source[key])){if(pi.util.IsArray(_hash[key])){Array.prototype.push.apply(_source[key],_hash[key])}
118 value=pi.util.Array.clone(_source[key]);}
119 else if(!_undeep&&pi.util.IsHash(_source[key])){if(pi.util.IsHash(_hash[key])){value=pi.util.Hash.merge(_hash[key],_source[key]);}else{value=pi.util.Hash.clone(_source[key]);}}else if(_hash[key])