rem stringlengths 0 126k | add stringlengths 0 441k | context stringlengths 15 136k |
|---|---|---|
files[currentFile].breakpoints[lineNum] = null; files[currentFile].disabledBreakpoints[lineNum] = null; | file.breakpoints[lineNum] = null; file.disabledBreakpoints[lineNum] = null; | function breakpointDrag(event){ var sourcesDocument = document.getElementById("sources").contentDocument; if (!draggingBreakpoint) { sourcesDocument.removeEventListener("mousemove", breakpointDrag, true); sourcesDocument.removeEventListener("mouseup", breakpointDragEnd, true); sourcesDocument... |
draggingBreakpoint.isDisabled = hasStyleClass(draggingBreakpoint.parentNode, "disabled"); removeStyleClass(draggingBreakpoint.parentNode, "breakpoint"); removeStyleClass(draggingBreakpoint.parentNode, "disabled"); | var node = draggingBreakpoint.parentNode; draggingBreakpoint.isDisabled = node.hasStyleClass("disabled"); node.removeStyleClass("breakpoint"); node.removeStyleClass("disabled"); | function breakpointDrag(event){ var sourcesDocument = document.getElementById("sources").contentDocument; if (!draggingBreakpoint) { sourcesDocument.removeEventListener("mousemove", breakpointDrag, true); sourcesDocument.removeEventListener("mouseup", breakpointDragEnd, true); sourcesDocument... |
var lineNum = parseInt(draggingBreakpoint.title); if(draggingBreakpoint.isDisabled) draggingBreakpoint.breakFunction = files[currentFile].disabledBreakpoints[lineNum]; else draggingBreakpoint.breakFunction = files[currentFile].breakpoints[lineNum]; files[currentFile].breakpoints[lineNum] = null; files[currentFile].dis... | function breakpointDrag(event){ var sourcesDocument = document.getElementById("sources").contentDocument; if (!draggingBreakpoint) { sourcesDocument.removeEventListener("mousemove", breakpointDrag, true); sourcesDocument.removeEventListener("mouseup", breakpointDragEnd, true); sourcesDocument... | |
sourcesDocument.body.style.cursor = null; | sourcesDocument.body.style.removeProperty("cursor"); | function breakpointDrag(event){ var sourcesDocument = document.getElementById("sources").contentDocument; if (!draggingBreakpoint) { sourcesDocument.removeEventListener("mousemove", breakpointDrag, true); sourcesDocument.removeEventListener("mouseup", breakpointDragEnd, true); sourcesDocument... |
dragImage.style.visibility = null; | dragImage.style.removeProperty("visibility"); | function breakpointDrag(event){ var sourcesDocument = document.getElementById("sources").contentDocument; if (!draggingBreakpoint) { sourcesDocument.removeEventListener("mousemove", breakpointDrag, true); sourcesDocument.removeEventListener("mouseup", breakpointDragEnd, true); sourcesDocument... |
var node = draggingBreakpoint.parentNode; draggingBreakpoint.isDisabled = node.hasStyleClass("disabled"); node.removeStyleClass("breakpoint"); node.removeStyleClass("disabled"); var lineNum = parseInt(draggingBreakpoint.title); | var lineNum = draggingBreakpoint.title; | function breakpointDrag(event){ var sourcesDocument = document.getElementById("sources").contentDocument; if (!draggingBreakpoint) { sourcesDocument.removeEventListener("mousemove", breakpointDrag, true); sourcesDocument.removeEventListener("mouseup", breakpointDragEnd, true); sourcesDocument... |
var editor = file.breakpointEditors[lineNum]; if (editor) { node.childNodes[1].removeChild(editor); file.breakpointEditors[lineNum] = null; } | var breakpoint = file.breakpoints[lineNum]; draggingBreakpoint.breakpoint = breakpoint; breakpoint.row.removeStyleClass("breakpoint"); breakpoint.row.removeStyleClass("disabled"); var editor = breakpoint.editor; if (editor) toggleBreakpointEditorOnLine(lineNum); | function breakpointDrag(event){ var sourcesDocument = document.getElementById("sources").contentDocument; if (!draggingBreakpoint) { sourcesDocument.removeEventListener("mousemove", breakpointDrag, true); sourcesDocument.removeEventListener("mouseup", breakpointDragEnd, true); sourcesDocument... |
if (draggingBreakpoint.isDisabled) draggingBreakpoint.breakFunction = files[currentFile].disabledBreakpoints[lineNum]; else draggingBreakpoint.breakFunction = files[currentFile].breakpoints[lineNum]; | function breakpointDrag(event){ var sourcesDocument = document.getElementById("sources").contentDocument; if (!draggingBreakpoint) { sourcesDocument.removeEventListener("mousemove", breakpointDrag, true); sourcesDocument.removeEventListener("mouseup", breakpointDragEnd, true); sourcesDocument... | |
file.disabledBreakpoints[lineNum] = null; | function breakpointDrag(event){ var sourcesDocument = document.getElementById("sources").contentDocument; if (!draggingBreakpoint) { sourcesDocument.removeEventListener("mousemove", breakpointDrag, true); sourcesDocument.removeEventListener("mouseup", breakpointDragEnd, true); sourcesDocument... | |
if (draggingBreakpoint.isDisabled) | if (draggingBreakpoint.breakpoint.enabled) dragImage.src = "breakPoint.tif"; else | function breakpointDrag(event){ var sourcesDocument = document.getElementById("sources").contentDocument; if (!draggingBreakpoint) { sourcesDocument.removeEventListener("mousemove", breakpointDrag, true); sourcesDocument.removeEventListener("mouseup", breakpointDragEnd, true); sourcesDocument... |
else dragImage.src = "breakPoint.tif"; | function breakpointDrag(event){ var sourcesDocument = document.getElementById("sources").contentDocument; if (!draggingBreakpoint) { sourcesDocument.removeEventListener("mousemove", breakpointDrag, true); sourcesDocument.removeEventListener("mouseup", breakpointDragEnd, true); sourcesDocument... | |
var y = event.clientY + window.scrollY; var x = event.clientX + window.scrollX; | function breakpointDragEnd(event){ var y = event.clientY + window.scrollY; var x = event.clientX + window.scrollX; var sourcesDocument = document.getElementById("sources").contentDocument; sourcesDocument.removeEventListener("mousemove", breakpointDrag, true); sourcesDocument.removeEventListener("mouseup... | |
var sourcesDocument = document.getElementById("sources").contentDocument; | function breakpointDragEnd(event){ var y = event.clientY + window.scrollY; var x = event.clientX + window.scrollX; var sourcesDocument = document.getElementById("sources").contentDocument; sourcesDocument.removeEventListener("mousemove", breakpointDrag, true); sourcesDocument.removeEventListener("mouseup... | |
if (!row) | if (row <= 0) | function breakpointDragEnd(event){ var y = event.clientY + window.scrollY; var x = event.clientX + window.scrollX; var sourcesDocument = document.getElementById("sources").contentDocument; sourcesDocument.removeEventListener("mousemove", breakpointDrag, true); sourcesDocument.removeEventListener("mouseup... |
if (!tr) return; | function breakpointDragEnd(event){ var y = event.clientY + window.scrollY; var x = event.clientX + window.scrollX; var sourcesDocument = document.getElementById("sources").contentDocument; sourcesDocument.removeEventListener("mousemove", breakpointDrag, true); sourcesDocument.removeEventListener("mouseup... | |
addStyleClass(tr, "disabled"); | tr.addStyleClass("disabled"); | function breakpointDragEnd(event){ var sourcesDocument = document.getElementById("sources").contentDocument; sourcesDocument.removeEventListener("mousemove", breakpointDrag, true); sourcesDocument.removeEventListener("mouseup", breakpointDragEnd, true); sourcesDocument.body.style.cursor = null; var dragI... |
addStyleClass(tr, "breakpoint"); | tr.addStyleClass("breakpoint"); | function breakpointDragEnd(event){ var sourcesDocument = document.getElementById("sources").contentDocument; sourcesDocument.removeEventListener("mousemove", breakpointDrag, true); sourcesDocument.removeEventListener("mouseup", breakpointDragEnd, true); sourcesDocument.body.style.cursor = null; var dragI... |
if (draggingBreakpoint.isDisabled) addStyleClass(tr, "disabled"); | function breakpointDragEnd(event){ var sourcesDocument = document.getElementById("sources").contentDocument; sourcesDocument.removeEventListener("mousemove", breakpointDrag, true); sourcesDocument.removeEventListener("mouseup", breakpointDragEnd, true); sourcesDocument.body.style.cursor = null; var dragI... | |
file.breakpoints[row] = (draggingBreakpoint.isDisabled ? -1 : 1); | function breakpointDragEnd(event){ var sourcesDocument = document.getElementById("sources").contentDocument; sourcesDocument.removeEventListener("mousemove", breakpointDrag, true); sourcesDocument.removeEventListener("mouseup", breakpointDragEnd, true); sourcesDocument.body.style.cursor = null; var dragI... | |
sourcesDocument.body.style.cursor = null; | sourcesDocument.body.style.removeProperty("cursor"); | function breakpointDragEnd(event){ var sourcesDocument = document.getElementById("sources").contentDocument; sourcesDocument.removeEventListener("mousemove", breakpointDrag, true); sourcesDocument.removeEventListener("mouseup", breakpointDragEnd, true); sourcesDocument.body.style.cursor = null; var dragI... |
if (breakpoint.editor) { breakpoint.editor.id = row; updateBreakpointTypeOnLine(row); setConditionFieldText(breakpoint); } | function breakpointDragEnd(event){ var sourcesDocument = document.getElementById("sources").contentDocument; sourcesDocument.removeEventListener("mousemove", breakpointDrag, true); sourcesDocument.removeEventListener("mouseup", breakpointDragEnd, true); sourcesDocument.body.style.cursor = null; var dragI... | |
if (draggingBreakpoint.isDisabled) { | var breakpoint = draggingBreakpoint.breakpoint; breakpoint.row = tr; file.breakpoints[row] = breakpoint; if (!breakpoint.enabled) | function breakpointDragEnd(event){ var sourcesDocument = document.getElementById("sources").contentDocument; sourcesDocument.removeEventListener("mousemove", breakpointDrag, true); sourcesDocument.removeEventListener("mouseup", breakpointDragEnd, true); sourcesDocument.body.style.cursor = null; var dragI... |
file.disabledBreakpoints[row] = draggingBreakpoint.breakFunction; file.breakpoints[row] = null; } else { file.disabledBreakpoints[row] = null; file.breakpoints[row] = draggingBreakpoint.breakFunction; } | function breakpointDragEnd(event){ var sourcesDocument = document.getElementById("sources").contentDocument; sourcesDocument.removeEventListener("mousemove", breakpointDrag, true); sourcesDocument.removeEventListener("mouseup", breakpointDragEnd, true); sourcesDocument.body.style.cursor = null; var dragI... | |
this.rgb = Rico.Color.HSBtoRGB(hsb.h, hsb.s, Math.min(hsb.b + percent,1)); | this.rgb = OpenLayers.Rico.Color.HSBtoRGB(hsb.h, hsb.s, Math.min(hsb.b + percent,1)); | brighten: function(percent) { var hsb = this.asHSB(); this.rgb = Rico.Color.HSBtoRGB(hsb.h, hsb.s, Math.min(hsb.b + percent,1)); }, |
document.getElementById( 'browse_lastdir' ).value; | function browse( dest ){ document.getElementById( 'browse_dest' ).value = dest; browse_dir( document.getElementById( 'browse_lastdir' ).value ); show( 'browse' );} | |
loadXMLDoc( 'requests/browse.xml?dir='+escape(dir), parse_browse_dir ); | loadXMLDoc( 'requests/browse.xml?dir='+encodeURIComponent(dir), parse_browse_dir ); | function browse_dir( dir ){ document.getElementById( 'browse_lastdir' ).value = dir; loadXMLDoc( 'requests/browse.xml?dir='+escape(dir), parse_browse_dir );} |
loadXMLDoc( 'requests/browse.xml?dir='+dir, parse_browse_dir ); | loadXMLDoc( 'requests/browse.xml?dir='+escape(dir), parse_browse_dir ); | function browse_dir( dir ){ document.getElementById( 'browse_lastdir' ).value = dir; loadXMLDoc( 'requests/browse.xml?dir='+dir, parse_browse_dir );} |
this.nextPromptResult = ''; | BrowserBot = function(frame) { this.frame = frame; this.currentPage = null; this.currentWindowName = null; this.modalDialogTest = null; this.recordedAlerts = new Array(); this.recordedConfirmations = new Array(); this.openedWindows = {}; this.nextConfirmResult = true; this.newPageLoaded = fal... | |
this.recordPageLoad = function() { | this.recordPageLoad = function(elementOrWindow) { | var BrowserBot = function(topLevelApplicationWindow) { this.topWindow = topLevelApplicationWindow; // the buttonWindow is the Selenium window // it contains the Run/Pause buttons... this should *not* be the AUT window // todo: Here the buttonWindow is not Selenium window. It will be set to Selenium window i... |
LOG.debug("Page load location=" + self.getCurrentWindow(true).location); | if (elementOrWindow.location && elementOrWindow.location.href) { LOG.debug("Page load location=" + elementOrWindow.location.href); } else if (elementOrWindow.contentWindow && elementOrWindow.contentWindow.location && elementOrWindow.contentWindow.location.href) { LOG.debug("Page load location=" + elementOrWindow.conten... | var BrowserBot = function(topLevelApplicationWindow) { this.topWindow = topLevelApplicationWindow; // the buttonWindow is the Selenium window // it contains the Run/Pause buttons... this should *not* be the AUT window // todo: Here the buttonWindow is not Selenium window. It will be set to Selenium window i... |
LOG.debug("Page load detected, location=" + self.getCurrentWindow().location); | LOG.debug("Page load detected"); try { LOG.debug("Page load location=" + self.getCurrentWindow().location); } catch (e) { self.pageLoadError = e; return; } | BrowserBot = function(frame) { this.frame = frame; this.currentPage = null; this.currentWindowName = null; this.modalDialogTest = null; this.recordedAlerts = new Array(); this.recordedConfirmations = new Array(); this.recordedPrompts = new Array(); this.openedWindows = {}; this.nextConfirmRes... |
if (this.pageLoadError) throw this.pageLoadError; | BrowserBot = function(frame) { this.frame = frame; this.currentPage = null; this.currentWindowName = null; this.modalDialogTest = null; this.recordedAlerts = new Array(); this.recordedConfirmations = new Array(); this.recordedPrompts = new Array(); this.openedWindows = {}; this.nextConfirmRes... | |
BrowserBot = function(frame) { | var BrowserBot = function(frame) { | BrowserBot = function(frame) { this.frame = frame; this.currentPage = null; this.currentWindowName = null; this.modalDialogTest = null; this.recordedAlerts = new Array(); this.recordedConfirmations = new Array(); this.recordedPrompts = new Array(); this.openedWindows = {}; this.nextConfirmRes... |
LOG.debug("Page load detected"); | LOG.debug("Page load detected, location=" + self.getCurrentWindow().location); | BrowserBot = function(frame) { this.frame = frame; this.currentPage = null; this.currentWindowName = null; this.modalDialogTest = null; this.recordedAlerts = new Array(); this.recordedConfirmations = new Array(); this.recordedPrompts = new Array(); this.openedWindows = {}; this.nextConfirmRes... |
this.shouldHighlightLocatedElement = false; | var BrowserBot = function(topLevelApplicationWindow) { this.topWindow = topLevelApplicationWindow; this.topFrame = this.topWindow; this.baseUrl=window.location.href; // the buttonWindow is the Selenium window // it contains the Run/Pause buttons... this should *not* be the AUT window // todo: Here the... | |
LOG.error("isNewPageLoaded found an old pageLoadError"); | var BrowserBot = function(topLevelApplicationWindow) { this.topWindow = topLevelApplicationWindow; this.topFrame = this.topWindow; // the buttonWindow is the Selenium window // it contains the Run/Pause buttons... this should *not* be the AUT window // todo: Here the buttonWindow is not Selenium window. ... | |
LOG.error("Caught an exception attempting to log location; this should get noticed soon!"); LOG.exception(e); | var BrowserBot = function(topLevelApplicationWindow) { this.topWindow = topLevelApplicationWindow; // the buttonWindow is the Selenium window // it contains the Run/Pause buttons... this should *not* be the AUT window // todo: Here the buttonWindow is not Selenium window. It will be set to Selenium window i... | |
this.buttonWindow = this.topWindow; | this.buttonWindow = window; | var BrowserBot = function(topLevelApplicationWindow) { this.topWindow = topLevelApplicationWindow; this.topFrame = this.topWindow; this.baseUrl=window.location.href; // the buttonWindow is the Selenium window // it contains the Run/Pause buttons... this should *not* be the AUT window // todo: Here the... |
this.openedWindows = {}; | BrowserBot = function(frame) { this.frame = frame; this.currentPage = null; this.currentWindowName = null; this.modalDialogTest = null; this.recordedAlerts = new Array(); this.recordedConfirmations = new Array(); this.nextConfirmResult = true;}; | |
this.metaKeyDown = false; | var BrowserBot = function(topLevelApplicationWindow) { this.topWindow = topLevelApplicationWindow; this.topFrame = this.topWindow; // the buttonWindow is the Selenium window // it contains the Run/Pause buttons... this should *not* be the AUT window // todo: Here the buttonWindow is not Selenium window. ... | |
if (this.topWindow && this.topWindow.location) { this.baseUrl=this.topWindow.location.href; } | this.baseUrl=window.location.href; | var BrowserBot = function(topLevelApplicationWindow) { this.topWindow = topLevelApplicationWindow; this.topFrame = this.topWindow; if (this.topWindow && this.topWindow.location) { this.baseUrl=this.topWindow.location.href; } // the buttonWindow is the Selenium window // it contains the Run/Paus... |
if (/^chrome:\/\ self.isChrome = true; } else { self.isChrome = false; } | var BrowserVersion = function() { this.name = navigator.appName; if (window.opera != null) { this.browser = BrowserVersion.OPERA; this.isOpera = true; return; } var self = this; var checkChrome = function() { var loc = window.document.location.href; try { ... | |
if (window.top.SeleniumHTARunner && window.top.document.location.pathname.match(/.hta$/i)) { this.isHTA = true; | try { if (window.top.SeleniumHTARunner && window.top.document.location.pathname.match(/.hta$/i)) { this.isHTA = true; } } catch (e) { this.isHTADetectable = "no, top location couldn't be read in this window"; if (_getQueryParameter('thisIsHTA')) { self.isHTA = true; } else { self.isHTA = false; } | var BrowserVersion = function() { this.name = navigator.appName; if (window.opera != null) { this.browser = BrowserVersion.OPERA; this.isOpera = true; return; } var self = this; var checkChrome = function() { var loc = window.document.location.href; try { ... |
if (window.top.SeleniumHTARunner && window.top.document.location.pathname.match(/.hta$/i)) { this.isHTA = true; } | BrowserVersion = function() { this.name = navigator.appName; if (window.opera != null) { this.browser = BrowserVersion.OPERA; this.isOpera = true; return; } if (this.name == "Microsoft Internet Explorer") { this.browser = BrowserVersion.IE; this.isIE = true; r... | |
if (navigator.appVersion.match(/MSIE 6.0/)) { this.appearsToBeBrokenInitialIE6 = true; } | var BrowserVersion = function() { this.name = navigator.appName; if (window.opera != null) { this.browser = BrowserVersion.OPERA; this.isOpera = true; return; } var self = this; var checkChrome = function() { var loc = window.document.location.href; try { ... | |
var result = /.*Firefox\/([\d\.]+).*/.exec(navigator.userAgent); if (result) { this.firefoxVersion = result[1]; } | BrowserVersion = function() { this.name = navigator.appName; if (window.opera != null) { this.browser = BrowserVersion.OPERA; this.isOpera = true; return; } if (this.name == "Microsoft Internet Explorer") { this.browser = BrowserVersion.IE; this.isIE = true; i... | |
checkChrome(); | BrowserVersion = function() { this.name = navigator.appName; if (window.opera != null) { this.browser = BrowserVersion.OPERA; this.isOpera = true; return; } if (this.name == "Microsoft Internet Explorer") { this.browser = BrowserVersion.IE; this.isIE = true; i... | |
var baseUrl = window.location.href.substring(0, lastSlash+1); | baseUrl = window.location.href.substring(0, lastSlash+1); | function buildBaseUrl() { var lastSlash = window.location.href.lastIndexOf('/'); var baseUrl = window.location.href.substring(0, lastSlash+1); return baseUrl;} |
var host = runOptions.getDriverHost(); var port = runOptions.getDriverPort(); if (host != undefined && port != undefined) { params = params + "&driverhost=" + host + "&driverport=" + port; } | function buildDriverParams() { var params = ""; var host = runOptions.getDriverHost(); var port = runOptions.getDriverPort(); if (host != undefined && port != undefined) { params = params + "&driverhost=" + host + "&driverport=" + port; } var sessionId = runOptions.getSessionId(); if (sessio... | |
if (!Event.isLeftClick(evt)) return; | buttonClick: function(evt) { this.switchModeTo(evt.div.action); Event.stop(evt); }, | |
if (!Event.isLeftClick(evt)) return; | buttonDown: function (evt) { var slide = this.map.getResolution() * this.slideFactor; var center = this.map.getCenter(); var newCenter = center.copyOf(); switch (this.action) { case "panup": newCenter = newCenter.add( 0, slide); break; ... | |
case "zoomextents": this.map.zoomExtent(); break; | case "zoomworld": this.map.zoomExtent(); break; | buttonDown: function (evt) { switch (this.action) { case "panup": var resolution = this.map.getResolution(); var center = this.map.getCenter(); this.map.setCenter( new OpenLayers.LonLat(center.lon, ... |
new OpenLayers.LatLon(center.lat + (reslution * 50), | new OpenLayers.LatLon(center.lat + (resolution * 50), | buttonDown: function (evt) { switch (this.action) { case "panup": var resolution = this.map.getResolution(); var center = this.map.getCenter(); this.map.setCenter( new OpenLayers.LatLon(center.lat + (reslution * 50), ... |
new OpenLayers.LatLon(center.lat - (reslution * 50), | new OpenLayers.LatLon(center.lat - (resolution * 50), | buttonDown: function (evt) { switch (this.action) { case "panup": var resolution = this.map.getResolution(); var center = this.map.getCenter(); this.map.setCenter( new OpenLayers.LatLon(center.lat + (reslution * 50), ... |
function BX_add_tagWithAttributes(tag,content,attributes) { var element = BX_xml.createElementNS("http: element.appendChild(BX_xml.createTextNode(content)); | function BX_add_tagWithAttributes(tag,content,attributes) { var element = BX_xml.doc.createElement(tag); element.appendChild(BX_xml.doc.createTextNode(content)); | function BX_add_tagWithAttributes(tag,content,attributes){ var element = BX_xml.createElementNS("http://www.w3.org/1999/xhtml",tag); element.appendChild(BX_xml.createTextNode(content)); for (var attName in attributes) { element.setAttribute(attName,attributes[attName]); } element.setAttribute("... |
element.setAttribute("internalid",'yes'); | element.setAttribute("bxe_internalid",'yes'); | function BX_add_tagWithAttributes(tag,content,attributes){ var element = BX_xml.createElementNS("http://www.w3.org/1999/xhtml",tag); element.appendChild(BX_xml.createTextNode(content)); for (var attName in attributes) { element.setAttribute(attName,attributes[attName]); } element.setAttribute("... |
document.getElementById("transformLocation").addEventListener("mouseup", BX_RangeCaptureOnMouseUp, false); | function BX_addEvents(){ document.addEventListener("keypress",BX_keypress,false); document.addEventListener("keyup",BX_onkeyup,false); // var allSpans = document.getElementsByName("bitfluxspan"); /* for (i = 0; i < allSpans.length; i ++) { allSpans[i].addEventListener("mouseup", BX_Ran... | |
if(docu.documentElement.nodeName=="parsererror") | if(docu.documentElement && docu.documentElement.nodeName=="parsererror") | function BX_alert_checkParserError(docu){ if(docu.documentElement.nodeName=="parsererror") { var alerttext = "Parse Error: \n \n"; alerttext += docu.documentElement.firstChild.data +"\n\n"; alerttext += "Sourcetext:\n\n"; alerttext += docu.documentElement.childNodes[1].firstChild.data;... |
catch(e) { return false;} | function BX_beginDrag(e) { // this try is needed for Mozilla 1.1, which can't acces e.target.parentNode within a textarea try { if (! ((e.target.parentNode.nodeType == e.target.parentNode.ELEMENT_NODE && e.target.parentNode.getAttribute("dragable") == "yes") || (e.target.nodeType == e.target.ELEMENT_NODE &... | |
function BX_clean_nodelist(xml) { if (xml) { BX_xml_nodelist = xml.getElementsByTagName("*"); } else { BX_xml_nodelist = this.getElementsByTagName("*"); | function BX_clean_nodelist(xml) { if (xml) { xml.BX_xml_nodelist = xml.getElementsByTagName("*"); } else { this.BX_xml_nodelist = this.getElementsByTagName("*"); | function BX_clean_nodelist(xml){ if (xml) { BX_xml_nodelist = xml.getElementsByTagName("*"); } else { BX_xml_nodelist = this.getElementsByTagName("*"); }} |
function BX_clearInfoError() { BX_infoerror.innerHTML = ""; | function BX_clearInfoError() { BX_innerHTML(BX_infoerror,""); | function BX_clearInfoError(){ BX_infoerror.innerHTML = ""; BX_infoerror_timeout = false;} |
BX_no_events = true; | function BX_clipboard_open(){ if (BX_range) { BX_popup_start("Clipboard",400,0); var html = ' <center class="text"><form id="bx_form_clipboard" name="clipboard">'; html += '<input class="buttonklein" type="button" value="Append CDATA" onclick=\'BX_clipboard_insertCDATA()\' /> <br/>'; ... | |
var result = BX_config.evaluate(xpath, BX_config, null, 0, null); | var result = BX_config.doc.evaluate(xpath, BX_config.doc, null, 0, null); | function BX_config_getContent(xpath){ var result = BX_config.evaluate(xpath, BX_config, null, 0, null); node = result.iterateNext(); return BX_config_translateUrl(node);} |
var result = BX_config.evaluate(xpath, BX_config, null, 0, null); | var result = BX_config.doc.evaluate(xpath, BX_config.doc, null, 0, null); | function BX_config_getContentMultiple(xpath){ var result = BX_config.evaluate(xpath, BX_config, null, 0, null); var node; var resultArray = new Array(); var i = 0; while (node = result.iterateNext()) { resultArray[i] = BX_config_translateUrl(node); i++; } return resultArray;} |
function BX_config_getNodes(xpath) { var result = BX_config.evaluate(xpath, BX_config, null, 0, null); | function BX_config_getNodes(xpath) { var result = BX_config.doc.evaluate(xpath, BX_config.doc, null, 0, null); | function BX_config_getNodes(xpath){ var result = BX_config.evaluate(xpath, BX_config, null, 0, null); return result;} |
BX_config_setLoadMessage("Config file had errors..."); | BXEui.lm.set("Config file had errors..."); | function BX_config_loaded(){ try { if (! BX_alert_checkParserError(BX_config)) { BX_config_setLoadMessage("Config file had errors..."); return false; } BX_config_createURLParams(); var head = document.getElementsByTagName("head")[0]; // first load the core js files for (var i=0; i < BX_js_... |
BX_config_createURLParams(); | function BX_config_loaded(){ try { if (! BX_alert_checkParserError(BX_config)) { BX_config_setLoadMessage("Config file had errors..."); return false; } BX_config_createURLParams(); var head = document.getElementsByTagName("head")[0]; // first load the core js files for (var i=0; i < BX_js_... | |
for (var i=0; i < BX_js_files.length; i++) { var scr = document.createElement("script"); scr.setAttribute("src",BX_js_files[i]); scr.setAttribute("language","JavaScript"); head.appendChild(scr); } | function BX_config_loaded(){ try { if (! BX_alert_checkParserError(BX_config)) { BX_config_setLoadMessage("Config file had errors..."); return false; } BX_config_createURLParams(); var head = document.getElementsByTagName("head")[0]; // first load the core js files for (var i=0; i < BX_js_... | |
var scr = document.createElement("script"); | var scr = document.createElementNS("http: | function BX_config_loaded(){ try { if (! BX_alert_checkParserError(BX_config)) { BX_config_setLoadMessage("Config file had errors..."); return false; } BX_config_createURLParams(); var head = document.getElementsByTagName("head")[0]; // first load the core js files for (var i=0; i < BX_js_... |
scr.setAttribute('onload', 'try{BX_init()} catch(e) { BX_init_alert(e)}'); | scr.setAttribute('onload', 'try{BX_init()} catch(e) { BXEui.newObject("initAlert",e)}'); | function BX_config_loaded(){ try { if (! BX_alert_checkParserError(BX_config)) { BX_config_setLoadMessage("Config file had errors..."); return false; } BX_config_createURLParams(); var head = document.getElementsByTagName("head")[0]; // first load the core js files for (var i=0; i < BX_js_... |
var scr = document.createElement("link"); | if (document.contentType == "text/xml") { scr = document.createProcessingInstruction("xml-stylesheet",'href="'+css[i]+'" type="text/css"'); document.insertBefore(scr,document.documentElement); } else { var scr = document.createElementNS("http: | function BX_config_loaded(){ try { if (! BX_alert_checkParserError(BX_config)) { BX_config_setLoadMessage("Config file had errors..."); return false; } BX_config_createURLParams(); var head = document.getElementsByTagName("head")[0]; // first load the core js files for (var i=0; i < BX_js_... |
BX_init_alert(e); | BXEui.newObject("initAlert",e); | function BX_config_loaded(){ try { if (! BX_alert_checkParserError(BX_config)) { BX_config_setLoadMessage("Config file had errors..."); return false; } BX_config_createURLParams(); var head = document.getElementsByTagName("head")[0]; // first load the core js files for (var i=0; i < BX_js_... |
url = BX_URLParams[node.firstChild.data]; | url = BXE.urlParams[node.firstChild.data]; | function BX_config_translateUrl(node){ var url; try { if (node.nodeType != 1) { //if nodeType is not a element (==1) return right away} return node.value; } } catch (e) { return ""; } if (node.getAttribute("isParam") == "true") { url = BX_URLParams[node.firstChild.data]; } else { ... |
url = url.replace(/\{BX_root_dir\}/,BX_root_dir); | function BX_config_translateUrl(node){ var url; try { if (node.nodeType != 1) { //if nodeType is not a element (==1) return right away} return node.value; } } catch (e) { return ""; } if (node.getAttribute("isParam") == "true") { url = BXE.urlParams[node.firstChild.data]; } else { ... | |
BX_clipboard = null; | function BX_copy_paste(){ // window.defaultStatus += "paste"; BX_range.extractContents(); /*var end = BX_range.endContainer; var start = BX_range.startContainer; var endO = BX_range.endOffset; var startO = BX_range.startOffset; */ var cb = BX_clipboard.cloneNode(true); /** * there's a b... | |
BX_range_updateToCursor(); | function BX_copy_pasteID(id,before){ var thisNode = document.getElementById(id); if (before) { var newNode = thisNode.parentNode.insertBefore(BX_clipboard.cloneNode(true),thisNode); } else { var newNode = thisNode.parentNode.insertBefore(BX_clipboard.cloneNode(true),thisNode.nextSibling)... | |
var stripWS = BX_selection.anchorNode.data.substring(0,BX_selection.anchorOffset).replace(/^[\t\n\r\s]*$/,"").replace(/[\t\n\r\s]{2,}$/," "); BX_selection.collapse(BX_selection.anchorNode,stripWS.length); | if (BX_selection.anchorNode.nodeType != 3) { var walker = document.createTreeWalker(document,NodeFilter.SHOW_TEXT, { acceptNode : function(node) { if ((/^[\t\n\r\s]*$/.test(node.nodeValue))) return NodeFilter.FILTER_REJECT; return NodeFilter.FILTER_ACCEPT; } } ,null); BX_selection.anchorNode.normalize(); walker.curren... | function BX_cursor_moveLeft () { // for some strange reasons, we can't emulate LEFT,RIGHT,UP,DOWN.... /* var ev = document.createEvent("KeyEvents"); ev.initKeyEvent("keypress",true,true,null,false,false,false,false,ev.DOM_VK_LEFT,0); document.dispatchEvent(ev); */ BX_selection = window.getSelection(... |
if (BX_selection) { BX_selection.collapseToStart(); } | function BX_cursor_moveLeft (){ BX_selection = window.getSelection(); if (BX_selection) { BX_selection.collapseToStart(); } if (BX_selection.anchorOffset == 0 ) { var nextNode = false; nextNode = BX_cursor_findTextLeft(BX_selection.anchorNode); //no whitespace stuff... ... | |
if (BX_selection.anchorOffset == 0 ) { var nextNode = false; nextNode = BX_cursor_findTextLeft(BX_selection.anchorNode); | var stripWS = BX_selection.anchorNode.data.substring(0,BX_selection.anchorOffset).replace(/^[\t\n\r\s]*$/,"").replace(/[\t\n\r\s]{2,}$/," "); BX_selection.collapse(BX_selection.anchorNode,stripWS.length); if (BX_selection.anchorOffset == 0 ) { var walker = document.createTreeWalker(document,NodeFilter.SHOW_TEXT, { acc... | function BX_cursor_moveLeft (){ BX_selection = window.getSelection(); if (BX_selection) { BX_selection.collapseToStart(); } if (BX_selection.anchorOffset == 0 ) { var nextNode = false; nextNode = BX_cursor_findTextLeft(BX_selection.anchorNode); //no whitespace stuff... ... |
if (nextNode != false) { var stripWS = nextNode.data.replace(/[\n ]{2,}$/,""); if (stripWS.length == 0 || BX_cursor_overElement) { BX_selection.collapse(nextNode,stripWS.length) } else { BX_selection.collapse(nextNode,stripWS.length-1); } | walker.currentNode = BX_selection.anchorNode; var nextNode = walker.previousNode(); if (nextNode) { var stripWS = nextNode.data.replace(/^[\t\n\r\s]*$/,"").replace(/[\t\n\r\s]{2,}$/," "); BX_selection.collapse(nextNode,stripWS.length-1) | function BX_cursor_moveLeft (){ BX_selection = window.getSelection(); if (BX_selection) { BX_selection.collapseToStart(); } if (BX_selection.anchorOffset == 0 ) { var nextNode = false; nextNode = BX_cursor_findTextLeft(BX_selection.anchorNode); //no whitespace stuff... ... |
if ( BX_selection.anchorOffset == node.data.length) { | document.normalize(); if (node.nodeType == 1 || BX_selection.anchorOffset == node.data.length) { | function BX_cursor_moveToStartInNode(node, end) { if (!end) { if ( BX_selection.anchorOffset == 0) { var nodeIt2 = document.createTreeWalker(document, NodeFilter.SHOW_TEXT,{ acceptNode : function(node) { if ((/[^\... |
BX_infobar.style.top = window.innerHeight - 30; BX_infobar.style.height = 30; | BX_infobar.style.top = window.innerHeight - 30 +"px"; BX_infobar.style.height = "30px"; | function BX_down(){ BX_infotext2.style.visibility = "hidden"; BX_infotext.style.visibility = "visible"; BX_infobar.style.top = window.innerHeight - 30; BX_infobar.style.height = 30; BX_addEvents();} |
dump(": " + text + "\n"); | dump(": " + text ); dump ("\n"); | function BX_dump (text,level) { if (BX_debugging) { // dump (" \n"); dump(new Date()); dump(": " + text + "\n");/* dump(" in: "); for(c = arguments.callee; c; c = c.caller){ dump(c.name + " "); }*/ }} |
mes += "bitfluxeditor.js Info: $Revision: 1.5 $ $Name: $ $Date: 2002/11/23 11:47:33 $ \n"; | mes += "bitfluxeditor.js Info: $Revision: 1.6 $ $Name: $ $Date: 2003/01/21 17:00:55 $ \n"; | function BX_errorMessage(e) { if (BX_debugMessage) { var mes = "ERROR:\n"+e.message +"\n"; try { mes += "In File: " + e.filename +"\n"; } catch (e) { mes += "In File: " + e.fileName +"\n"; } try { mes += "Linenumber: " + e.lineNumber + "\n"; ... |
mes += "bitfluxeditor.js Info: $Revision: 1.3 $ $Name: $ $Date: 2002/10/25 10:12:21 $ \n"; | mes += "bitfluxeditor.js Info: $Revision: 1.4 $ $Name: $ $Date: 2002/11/17 16:48:14 $ \n"; | function BX_errorMessage(e) { if (BX_debugMessage) { var mes = "ERROR:\n"+e.message +"\n"; try { mes += "In File: " + e.filename +"\n"; } catch (e) { mes += "In File: " + e.fileName +"\n"; } try { mes += "Linenumber: " + e.lineNumber + "\n"; ... |
mes += "bitfluxeditor.js Info: $Revision: 1.2 $ $Name: $ $Date: 2002/10/24 14:41:17 $ \n"; | mes += "bitfluxeditor.js Info: $Revision: 1.3 $ $Name: $ $Date: 2002/10/25 10:12:21 $ \n"; | function BX_errorMessage(e) { if (BX_debugMessage) { var mes = "ERROR:\n"+e.message +"\n"; try { mes += "In File: " + e.filename +"\n"; } catch (e) { mes += "In File: " + e.fileName +"\n"; } try { mes += "Linenumber: " + e.lineNumber + "\n"; ... |
BX_infoerror_timeout.clearTimeout(); | try { BX_infoerror_timeout.clearTimeout(); } catch(e) {}; | function BX_errorMessage(e) { if (BX_debugMessage) { var mes = "ERROR:\n"+e.message +"\n"; try { mes += "In File: " + e.filename +"\n"; } catch (e) { mes += "In File: " + e.fileName +"\n"; } try { mes += "Linenumber: " + e.lineNumber + "\n"; ... |
BX_dump("window.setTimeout(BX_clearInfoError() in BX_error_message"); | function BX_errorMessage(e) { if (BX_debugMessage) { var mes = "ERROR:\n"+e.message +"\n"; try { mes += "In File: " + e.filename +"\n"; } catch (e) { mes += "In File: " + e.fileName +"\n"; } try { mes += "Linenumber: " + e.lineNumber + "\n"; ... | |
mes += "bitfluxeditor.js Info: $Revision: 1.4 $ $Name: $ $Date: 2002/11/17 16:48:14 $ \n"; | mes += "bitfluxeditor.js Info: $Revision: 1.5 $ $Name: $ $Date: 2002/11/23 11:47:33 $ \n"; | function BX_errorMessage(e) { if (BX_debugMessage) { var mes = "ERROR:\n"+e.message +"\n"; try { mes += "In File: " + e.filename +"\n"; } catch (e) { mes += "In File: " + e.fileName +"\n"; } try { mes += "Linenumber: " + e.lineNumber + "\n"; ... |
BX_error_window.document.innerHTML = ""; | BX_innerHTML(BX_error_window.document,""); | function BX_errorMessage(e){ if (BX_debugMessage) { var mes = "ERROR:\n"+e.message +"\n"; try { mes += "In File: " + e.filename +"\n"; } catch (e) { mes += "In File: " + e.fileName +"\n"; } try { mes += "Linenumber: " ... |
mes += "bitfluxeditor.js Info: $Revision: 1.1 $ $Name: $ $Date: 2002/09/13 20:26:49 $ \n"; | mes += "bitfluxeditor.js Info: $Revision: 1.2 $ $Name: $ $Date: 2002/10/24 14:41:17 $ \n"; | function BX_errorMessage(e){ if (BX_debugMessage) { var mes = "ERROR:\n"+e.message +"\n"; try { mes += "In File: " + e.filename +"\n"; } catch (e) { mes += "In File: " + e.fileName +"\n"; } try { mes += "Linenumber: " ... |
} | } else { | function BX_errorMessage(e){ if (BX_debugMessage) { var mes = "ERROR:\n"+e.message +"\n"; try { mes += "In File: " + e.filename +"\n"; } catch (e) { mes += "In File: " + e.fileName +"\n"; } try { mes += "Linenumber: " ... |
else { BX_infoerror.innerHTML = "ERROR:\n"+e.message +"\n"; if (BX_infoerror_timeout) { | BX_innerHTML(BX_infoerror,"ERROR:\n"+e.message +"\n"); if (BX_infoerror_timeout) { | function BX_errorMessage(e){ if (BX_debugMessage) { var mes = "ERROR:\n"+e.message +"\n"; try { mes += "In File: " + e.filename +"\n"; } catch (e) { mes += "In File: " + e.fileName +"\n"; } try { mes += "Linenumber: " ... |
BX_dump("window.setTimeout(BX_clearInfoError() in BX_error_message"); | function BX_errorMessage(e){ if (BX_debugMessage) { var mes = "ERROR:\n"+e.message +"\n"; try { mes += "In File: " + e.filename +"\n"; } catch (e) { mes += "In File: " + e.fileName +"\n"; } try { mes += "Linenumber: " ... | |
while(node && node.nodeName == "#text" || (node.nodeName != "body" && node.getAttribute("name") != "bitfluxspan")) { | while(node && node.nodeName == "#text" || (node.parentNode.nodeName != "html" && node.getAttribute("name") != "bitfluxspan")) { | function BX_find_bitfluxspanNode(node ) { while(node && node.nodeName == "#text" || (node.nodeName != "body" && node.getAttribute("name") != "bitfluxspan")) { node = node.parentNode; } if (node.getAttribute("name") == "bitfluxspan") { return node; } else { return false; }} |
while(node.nodeName == "#text" || (node.nodeName != "body" && node.getAttribute("name") != "bitfluxspan")) { | while(node && node.nodeName == "#text" || (node.nodeName != "body" && node.getAttribute("name") != "bitfluxspan")) { | function BX_find_bitfluxspanNode(node ) { while(node.nodeName == "#text" || (node.nodeName != "body" && node.getAttribute("name") != "bitfluxspan")) { node = node.parentNode; } if (node.getAttribute("name") == "bitfluxspan") { return node; } else { return false; }} |
BX_dump("BX_focusSpan(" + w_div.nodeName + ")"); | function BX_focusSpan (w_div,isNode) { if (!isNode) { var w_div= BX_find_bitfluxspanNode(w_div.target); } BX_dump("BX_focusSpan(" + w_div.nodeName + ")"); if (!(BX_dotFocus) || BX_dotFocus != w_div) { w_div.setAttribute("bxe_hasfocus","true"); BX_dotFocus.removeAttribute("bxe_hasfocus"); BX... | |
function BX_focusSpan (w_div ) { if (!(BX_dotFocus) || BX_dotFocus != w_div) { w_div.style.borderColor='#000000'; | function BX_focusSpan (w_div,isNode) { if (!isNode) { var w_div= BX_find_bitfluxspanNode(w_div.target); } | function BX_focusSpan (w_div ){ if (!(BX_dotFocus) || BX_dotFocus != w_div) { w_div.style.borderColor='#000000'; BX_dotFocus.style.borderColor='#cccccc'; BX_dotFocus=w_div; }} |
BX_dotFocus.style.borderColor='#cccccc'; | BX_dump("BX_focusSpan(" + w_div.nodeName + ")"); if (!(BX_dotFocus) || BX_dotFocus != w_div) { w_div.setAttribute("bxe_hasfocus","true"); BX_dotFocus.removeAttribute("bxe_hasfocus"); | function BX_focusSpan (w_div ){ if (!(BX_dotFocus) || BX_dotFocus != w_div) { w_div.style.borderColor='#000000'; BX_dotFocus.style.borderColor='#cccccc'; BX_dotFocus=w_div; }} |
function BX_get_selection() { BX_selection = window.getSelection(); BX_range = BX_selection.getRangeAt(0); | function BX_get_selection() { try { BX_selection = window.getSelection(); BX_range = BX_selection.getRangeAt(0); } catch(e) { } | function BX_get_selection(){ BX_selection = window.getSelection(); BX_range = BX_selection.getRangeAt(0);} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.