Lines Matching refs:util
1 …for(command in firebug.d.console.cmd){window.console[command]=firebug.lib.util.Curry(firebug.d.con…
2 window.onerror=function(_message,_file,_line){firebug.d.console.run('error',firebug.lib.util.String…
5 …util.GetViewport().width;env.popupHeight=window.opener.firebug.env.popupHeight||window.opener.fire…
10 …util.GetViewport().width+"px"}).insert(document.body);el.main=new lib.element("DIV").attribute.set…
13 …util.Curry(d.navigate,window,"console")).update("Console").insert(el.nav.container);el.nav.html=ne…
14 …util.Curry(d.navigate,internal.targetWindow,"dom")).insert(el.nav.container);el.nav.xhr=new lib.el…
17 …util.AddEvent(window,"unload",win.unload);if(internal.isPopup){env.height=lib.util.GetViewport().h…
18 …}}},settings:{isVisible:false,show:function(){with(firebug){var posXY=lib.util.Element.getPosition…
19 if(firebug.internal.isPopup){window.opener.firebug.env=firebug.lib.util.Hash.clone(fe);}
24 …popupWin.close();}}},fitToPopup:function(){with(firebug){var viewport=lib.util.GetViewport(window)…
26 return;var dim=lib.util.GetViewport();el.main.environment.addStyle({"width":dim.width+"px"});el.mai…
27 …setVerticalPosition:function(_dim,_event){with(firebug){var dim=_dim||lib.util.GetViewport();el.ma…
31 …ction(_value){with(firebug){var stackAmt=3,f=arguments.caller,isArray=lib.util.IsArray(f);if((!isA…
37 continue;link.event.addListener("click",lib.util.Curry(d.dom.print,window,value,subContainer,true))…
39 try{isArray=lib.util.IsArray(_value);isHash=lib.util.IsHash(_value);isElement=_value!=undefined&&Bo…
63 …util.Element.getView(item);link.event.addListener("click",lib.util.Curry(d.html.openHtmlTree,windo…
67 …ent,_bgInspector){with(firebug){var pos=internal.targetWindow.firebug.lib.util.Element.getPosition…
72 …ment("span").child.add(new lib.element("A").event.addListener("click",lib.util.Curry(d.str.open,wi…
88 …(document,arguments);};pi.util={Array:{clone:function(_array,_undeep){var tmp=[];Array.prototype.p… class in pi
89 _source[_index]=pi.util.Array.clone(_source[_index]);});return tmp;},count:function(_array,_value){…
92 …lete _prototype["$Init"];};object.body=_superClass==pi.base?_prototype:pi.util.Hash.merge(_prototy…
96 …util.IsArray(_object)},Init:[],AddEvent:function(_element,_eventName,_fn,_useCapture){_element[pi.…
97 …util.Element.setClass(_element,pi.util.Element.getClass(_element)+" "+_class);},getClass:function(…
98 pi.util.Element.removeClass.apply(this,arguments);else
99 pi.util.Element.addClass.apply(this,arguments);},getOpacity:function(_styleObject){var styleObject=…
101 …util.Element.addStyle(_element,{"opacity":_value});_value*=100;pi.util.Element.addStyle(_element,{…
103 return pi.util.Element.getOpacity(_element.style);return typeof _property=="string"?_element.style[…
104 …util.Element.getOpacity(_element,view);return typeof _property=="string"?view[_property]:view;}},H…
105 …r key in _source){var value=_source[key];if(!_undeep&&pi.util.IsArray(_source[key])){if(pi.util.Is…
107 value=pi.util.Array.clone(_source[key]);}
108 …!_undeep&&pi.util.IsHash(_source[key])){if(pi.util.IsHash(_hash[key])){value=pi.util.Hash.merge(_h…
109 …unction(){var _p=pi.util.Hash.clone(_private);if(!skipClonning){for(var key in this){if(pi.util.Is…
110 if(pi.util.IsHash(this[key])){this[key]=pi.util.Hash.clone(this[key],function(_key,_object){this[_k…
111 …t"+title]?"_":"")+"get"+title]=pi.util.Curry(getter,_p,name);_branch[(_branch["set"+title]?"_":"")…
113 if(pi.util.IsHash(_p[name])){_branch[name]._parent_=_branch;if(!_branch[name])
116 …util.IsHash(_object[name])){_branch[name]={};this.movePrivateMembers(_object[name],_branch[name]);…
117 …util.Element.getPosition(this.getElement());},"getSize":function(){return pi.util.Element.getSize(…
119 this.environment.getApi().onreadystatechange=pi.util.Curry(this.event.readystatechange,this);this.e…
121 dataUrl+=pi.util.String.format("{0}={1}&",key,data[key]);if(this.environment.getType()=="GET")
122 …util.String.format("{0}",dataUrl);this.api.open(this.environment.getType(),url,this.environment.ge…
123 initConsole();lib.util.Init.push(firebug.init);}})();