Lines Matching refs:lib

52           window.console[command] = firebug.lib.util.Curry(firebug.d.console.run,window,command);
56 firebug.d.console.run('error',firebug.lib.util.String.format('{0} ({1},{2})',_message,firebug.getFileName(_file),_line));
93 env.popupWidth = window.opener.firebug.env.popupWidth || window.opener.firebug.lib.util.GetViewport().width;
94 env.popupHeight = window.opener.firebug.env.popupHeight || window.opener.firebug.lib.util.GetViewport().height;
97 env.popupWidth = env.popupWidth || lib.util.GetViewport().width;
98 env.popupHeight = env.popupHeight || lib.util.GetViewport().height;
116 new lib.element("link").attribute.set("rel","stylesheet").attribute.set("type","text/css").attribute.set("href",env.css).element
127 el.firebugIcon = new lib.element("div").attribute.set('firebugIgnore',true).attribute.set("id","firebugIconDiv").attribute.set("title",iconTitle).attribute.set("alt",iconTitle).event.addListener("mousedown",win.iconClicked).insert(document.body);
133 el.mainiframe = new lib.element("IFRAME").attribute.set("id","FirebugIFrame").attribute.set('firebugIgnore',true).environment.addStyle({ "display":"none", "width":lib.util.GetViewport().width+"px" }).insert(document.body);
134 el.main = new lib.element("DIV").attribute.set("id","Firebug").attribute.set('firebugIgnore',true).environment.addStyle({ "display":"none", "width":lib.util.GetViewport().width+"px" }).insert(document.body);
136 el.resizer = new lib.element("DIV").attribute.addClass("Resizer").event.addListener("mousedown",win.resizer.start).insert(el.main);
138 el.header = new lib.element("DIV").attribute.addClass("Header").insert(el.main);
140 el.left.container = new lib.element("DIV").attribute.addClass("Left").insert(el.main);
142 el.right.container = new lib.element("DIV").attribute.addClass("Right").insert(el.main);
143 el.main.child.add(new lib.element("DIV").attribute.addClass('Clear'));
149 el.button.container = new lib.element("DIV").attribute.addClass("ButtonContainer").insert(el.header);
150 el.button.logo = new lib.element("A").attribute.set("title","Firebug Lite").attribute.set("target","_blank").attribute.set("href","http://getfirebug.com/lite.html").update(" ").attribute.addClass("Button Logo").insert(el.button.container);
151 el.button.inspect = new lib.element("A").attribute.addClass("Button").event.addListener("click",internal.targetWindow.firebug.d.inspector.toggle).update("Inspect").insert(el.button.container);
152 el.button.dock = new lib.element("A").attribute.addClass("Button Dock").event.addListener("click", win.dock).insert(el.button.container);
153 el.button.newWindow = new lib.element("A").attribute.addClass("Button NewWindow").event.addListener("click", win.newWindow).insert(el.button.container);
156 el.button.maximize = new lib.element("A").attribute.addClass("Button Maximize").event.addListener("click",win.maximize).insert(el.button.container);
157 el.button.minimize = new lib.element("A").attribute.addClass("Button Minimize").event.addListener("click",win.minimize).insert(el.button.container);
158 el.button.close = new lib.element("A").attribute.addClass("Button Close").event.addListener("click",win.hide).insert(el.button.container);
161 if(lib.env.ie||lib.env.webkit){
169 el.nav.container = new lib.element("DIV").attribute.addClass("Nav").insert(el.left.container);
170 el.nav.console = new lib.element("A").attribute.addClass("Tab Selected").event.addListener("click",lib.util.Curry(d.navigate,window,"console")).update("Console").insert(el.nav.container);
171 el.nav.html = new lib.element("A").attribute.addClass("Tab").update("HTML").event.addListener("click",lib.util.Curry(d.navigate,window,"html")).insert(el.nav.container);
172 el.nav.css = new lib.element("A").attribute.addClass("Tab").update("CSS").event.addListener("click",lib.util.Curry(d.navigate,window,"css")).insert(el.nav.container);
174 el.nav.scripts = new lib.element("A").attribute.addClass("Tab").update("Script").event.addListener("click",lib.util.Curry(d.navigate,window,"scripts")).insert(el.nav.container);
176 el.nav.dom = new lib.element("A").attribute.addClass("Tab").update("DOM").event.addListener("click",lib.util.Curry(d.navigate,internal.targetWindow,"dom")).insert(el.nav.container);
177 el.nav.xhr = new lib.element("A").attribute.addClass("Tab").update("XHR").event.addListener("click",lib.util.Curry(d.navigate,window,"xhr")).insert(el.nav.container);
178 el.nav.optionsdiv = new lib.element("DIV").attribute.addClass("Settings").insert(el.nav.container);
179 el.nav.options = new lib.element("A").attribute.addClass("Tab Button Options").update("Options    ").event.addListener("click", settings.toggle).insert(el.nav.optionsdiv);
184 el.borderInspector = new lib.element("DIV").attribute.set("id","FirebugBorderInspector").attribute.set('firebugIgnore',true).event.addListener("click",listen.inspector).insert(document.body);
185 el.bgInspector = new lib.element("DIV").attribute.set("id","FirebugBGInspector").attribute.set('firebugIgnore',true).insert(document.body);
191 el.left.console.container = new lib.element("DIV").attribute.addClass("Console").insert(el.left.container);
192 el.left.console.mlButton = new lib.element("A").attribute.addClass("MLButton").event.addListener("click",d.console.toggleML).insert(el.left.console.container);
193 el.left.console.monitor = new lib.element("DIV").insert(
194 new lib.element("DIV").attribute.addClass("Monitor").insert(el.left.console.container)
197 new lib.element("DIV").attribute.addClass("InputArrow").update(">>>")
199 el.left.console.input = new lib.element("INPUT").attribute.set("type","text").attribute.addClass("Input").event.addListener("keydown",listen.consoleTextbox).insert(
200 new lib.element("DIV").attribute.addClass("InputContainer").insert(el.left.console.container)
204 el.right.console.container = new lib.element("DIV").attribute.addClass("Console Container").insert(el.right.container);
205 el.right.console.mlButton = new lib.element("A").attribute.addClass("MLButton CloseML").event.addListener("click",d.console.toggleML).insert(el.right.console.container);
206 el.right.console.input = new lib.element("TEXTAREA").attribute.addClass("Input").insert(el.right.console.container);
207 el.right.console.input.event.addListener("keydown",lib.util.Curry(tab,window,el.right.console.input.element));
208 el.right.console.run = new lib.element("A").attribute.addClass("Button").event.addListener("click",listen.runMultiline).update("Run").insert(el.right.console.container);
209 el.right.console.clear = new lib.element("A").attribute.addClass("Button").event.addListener("click",lib.util.Curry(d.clean,window,el.right.console.input)).update("Clear").insert(el.right.console.container);
212 el.button.console.container = new lib.element("DIV").attribute.addClass("ButtonSet").insert(el.button.container);
213 el.button.console.clear = new lib.element("A").attribute.addClass("Button").event.addListener("click",d.console.clear).update("Clear").insert(el.button.console.container);
220 el.left.html.container = new lib.element("DIV").attribute.addClass("HTML").insert(el.left.container);
223 el.right.html.container = new lib.element("DIV").attribute.addClass("HTML Container").insert(el.right.container);
226 el.right.html.nav.container = new lib.element("DIV").attribute.addClass("Nav").insert(el.right.html.container);
227 el.right.html.nav.computedStyle = new lib.element("A").attribute.addClass("Tab Selected").event.addListener("click",lib.util.Curry(d.html.navigate,firebug,"computedStyle")).update("Computed Style").insert(el.right.html.nav.container);
228 el.right.html.nav.dom = new lib.element("A").attribute.addClass("Tab").event.addListener("click",lib.util.Curry(d.html.navigate,firebug,"dom")).update("DOM").insert(el.right.html.nav.container);
230 el.right.html.content = new lib.element("DIV").attribute.addClass("Content").insert(el.right.html.container);
233 el.button.html.container = new lib.element("DIV").attribute.addClass("ButtonSet HTML").insert(el.button.container);
240 el.left.css.container = new lib.element("DIV").attribute.addClass("CSS").insert(el.left.container);
243 el.right.css.container = new lib.element("DIV").attribute.addClass("CSS Container").insert(el.right.container);
246 el.right.css.nav.container = new lib.element("DIV").attribute.addClass("Nav").insert(el.right.css.container);
247 el.right.css.nav.runCSS = new lib.element("A").attribute.addClass("Tab Selected").update("Run CSS").insert(el.right.css.nav.container);
249 el.right.css.mlButton = new lib.element("A").attribute.addClass("MLButton CloseML").event.addListener("click",d.console.toggleML).insert(el.right.css.container);
250 el.right.css.input = new lib.element("TEXTAREA").attribute.addClass("Input").insert(el.right.css.container);
251 el.right.css.input.event.addListener("keydown",lib.util.Curry(firebug.tab,window,el.right.css.input.element));
252 el.right.css.run = new lib.element("A").attribute.addClass("Button").event.addListener("click",listen.runCSS).update("Run").insert(el.right.css.container);
253 el.right.css.clear = new lib.element("A").attribute.addClass("Button").event.addListener("click",lib.util.Curry(d.clean,window,el.right.css.input)).update("Clear").insert(el.right.css.container);
256 el.button.css.container = new lib.element("DIV").attribute.addClass("ButtonSet CSS").insert(el.button.container);
257 el.button.css.selectbox = new lib.element("SELECT").event.addListener("change",listen.cssSelectbox).insert(el.button.css.container);
264 el.left.scripts.container = new lib.element("DIV").attribute.addClass("Scripts").insert(el.left.container);
267 el.right.scripts.container = new lib.element("DIV").attribute.addClass("Scripts Container").insert(el.right.container);
270 el.button.scripts.container = new lib.element("DIV").attribute.addClass("ButtonSet Scripts").insert(el.button.container);
271 el.button.scripts.selectbox = new lib.element("SELECT").event.addListener("change",listen.scriptsSelectbox).insert(el.button.scripts.container);
272 el.button.scripts.lineNumbers = new lib.element("A").attribute.addClass("Button").event.addListener("click",d.scripts.toggleLineNumbers).update("Show Line Numbers").insert(el.button.scripts.container);
279 el.left.dom.container = new lib.element("DIV").attribute.addClass("DOM").insert(el.left.container);
282 el.right.dom.container = new lib.element("DIV").attribute.addClass("DOM Container").insert(el.right.container);
285 el.button.dom.container = new lib.element("DIV").attribute.addClass("ButtonSet DOM").insert(el.button.container);
286 el.button.dom.label = new lib.element("LABEL").update("Object Path:").insert(el.button.dom.container);
287 el.button.dom.textbox = new lib.element("INPUT").event.addListener("keydown",listen.domTextbox).update(internal.isPopup?"window.opener":"window").insert(el.button.dom.container);
293 el.left.str.container = new lib.element("DIV").attribute.addClass("STR").insert(el.left.container);
296 el.right.str.container = new lib.element("DIV").attribute.addClass("STR").insert(el.left.container);
299 el.button.str.container = new lib.element("DIV").attribute.addClass("ButtonSet XHR").insert(el.button.container);
300 el.button.str.watch = new lib.element("A").attribute.addClass("Button").event.addListener("click",lib.util.Curry(d.navigate,window,"xhr")).update("Back").insert(el.button.str.container);
306 el.left.xhr.container = new lib.element("DIV").attribute.addClass("XHR").insert(el.left.container);
309 el.right.xhr.container = new lib.element("DIV").attribute.addClass("XHR").insert(el.left.container);
313 el.button.xhr.container = new lib.element("DIV").attribute.addClass("ButtonSet XHR").insert(el.button.container);
314 el.button.xhr.label = new lib.element("LABEL").update("XHR Path:").insert(el.button.xhr.container);
315 el.button.xhr.textbox = new lib.element("INPUT").event.addListener("keydown",listen.xhrTextbox).insert(el.button.xhr.container);
316 el.button.xhr.watch = new lib.element("A").attribute.addClass("Button").event.addListener("click",listen.addXhrObject).update("Watch").insert(el.button.xhr.container);
322 el.settings.container = new lib.element("DIV").child.add(
323 new lib.element("DIV").attribute.addClass("Header").child.add(
324 new lib.element().attribute.addClass("Title").update('Firebug Lite Settings')
327 el.settings.content = new lib.element("DIV").attribute.addClass("Content").insert(el.settings.container);
328 el.settings.progressDiv = new lib.element("DIV").attribute.addClass("ProgressDiv").insert(el.settings.content);
329 el.settings.progress = new lib.element("DIV").attribute.addClass("Progress").insert(el.settings.progressDiv);
330 el.settings.cbxDebug = new lib.element("INPUT").attribute.set("type","checkbox").attribute.addClass("SettingsCBX").insert(el.settings.content);
332 new lib.element("BR").insert(el.settings.content);
333 el.settings.cbxDetectFirebug = new lib.element("INPUT").attribute.set("type","checkbox").attribute.addClass("SettingsCBX").insert(el.settings.content);
335 new lib.element("BR").insert(el.settings.content);
336 el.settings.cbxHideDOMFunctions = new lib.element("INPUT").attribute.set("type","checkbox").attribute.addClass("SettingsCBX").insert(el.settings.content);
338 new lib.element("BR").insert(el.settings.content);
339 el.settings.cbxOverride = new lib.element("INPUT").attribute.set("type","checkbox").attribute.addClass("SettingsCBX").insert(el.settings.content);
341 new lib.element("BR").insert(el.settings.content);
342 el.settings.cbxShowIcon = new lib.element("INPUT").attribute.set("type","checkbox").attribute.addClass("SettingsCBX").insert(el.settings.content);
344 new lib.element("BR").insert(el.settings.content);
345 el.settings.cbxOpenInPopup = new lib.element("INPUT").attribute.set("type","checkbox").attribute.addClass("SettingsCBX").insert(el.settings.content);
347 new lib.element("BR").insert(el.settings.content);
349 el.settings.textNodeChars = new lib.element("INPUT").attribute.set("type","text").attribute.addClass("SettingsTextbox").insert(el.settings.content);
351 el.settings.buttonDiv = new lib.element("DIV").insert(el.settings.content);
352 el.settings.buttonLeftDiv = new lib.element("DIV").attribute.addClass("ButtonsLeft").insert(el.settings.buttonDiv);
353 el.settings.resetButton = new lib.element("INPUT").attribute.set("type","button").update("Reset").event.addListener("click",settings.reset).insert(el.settings.buttonLeftDiv);
354 el.settings.buttonRightDiv = new lib.element("DIV").attribute.addClass("ButtonsRight").insert(el.settings.buttonDiv);
355 el.settings.cancelButton = new lib.element("INPUT").attribute.set("type","button").update("Cancel").event.addListener("click",settings.hide).insert(el.settings.buttonRightDiv);
357 el.settings.saveButton = new lib.element("INPUT").attribute.set("type","button").update("Save").event.addListener("click",settings.saveClicked).insert(el.settings.buttonRightDiv);
359 lib.util.AddEvent(document,"mousemove",listen.mouse)("mousemove",win.resizer.resize)("mouseup",win.resizer.stop)("keydown",listen.keyboard);
368 if(lib.env.ie6){
369 window.onscroll = lib.util.Curry(win.setVerticalPosition,window,null);
391 lib.util.AddEvent(window, "unload", win.unload);
394 env.height=lib.util.GetViewport().height;
395 lib.util.AddEvent(window, "resize", win.fitToPopup);
398 lib.util.AddEvent(window, "resize", win.refreshSize);
426 var posXY=lib.util.Element.getPosition(firebug.el.nav.options.element);
478 window.opener.firebug.env = firebug.lib.util.Hash.clone(fe);
703 script[firebug.lib.env.ie?"onreadystatechange":"onload"] = function(){
704 if(!done && (!firebug.lib.env.ie || this.readyState == "complete" || this.readyState=="loaded")){
718 if (!done && firebug.lib.env.webkit) {
734 if(!firebug.lib.env.ie) {
775 var viewport = lib.util.GetViewport(window);
791 if(lib.env.ie6){
803 if(lib.env.ie6){
869 var dim = lib.util.GetViewport();
872 if(lib.env.ie6)
878 var dim = _dim||lib.util.GetViewport();
893 return new lib.element("DIV").attribute.addClass("Row").insert(el.left.console.monitor);
915 d.dom.open(d.console.cache[_index], el.left.dom.container, lib.env.ie);
1021 var stackAmt = 3, f = arguments.caller, isArray = lib.util.IsArray(f); //function that called trace
1096 var rules = item[lib.env.ie ? "rules" : "cssRules"], str = "";
1100 var cssText = lib.env.ie?item.style.cssText:item.cssText.match(/\{(.*)\}/)[1];
1128 new lib.element("OPTION").attribute.set("value",i).update(uri)
1139 var container = new lib.element("DIV").attribute.addClass("DOMContent").insert(_layer);
1149 parentElement.environment.getParent().lib.child.get()[0].lib.child.get()[0].lib.attribute.removeClass("Opened");
1155 parentElement.environment.getParent().lib.child.get()[0].lib.child.get()[0].lib.attribute.addClass("Opened");
1161 var value = obj[key], property = key, container = new lib.element("DIV").attribute.addClass("DOMRow").insert(parentElement),
1162 left = new lib.element("DIV").attribute.addClass("DOMRowLeft").insert(container), right = new lib.element("DIV").attribute.addClass("DOMRowRight").insert(container);
1165 new lib.element("DIV").attribute.addClass('Clear')
1168 var link = new lib.element("A").attribute.addClass(
1174 var subContainer = new lib.element("DIV").attribute.addClass("DOMRowSubContainer").insert(container);
1179 link.event.addListener("click",lib.util.Curry(d.dom.print,window,value, subContainer, true));
1204 isArray = lib.util.IsArray(_value);
1205 isHash = lib.util.IsHash(_value);
1243 var elClass = _value.getAttribute(lib.env.ie&&!lib.env.ie8?"className":"class")||"";
1254 if(!lib.env.ie||item.nodeValue)
1345 parentLayer = el.left.html.container.child.get()[t].childNodes[1].lib;
1351 parentLayer = el.left.html.container.child.get()[3].childNodes[1].lib;
1356 link = parentLayer.environment.getElement().previousSibling.lib;
1396 nodeLink = parent.environment.getParent().lib.child.get()[0].lib;
1411 parent.element.previousSibling.lib.attribute.removeClass("Open");
1412 parent.element.lib.attribute.removeClass("OpenSubContainer");
1417 parent.element.previousSibling.lib.attribute.addClass("Open");
1418 parent.element.lib.attribute.addClass("OpenSubContainer");
1423 new lib.element("A").attribute.addClass("Block").update("<span class='DarkBlue'>&#60;<span class='Blue'>html</span>&#62;").insert(parent);
1428 new lib.element("A").attribute.addClass("Block").update("<span class='DarkBlue'>&#60;/<span class='Blue'>"+element.nodeName.toLowerCase()+"</span>&#62;").insert(container);
1434 var container = new lib.element().attribute.addClass("Block").insert(parent),
1435 link = new lib.element("A").attribute.addClass("Link").insert(container),
1436 spacer = new lib.element("SPAN").attribute.addClass("Spacer").update("&nbsp;").insert(link),
1437 html = new lib.element("SPAN").attribute.addClass("Content").update(d.highlight(item)).insert(link),
1438 subContainer = new lib.element("DIV").attribute.addClass("SubContainer").insert(container),
1441 view = lib.util.Element.getView(item);
1442 link.event.addListener("click", lib.util.Curry(d.html.openHtmlTree, window, item, subContainer, false));
1443 link.event.addListener("mouseover", lib.util.Curry(d.html.highlight, window, item, false));
1444 link.event.addListener("mouseout", lib.util.Curry(d.html.highlight, window, item, true));
1468 html.child.add(new lib.element("span").attribute.addClass("Blue").update(item.nodeName.toLowerCase()).environment.getElement());
1499 d.dom.open(node,el.right.html.content,lib.env.ie);
1510 var pos = internal.targetWindow.firebug.lib.util.Element.getPosition(_element);
1532 } else if(lib.env.dIndex!="html") {
1552 source = internal.cache[uri]||lib.xhr.get(uri).responseText;
1571 new lib.element("DIV").attribute.addClass("CodeContainer").update("<em>Access to restricted URI denied</em>")
1592 new lib.element("OPTION").attribute.set("value",i).update(fileName)
1625 el.left.xhr.name = new lib.element("DIV").attribute.addClass("BlockContent").insert(new lib.element("DIV").attribute.addClass("Block").environment.addStyle({ "width":"20%" }).insert(el.left.xhr.container));
1626 el.left.xhr.nameTitle = new lib.element("STRONG").update("Object Name:").insert(el.left.xhr.name);
1627 el.left.xhr.nameContent = new lib.element("DIV").insert(el.left.xhr.name);
1628 el.left.xhr.status = new lib.element("DIV").attribute.addClass("BlockContent").insert(new lib.element("DIV").attribute.addClass("Block").environment.addStyle({ "width":"10%" }).insert(el.left.xhr.container));
1629 el.left.xhr.statusTitle = new lib.element("STRONG").update("Status:").insert(el.left.xhr.status);
1630 el.left.xhr.statusContent = new lib.element("DIV").insert(el.left.xhr.status);
1631 el.left.xhr.readystate = new lib.element("DIV").attribute.addClass("BlockContent").insert(new lib.element("DIV").environment.addStyle({ "width":"15%" }).attribute.addClass("Block").insert(el.left.xhr.container));
1632 el.left.xhr.readystateTitle =el.left.xhr.nameTitle = new lib.element("STRONG").update("Ready State:").insert(el.left.xhr.readystate);
1633 el.left.xhr.readystateContent = new lib.element("DIV").insert(el.left.xhr.readystate);
1634 el.left.xhr.response = new lib.element("DIV").attribute.addClass("BlockContent").insert(new lib.element("DIV").environment.addStyle({ "width":(lib.env.ie?"50":"55")+"%" }).attribute.addClass("Block").insert(el.left.xhr.container));
1635 el.left.xhr.responseTitle = new lib.element("STRONG").update("Response:").insert(el.left.xhr.response);
1636 el.left.xhr.responseContent = new lib.element("DIV").insert(el.left.xhr.response);
1650 el.left.xhr.nameContent.child.add(new lib.element("span").update(item[0]));
1652 el.left.xhr.statusContent.child.add(new lib.element("span").update(item[1].status));
1653 } catch(e){ el.left.xhr.statusContent.child.add(new lib.element("span").update("&nbsp;")); }
1654 el.left.xhr.readystateContent.child.add(new lib.element("span").update(item[1].readyState));
1656 el.left.xhr.responseContent.child.add(new lib.element("span").child.add(
1657 new lib.element("A").event.addListener("click",lib.util.Curry(d.str.open,window,response)).update("&nbsp;"+response.substring(0,50))
1737 if(lib.env.ie){
1763 if(lib.env.ie)
1857 if(lib.env.ie) {
1886 var item = source[i]+"}", rule = !lib.env.ie?item:item.split(/{|}/),
1889 if(lib.env.ie)
1913 _scope.lib = {};
1914 var pi = _scope.lib; pi.version = [1.1,2008091000];
2420 this._parent_.element.lib = this._parent_;
2586 lib.util.Init.push(firebug.init);