Lines Matching defs:override

12 var firebug={version:[1.231,20100118],el:{},env:{"css":"http://getfirebug.com/releases/lite/1.2/firebug-lite.css","debug":true,"detectFirebug":true,"dIndex":"console","height":295,"hideDOMFunctions":false,"openInPopup":false,"override":false,"ml":false,"showIconWhenHidden":true,"popupTop":1,"popupLeft":1,"popupWidth":undefined,"popupHeight":undefined,"textNodeChars":0},internal:{"cache":{},"extConsole":null,"init":false,"isPopup":false,"liteFilename":null,"minimized":false,"popupWin":null,"targetWindow":undefined},initConsole:function(){var command;try{if((!window.console||(window.console&&!window.console.firebug))||(firebug.env.override&&!(/Firefox\/3/i.test(navigator.userAgent)))){window.console={"provider":"Firebug Lite"};for(command in firebug.d.console.cmd){window.console[command]=firebug.lib.util.Curry(firebug.d.console.run,window,command);};}
13 window.onerror=function(_message,_file,_line){firebug.d.console.run('error',firebug.lib.util.String.format('{0} ({1},{2})',_message,firebug.getFileName(_file),_line));};}catch(e){}},overrideConsole:function(){with(firebug){env.override=true;try{internal.extConsole=window.console;}catch(e){}
14 initConsole();}},restoreConsole:function(){with(firebug){if(internal.extConsole){env.override=false;try{window.console=internal.extConsole;}catch(e){}
20 if(env.override){overrideConsole();}
29 win.setHeight(env.height);if(env.openInPopup&&!internal.isPopup){win.newWindow();}else{el.main.environment.addStyle({"display":env.debug&&'block'||'none'});el.mainiframe.environment.addStyle({"display":env.debug&&'block'||'none'});}}},inspect:function(){return firebug.d.html.inspect.apply(window,arguments);},watchXHR:function(){with(firebug){d.xhr.addObject.apply(window,arguments);if(env.dIndex!="xhr"){d.navigate("xhr");}}},settings:{isVisible:false,show:function(){with(firebug){var posXY=lib.util.Element.getPosition(firebug.el.nav.options.element);settings.refreshForm();el.settings.container.environment.addStyle({"display":"block","left":(posXY.offsetLeft-107)+"px"});el.settings.progressDiv.environment.addStyle({"display":"none"});firebug.settings.isVisible=true;}},hide:function(){with(firebug){firebug.el.settings.container.environment.addStyle({"display":"none"});firebug.settings.isVisible=false;}},toggle:function(){with(firebug){settings[!settings.isVisible&&'show'||'hide']();}},saveClicked:function(){firebug.el.settings.progressDiv.environment.addStyle({"display":"block"});setTimeout(firebug.settings.formToSettings,0);},formToSettings:function(){var fe=firebug.env,ofe,elSet=firebug.el.settings,exdate;fe.debug=elSet.cbxDebug.element.checked;fe.detectFirebug=elSet.cbxDetectFirebug.element.checked;fe.hideDOMFunctions=elSet.cbxHideDOMFunctions.element.checked;fe.override=elSet.cbxOverride.element.checked;fe.showIconWhenHidden=elSet.cbxShowIcon.element.checked;fe.openInPopup=elSet.cbxOpenInPopup.element.checked;if(isFinite(elSet.textNodeChars.element.value)&&elSet.textNodeChars.element.value>0){fe.textNodeChars=elSet.textNodeChars.element.value;}else{fe.textNodeChars=0;}
32 if(valueArr){for(i=0;i<valueArr.length;i++){item=valueArr[i].split(':')[0];value=valueArr[i].split(':')[1];switch(item){case'debug':debug=value=="true";break;case'detectFirebug':detectFirebug=value=="true";break;case'hideDOMFunctions':hideDOMFunctions=value=="true";break;case'override':override=value=="true";break;case'showIconWhenHidden':showIconWhenHidden=value=="true";break;case'openInPopup':openInPopup=value=="true";break;case'textNodeChars':textNodeChars=isFinite(value)?parseInt(value,10):0;break;case'popupTop':popupTop=parseInt(value,10);break;case'popupLeft':popupLeft=parseInt(value,10);break;case'popupWidth':popupWidth=parseInt(value,10);break;case'popupHeight':popupHeight=parseInt(value,10);break;case'height':height=parseInt(value,10);break;}}}}}},writeCookie:function(){var values;with(firebug.env){values='debug:'+debug+',';values+='detectFirebug:'+detectFirebug+',';values+='hideDOMFunctions:'+hideDOMFunctions+',';values+='override:'+override+',';values+='showIconWhenHidden:'+showIconWhenHidden+',';values+='openInPopup:'+openInPopup+',';values+='textNodeChars:'+textNodeChars+',';if(firebug.internal.isPopup){if(window.outerWidth===undefined){values+='popupTop:'+(window.screenTop-56)+',';values+='popupLeft:'+(window.screenLeft-8)+',';values+='popupWidth:'+document.body.clientWidth+',';values+='popupHeight:'+document.body.clientHeight+',';}else{values+='popupTop:'+window.screenY+',';values+='popupLeft:'+window.screenX+',';values+='popupWidth:'+window.outerWidth+',';values+='popupHeight:'+window.outerHeight+',';}}else{values+='popupTop:'+popupTop+',';values+='popupLeft:'+popupLeft+',';values+='popupWidth:'+popupWidth+',';values+='popupHeight:'+popupHeight+',';}
33 values+='height:'+(parseInt(firebug.internal.targetWindow.firebug.el.main.element.style.height.replace(/px/,''),10)-38);exdate=new Date();exdate.setDate(exdate.getDate()+365);firebug.internal.targetWindow.document.cookie='FBLiteSettings='+values+';expires='+exdate.toGMTString();}},refreshForm:function(){var fe=firebug.env,elSet=firebug.el.settings;elSet.cbxDebug.element.checked=fe.debug;elSet.cbxDetectFirebug.element.checked=fe.detectFirebug;elSet.cbxHideDOMFunctions.element.checked=fe.hideDOMFunctions;elSet.cbxOverride.element.checked=fe.override;elSet.cbxShowIcon.element.checked=fe.showIconWhenHidden;elSet.cbxOpenInPopup.element.checked=fe.openInPopup;elSet.textNodeChars.element.value=fe.textNodeChars;}},win:{hide:function(){with(firebug){el.main.environment.addStyle({"display":"none"});el.mainiframe.environment.addStyle({"display":"none"});if(env.showIconWhenHidden){el.firebugIcon.environment.addStyle({"display":"block"});}}},show:function(){with(firebug){el.main.environment.addStyle({"display":"block"});el.mainiframe.environment.addStyle({"display":"block"});if(env.showIconWhenHidden){el.firebugIcon.environment.addStyle({"display":"none"});}}},iconClicked:function(_event){with(firebug){if(_event.ctrlKey==true||_event.metaKey==true){el.firebugIcon.environment.addStyle({"display":"none"});env.showIconWhenHidden=false;}else{win.show();}}},minimize:function(){with(firebug){internal.minimized=true;el.main.environment.addStyle({"height":"35px"});el.mainiframe.environment.addStyle({"height":"35px"});el.button.maximize.environment.addStyle({"display":"block"});el.button.minimize.environment.addStyle({"display":"none"});win.refreshSize();}},maximize:function(){with(firebug){internal.minimized=false;el.button.minimize.environment.addStyle({"display":"block"});el.button.maximize.environment.addStyle({"display":"none"});win.setHeight(env.height);}},newWindow:function(){var interval,scripts,script,scriptPath,fe=firebug.env,fi=firebug.internal;if(!fi.popupWin){scripts=document.getElementsByTagName('script');fi.popupWin=window.open("","_firebug","status=0,menubar=0,resizable=1,top="+fe.popupTop+",left="+fe.popupLeft+",width="+fe.popupWidth+",height="+fe.popupHeight+",scrollbars=0,addressbar=0,outerWidth="+fe.popupWidth+",outerHeight="+fe.popupHeight+"toolbar=0,location=0,directories=0,dialog=0");if(!fi.popupWin){alert("Firebug Lite could not open a pop-up window, most likely because of a popup blocker.\nPlease enable popups for this domain");}else{firebug.settings.hide();for(i=0,len=scripts.length;i<len;i++){if(scripts[i].src.indexOf(fi.liteFilename)>-1){scriptPath=scripts[i].src;break;}}