rem stringlengths 0 126k | add stringlengths 0 441k | context stringlengths 15 136k |
|---|---|---|
url = 'addTimerEvent?timer=repeating&ref=' + channel + '&shour=' + shour + '&smin=' + smin + '&ehour=' + ehour + '&emin=' + emin + '&mo=' + mo + '&tu=' + tu + '&we=' + we + '&th=' + th + '&fr=' + fr + '&sa=' + sa + '&su=' + su + '&descr=' + descr + '&after_event=' + after_event + '&action=' + action; | url = 'addTimerEvent?timer=repeating&ref=' + channel + '&shour=' + shour + '&smin=' + smin + '&smonth=' + smonth + '&syear=' + syear + '&ehour=' + ehour + '&emin=' + emin + '&emonth=' + emonth + '&eyear=' + eyear + '&mo=' + mo + '&tu=' + tu + '&we=' + we + '&th=' + th + '&fr=' + fr + '&sa=' + sa + '&su=' + su + '&descr... | function addTimerEvent(){ var url = ""; var currentTimer = document.channelselector.type.selectedIndex; var timer = document.channelselector.type.options[currentTimer].value; var currentChannel = document.channelselector.channel.selectedIndex; var channel = document.channelselector.channel.options[currentChannel].value... |
url = 'addTimerEvent?timer=regular&ref=' + channel + '&sday=' + sday + '&smonth=' + smonth + '&shour=' + shour + '&smin=' + smin + '&eday=' + eday + '&emonth=' + emonth + '&ehour=' + ehour + '&emin=' + emin + '&descr=' + descr + '&after_event=' + after_event + '&action=' + action; | url = 'addTimerEvent?timer=regular&ref=' + channel + '&sday=' + sday + '&smonth=' + smonth + '&syear=' + syear + '&shour=' + shour + '&smin=' + smin + '&eday=' + eday + '&emonth=' + emonth + '&eyear=' + eyear + '&ehour=' + ehour + '&emin=' + emin + '&descr=' + descr + '&after_event=' + after_event + '&action=' + action... | function addTimerEvent(){ var url = ""; var currentTimer = document.channelselector.type.selectedIndex; var timer = document.channelselector.type.options[currentTimer].value; var currentChannel = document.channelselector.channel.selectedIndex; var channel = document.channelselector.channel.options[currentChannel].value... |
var url = '/addTimerEvent2?ref=' + channel + '&sday=' + sday + '&smonth=' + smonth + '&shour=' + shour + '&smin=' + smin + '&eday=' + eday + '&emonth=' + emonth + '&ehour=' + ehour + '&emin=' + emin + '&descr=' + descr; | var url = '/addTimerEvent2?ref=' + channel + '&sday=' + sday + '&smonth=' + smonth + '&shour=' + shour + '&smin=' + smin + '&eday=' + eday + '&emonth=' + emonth + '&ehour=' + ehour + '&emin=' + emin + '&descr=' + descr + '&after_event=' + after_event; | function addTimerEvent(){ var currentChannel = document.channelselector.channel.selectedIndex; var channel = document.channelselector.channel.options[currentChannel].value; var currentSday = document.channelselector.sday.selectedIndex; var sday = document.channelselector.sday.options[currentSday].text; var currentSmont... |
cocoon.sendPage("redirect.html", { "url" : redirectUri }); | cocoon.redirectTo(redirectUri); | function addUser(ldap) { resolve(); try { var redirectUri = getRequestUri(); var userId = ""; var ldapId = null; if (ldap) { ldapId = ""; } var email = ""; var fullName = ""; var description = ""; var messages = new Packages.java.util.ArrayList(); var password = ""; var confirmPassword = ""; va... |
if (node.nodeType == 3) { | if (node.nodeName.indexOf("/") > -1 || node.nodeName == "" || node.nodeName == "#document" || node.nodeName == "#document-fragment" || node.nodeName == "#cdata-section" || node.nodeName == "#xml-declaration" || node.nodeName == "#whitespace" || node.nodeName == "#significat-whitespace" ) { return; } if (node.nodeName... | function addXPathSupport(document) {/** END SELENIUM:PATCH */var isIe = /MSIE [56789]/.test(navigator.userAgent) && (navigator.platform == "Win32");// Mozilla has support by default, we don't have an implementation for the restif (isIe){ // release number document.DomL3XPathRelease = "0.0.3.0"; // XPathException // An... |
tinyMCE.importPluginLanguagePack('insertdatetime','en,tr,cs,el,fr_ca,it,ko,sv,zh_cn,fa,fr,de,pl,pt_br,nl,da,he,nb,ru,ru_KOI8-R,ru_UTF-8,nn,fi,es,cy,is,pl');var TinyMCE_InsertDateTimePlugin={getInfo:function(){return{longname:'Insert date/time',author:'Moxiecode Systems',authorurl:'http: | tinyMCE.importPluginLanguagePack('insertdatetime');var TinyMCE_InsertDateTimePlugin={getInfo:function(){return{longname:'Insert date/time',author:'Moxiecode Systems AB',authorurl:'http: | tinyMCE.importPluginLanguagePack('insertdatetime','en,tr,cs,el,fr_ca,it,ko,sv,zh_cn,fa,fr,de,pl,pt_br,nl,da,he,nb,ru,ru_KOI8-R,ru_UTF-8,nn,fi,es,cy,is,pl');var TinyMCE_InsertDateTimePlugin={getInfo:function(){return{longname:'Insert date/time',author:'Moxiecode Systems',authorurl:'http://tinymce.moxiecode.com',infourl:... |
effect.element.undoPositionend(); | effect.element.undoPositioned(); | afterFinishInternal: function(effect) { effect.element.hide(); effect.element.undoClipping(); effect.element.undoPositionend(); effect.element.setStyle({opacity: oldOpacity}); } |
makePositioned(effect.element); | afterSetup: function(effect) { with(Element) { makePositioned(effect.element.firstChild); if(window.opera) setStyle(effect.element, {top: ''}); makeClipping(effect.element); setStyle(effect.element, {height: '0px'}); show(element); }}, | |
ajaxDel.runAJAX('action=delete-' + what + '&id=' + id); | ajaxDel.runAJAX('action=delete-' + what + '&id=' + id + '&' + ajaxDel.encVar('cookie', document.cookie)); | function ajaxDelete(what, id) { ajaxDel = new sack('list-manipulation.php'); if ( ajaxDel.failed ) return true; ajaxDel.myResponseElement = getResponseElement(); ajaxDel.method = 'POST'; ajaxDel.onLoading = function() { ajaxDel.myResponseElement.innerHTML = 'Sending Data...'; }; ajaxDel.onLoaded = function() { ajaxDel.... |
this.relayBotToRC("browserbot.recordedAlerts"); | self.relayBotToRC("browserbot.recordedAlerts"); | windowToModify.alert = function(alert) { browserBot.recordedAlerts.push(alert); this.relayBotToRC("browserbot.recordedAlerts"); }; |
relayBotToRC("browserbot.recordedAlerts"); | windowToModify.alert = function(alert) { browserBot.recordedAlerts.push(alert); relayBotToRC("browserbot.recordedAlerts"); }; | |
BX_xml.doc = BX_getResultXML(); BX_xml.showXml(); | BX_xml_source= BX_getResultXML(); var BX_source_window = window.open(BX_root_dir+"showsource/index.html","_blank",""); | function alertXML(){//alert(BX_ser.serializeToString(BX_xml)); BX_xml.doc = BX_getResultXML(); BX_xml.showXml();} |
BX_xml_source= BX_getResultXML(); var BX_source_window = window.open(BX_root_dir+"showsource/index.html","_blank",""); | BX_xml.doc = BX_getResultXML(); BX_xml.showXml(); | function alertXML(){ BX_xml_source= BX_getResultXML(); var BX_source_window = window.open(BX_root_dir+"showsource/index.html","_blank","");} |
throw _break; | throw $break; | all: function(iterator) { var result = true; this.each(function(value, index) { if (!(result &= (iterator || Prototype.K)(value, index))) throw _break; }); return result; }, |
return ( (document.body.filters) && | try { filter = document.body.filters; } catch (e) { } return ( filter && | OpenLayers.Util.alphaHack = function() { var arVersion = navigator.appVersion.split("MSIE"); var version = parseFloat(arVersion[1]); return ( (document.body.filters) && (version >= 5.5) && (version < 7) );} |
var alphaHack = ( (document.body.filters) && | return ( (document.body.filters) && | OpenLayers.Util.alphaHack = function() { var arVersion = navigator.appVersion.split("MSIE"); var version = parseFloat(arVersion[1]); var alphaHack = ( (document.body.filters) && (version >= 5.5) && (version < 7) );} |
} else if (argval.match(new RegExp("^shared,(.*)"))) { | } else if (args = argval.match(new RegExp("^shared,(.*)"))) { | function analyze_arg(argval){ var ret = new Array(); var shared = false; if (argval == "shared") { shared = true; argval = "yes"; } else if (argval == null) { /* nothing */ } else if (argval.match(new RegExp("^shared,(.*)"))) { shared = true; argval = $1; } ret[0] = shared; ret[1] = argval; return ret;} |
argval = $1; | argval = args[1]; } else if (args = argval.match(new RegExp("(.*),shared$"))) { shared = true; argval = args[1]; | function analyze_arg(argval){ var ret = new Array(); var shared = false; if (argval == "shared") { shared = true; argval = "yes"; } else if (argval == null) { /* nothing */ } else if (argval.match(new RegExp("^shared,(.*)"))) { shared = true; argval = $1; } ret[0] = shared; ret[1] = argval; return ret;} |
throw _break; | throw $break; | any: function(iterator) { var result = true; this.each(function(value, index) { if (result &= (iterator || Prototype.K)(value, index)) throw _break; }); return result; }, |
options = { | options = Object.extend({ | Effect.Appear = function(element) { options = { from: 0.0, to: 1.0, beforeStart: function(effect) { effect.setOpacity(0); Element.show(effect.element); }, afterUpdate: function(effect) { Element.show(effect.element); } }.extend(arguments[1] || {}); new Effect.Opacity(element,options);} |
}.extend(arguments[1] || {}); | }, arguments[1] || {}); | Effect.Appear = function(element) { options = { from: 0.0, to: 1.0, beforeStart: function(effect) { effect.setOpacity(0); Element.show(effect.element); }, afterUpdate: function(effect) { Element.show(effect.element); } }.extend(arguments[1] || {}); new Effect.Opacity(element,options);} |
afterFinishInternal: function(effect) { Element.forceRerendering(effect.element); }, | Effect.Appear = function(element) { var options = Object.extend({ from: (Element.getStyle(element, 'display') == 'none' ? 0.0 : Element.getOpacity(element) || 0.0), to: 1.0, beforeSetup: function(effect) { with(Element) { setOpacity(effect.element, effect.options.from); show(effect.element); }} }, argument... | |
afterFinishInternal: function(effect) { effect.element.innerHTML += ""; }, | Effect.Appear = function(element) { var options = Object.extend({ from: (Element.getStyle(element, 'display') == 'none' ? 0.0 : Element.getOpacity(element) || 0.0), to: 1.0, beforeSetup: function(effect) { with(Element) { setOpacity(effect.element, effect.options.from); show(effect.element); }} }, argument... | |
options = Object.extend({ from: 0.0, | var options = Object.extend({ from: (Element.getStyle(element, "display") == "none" ? 0.0 : Element.getOpacity(element) || 0.0), | Effect.Appear = function(element) { options = Object.extend({ from: 0.0, to: 1.0, beforeStart: function(effect) { effect.setOpacity(0); Element.show(effect.element); }, afterUpdate: function(effect) { Element.show(effect.element); } }, arguments[1] || {}); new Effect.Opacity(element,options);} |
beforeStart: function(effect) { effect.setOpacity(0); Element.show(effect.element); }, afterUpdate: function(effect) { Element.show(effect.element); } | beforeSetup: function(effect) { Element.setOpacity(effect.element, effect.options.from); Element.show(effect.element); } | Effect.Appear = function(element) { options = Object.extend({ from: 0.0, to: 1.0, beforeStart: function(effect) { effect.setOpacity(0); Element.show(effect.element); }, afterUpdate: function(effect) { Element.show(effect.element); } }, arguments[1] || {}); new Effect.Opacity(element,options);} |
new Effect.Opacity(element,options); | return new Effect.Opacity(element,options); | Effect.Appear = function(element) { options = Object.extend({ from: 0.0, to: 1.0, beforeStart: function(effect) { effect.setOpacity(0); Element.show(effect.element); }, afterUpdate: function(effect) { Element.show(effect.element); } }, arguments[1] || {}); new Effect.Opacity(element,options);} |
options = Object.extend({ | var options = Object.extend({ | Effect.Appear = function(element) { options = Object.extend({ from: 0.0, to: 1.0, beforeStart: function(effect) { effect.setOpacity(0); Element.show(effect.element); }, afterUpdate: function(effect) { Element.show(effect.element); } }, arguments[1] || {}); return new Effect.Opacity(element,optio... |
SeleniumIDE.appendCheck = function(event) { | SeleniumIDE.Overlay.appendCheck = function(event) { | SeleniumIDE.appendCheck = function(event) { var command = event.target._Selenium_IDE_command; SeleniumIDE.Loader.getTopEditor().addCommand(command.command, command.target, command.value, command.window);} |
var i, s, ar = h.match(new RegExp('\\{\\$[a-z0-9_]+\\}', 'gi')); | return h.replace(new RegExp('\\{\\$([a-z0-9_]+)\\}', 'gi'), function(m, s) { if (s.indexOf('lang_') == 0 && tinyMCELang[s]) return tinyMCELang[s]; | applyTemplate : function(h, as) { var i, s, ar = h.match(new RegExp('\\{\\$[a-z0-9_]+\\}', 'gi')); if (ar && ar.length > 0) { for (i=ar.length-1; i>=0; i--) { s = ar[i].substring(2, ar[i].length-1); if (s.indexOf('lang_') == 0 && tinyMCELang[s]) h = tinyMCE.replaceVar(h, s, tinyMCELang[s]); else if (a... |
if (ar && ar.length > 0) { for (i=ar.length-1; i>=0; i--) { s = ar[i].substring(2, ar[i].length-1); | if (as && as[s]) return as[s]; | applyTemplate : function(h, as) { var i, s, ar = h.match(new RegExp('\\{\\$[a-z0-9_]+\\}', 'gi')); if (ar && ar.length > 0) { for (i=ar.length-1; i>=0; i--) { s = ar[i].substring(2, ar[i].length-1); if (s.indexOf('lang_') == 0 && tinyMCELang[s]) h = tinyMCE.replaceVar(h, s, tinyMCELang[s]); else if (a... |
if (s.indexOf('lang_') == 0 && tinyMCELang[s]) h = tinyMCE.replaceVar(h, s, tinyMCELang[s]); else if (as && as[s]) h = tinyMCE.replaceVar(h, s, as[s]); else if (tinyMCE.settings[s]) h = tinyMCE.replaceVar(h, s, tinyMCE.settings[s]); } } | if (tinyMCE.settings[s]) return tinyMCE.settings[s]; | applyTemplate : function(h, as) { var i, s, ar = h.match(new RegExp('\\{\\$[a-z0-9_]+\\}', 'gi')); if (ar && ar.length > 0) { for (i=ar.length-1; i>=0; i--) { s = ar[i].substring(2, ar[i].length-1); if (s.indexOf('lang_') == 0 && tinyMCELang[s]) h = tinyMCE.replaceVar(h, s, tinyMCELang[s]); else if (a... |
h = tinyMCE.replaceVar(h, "themeurl", tinyMCE.themeURL); | if (m == 'themeurl') return tinyMCE.themeURL; | applyTemplate : function(h, as) { var i, s, ar = h.match(new RegExp('\\{\\$[a-z0-9_]+\\}', 'gi')); if (ar && ar.length > 0) { for (i=ar.length-1; i>=0; i--) { s = ar[i].substring(2, ar[i].length-1); if (s.indexOf('lang_') == 0 && tinyMCELang[s]) h = tinyMCE.replaceVar(h, s, tinyMCELang[s]); else if (a... |
return h; | return m; }); | applyTemplate : function(h, as) { var i, s, ar = h.match(new RegExp('\\{\\$[a-z0-9_]+\\}', 'gi')); if (ar && ar.length > 0) { for (i=ar.length-1; i>=0; i--) { s = ar[i].substring(2, ar[i].length-1); if (s.indexOf('lang_') == 0 && tinyMCELang[s]) h = tinyMCE.replaceVar(h, s, tinyMCELang[s]); else if (a... |
return Rico.Color.RGBtoHSB(this.rgb.r, this.rgb.g, this.rgb.b); | return OpenLayers.Rico.Color.RGBtoHSB(this.rgb.r, this.rgb.g, this.rgb.b); | asHSB: function() { return Rico.Color.RGBtoHSB(this.rgb.r, this.rgb.g, this.rgb.b); }, |
NotEquals.prototype.assert = function() { return "assertNotEquals(" + this.e1.toString() + ", " + this.e2.toString() + ")"; | EqualsArray.prototype.assert = function() { return this.assertOrVerify('assert'); | NotEquals.prototype.assert = function() { return "assertNotEquals(" + this.e1.toString() + ", " + this.e2.toString() + ")";} |
return "Assert.AreNotEqual(" + this.e1.toString() + ", " + this.e2.toString() + ")"; | return "Assert.AreNotEqual(" + this.e1.toString() + ", " + this.e2.toString() + ");"; | NotEquals.prototype.assert = function() { return "Assert.AreNotEqual(" + this.e1.toString() + ", " + this.e2.toString() + ")";} |
return expression.toString(); | return expression.toString() + ";"; | NotEquals.prototype.assert = function() { var expression = this.e2; expression.suffix = "_isnt"; expression.noGet = true; expression.args.push(this.e1); return expression.toString();} |
EqualsArray.prototype.assert = function() { return this.assertOrVerify('assert'); | NotEquals.prototype.assert = function() { return "assertNotEquals(" + this.e1.toString() + ", " + this.e2.toString() + ");"; | EqualsArray.prototype.assert = function() { return this.assertOrVerify('assert');} |
this.equals = function() { if (arguments.length == 2) { var comment = ""; var expected = arguments[0]; var actual = arguments[1]; } else { var comment = arguments[0] + " "; var expected = arguments[1]; var actual = arguments[2]; } if (expected === actual) { return; } var errorMessage = comment + "Expected '" + expecte... | this.patternMatcher = new PatternMatcher(); | function Assert() { this.equals = function() { if (arguments.length == 2) { var comment = ""; var expected = arguments[0]; var actual = arguments[1]; } else { var comment = arguments[0] + " "; var expected = arguments[1]; ... |
throw new Error("Message must be provided"); | throw new SeleniumError("Message must be provided"); | Selenium.prototype.assertErrorOnNext = function(message) { /** * Tell Selenium to expect an error on the next command execution. * @param message The error message we should expect. This command will fail if the wrong error message appears. */ // This command temporarily installs a CommandFactory t... |
var expectFailureCommandFactory = new ExpectFailureCommandFactory(currentTest.commandFactory, message, "error", executeCommandAndReturnErrorMessage); currentTest.commandFactory = expectFailureCommandFactory; | currentTest.expectedFailure = message; currentTest.expectedFailureType = "error"; currentTest.expectedFailureJustSet = true; | Selenium.prototype.assertErrorOnNext = function(message) { /** * Tell Selenium to expect an error on the next command execution. * @param message The error message we should expect. This command will fail if the wrong error message appears. */ // This command temporarily installs a CommandFactory t... |
throw new Error("Message must be provided"); | throw new SeleniumError("Message must be provided"); | Selenium.prototype.assertFailureOnNext = function(message) { /** * Tell Selenium to expect a failure on the next command execution. * @param message The failure message we should expect. This command will fail if the wrong failure message appears. */ // This command temporarily installs a CommandFa... |
var expectFailureCommandFactory = new ExpectFailureCommandFactory(currentTest.commandFactory, message, "failure", executeCommandAndReturnFailureMessage); currentTest.commandFactory = expectFailureCommandFactory; | currentTest.expectedFailure = message; currentTest.expectedFailureType = "failure"; currentTest.expectedFailureJustSet = true; | Selenium.prototype.assertFailureOnNext = function(message) { /** * Tell Selenium to expect a failure on the next command execution. * @param message The failure message we should expect. This command will fail if the wrong failure message appears. */ // This command temporarily installs a CommandFa... |
return "assert !" + expression.toString(); | return "assert " + expression.invert().toString(); | function assertFalse(expression) { return "assert !" + expression.toString();} |
return "assertFalse(" + expression.toString() + ")"; | return "assertFalse(" + expression.toString() + ");"; | function assertFalse(expression) { return "assertFalse(" + expression.toString() + ")";} |
return "Assert.IsFalse(" + expression.toString() + ")"; | return "Assert.IsFalse(" + expression.toString() + ");"; | function assertFalse(expression) { return "Assert.IsFalse(" + expression.toString() + ")";} |
return "ok(not " + expression.toString() + ")"; | return "ok(not " + expression.toString() + ");"; | function assertFalse(expression) { return "ok(not " + expression.toString() + ")";} |
return "assertTrue(" + expression.toString() + ")"; | return "assertTrue(" + expression.toString() + ");"; | function assertTrue(expression) { return "assertTrue(" + expression.toString() + ")";} |
return "Assert.IsTrue(" + expression.toString() + ")"; | return "Assert.IsTrue(" + expression.toString() + ");"; | function assertTrue(expression) { return "Assert.IsTrue(" + expression.toString() + ")";} |
return expression.toString(); | return expression.toString() + ";"; | function assertTrue(expression) { expression.suffix = "_ok"; return expression.toString();} |
} | }, | assertVisible: function(element) { this.assert(this._isVisible(element), Test.Unit.inspect(element) + " was not visible. " + ("" || arguments[1])); } |
addAnEvent(divs[i], 'mouseup', function(e){ | divs[i].onmouseup = function(e){ if (e==null) e = event; | function attachSliderEvents() { var divs=document.getElementsByTagName('div'); var divNum; for(var i=0; i<divs.length; i++) { if (divNum=divs[i].id.match(/\bslider(\d+)\b/)) { divNum=parseInt(divNum[1]); divs[i].min=slider[divNum].min; divs[i].max=slider[divNum].max; divs[i].val=slider[divNum].val; divs[i].o... |
}); | }; | function attachSliderEvents() { var divs=document.getElementsByTagName('div'); var divNum; for(var i=0; i<divs.length; i++) { if (divNum=divs[i].id.match(/\bslider(\d+)\b/)) { divNum=parseInt(divNum[1]); divs[i].min=slider[divNum].min; divs[i].max=slider[divNum].max; divs[i].val=slider[divNum].val; divs[i].o... |
var name = attNames[i]; locator += '@' + name + "=" + this.attributeValue(attributes[name]); | var attName = attNames[i]; locator += '@' + attName + "=" + this.attributeValue(attributes[attName]); | attributesXPath: function(name, attNames, attributes) { var locator = "//" + name + "["; for (var i = 0; i < attNames.length; i++) { if (i > 0) { locator += " and "; } var name = attNames[i]; locator += '@' + name + "=" + this.attributeValue(attributes[name]); } locator += "]"; return locator; }, |
locator += '@' + name + "=\'" + attributes[name].replace(/\"/g, """) + "\'"; | locator += '@' + name + "=" + this.attributeValue(attributes[name]); | attributesXPath: function(name, attNames, attributes) { var locator = "//" + name + "["; for (var i = 0; i < attNames.length; i++) { if (i > 0) { locator += " and "; } var name = attNames[i]; locator += '@' + name + "=\'" + attributes[name].replace(/\"/g, """) + "\'"; } locator += "]"; return loca... |
if (!tinyMCE.isMSIE && this.isHidden() && tinyMCE.getParam('auto_reset_designmode')) eval('try { this.getDoc().designMode = "On"; } catch(e) {}'); | if (!tinyMCE.isIE && this.isHidden() && tinyMCE.getParam('auto_reset_designmode')) eval('try { this.getDoc().designMode = "On"; this.useCSS = false; } catch(e) {}'); | autoResetDesignMode : function() { // Add fix for tab/style.display none/block problems in Gecko if (!tinyMCE.isMSIE && this.isHidden() && tinyMCE.getParam('auto_reset_designmode')) eval('try { this.getDoc().designMode = "On"; } catch(e) {}'); }, |
new Effect.Appear(update,{duration:0.15}); | Effect.Appear(update,{duration:0.15}); | baseInitialize: function(element, update, options) { this.element = $(element); this.update = $(update); this.hasFocus = false; this.changed = false; this.active = false; this.index = 0; this.entryCount = 0; if (this.setOptions) this.setOptions(optio... |
var offsets = Position.positionedOffset(element); update.style.left = offsets[0] + 'px'; update.style.top = (offsets[1] + element.offsetHeight) + 'px'; update.style.width = element.offsetWidth + 'px'; | Position.clone(element, update, {setHeight: false, offsetTop: element.offsetHeight}); | baseInitialize: function(element, update, options) { this.element = $(element); this.update = $(update); this.hasFocus = false; this.changed = false; this.active = false; this.index = 0; this.entryCount = 0; if (this.setOptions) this.setOptions(optio... |
this.element.setAttribute('autocomplete','off'); | baseInitialize: function(element, update, options) { this.element = $(element); this.update = $(update); this.hasFocus = false; this.changed = false; this.active = false; this.index = 0; this.entryCount = 0; if (this.setOptions) this.setOptions(optio... | |
var offsets = Position.cumulativeOffset(element); | var offsets = Position.positionedOffset(element); | baseInitialize: function(element, update, options) { this.element = $(element); this.update = $(update); this.hasFocus = false; this.changed = false; this.active = false; this.index = 0; this.entryCount = 0; if (this.setOptions) this.setOptions(optio... |
effect.effects[0].element.setStyle({position: 'absolute'}); }, | Position.absolutize(effect.effects[0].element) }, | beforeSetupInternal: function(effect) { effect.effects[0].element.setStyle({position: 'absolute'}); }, |
makePositioned(effect.element); | beforeStartInternal: function(effect) { with(Element) { makePositioned(effect.element.firstChild); if(window.opera) setStyle(effect.element, {top: ''}); makeClipping(effect.element); show(element); }}, | |
LOG.debug("testLoop.beginNextTest()"); | this.beginNextTest = function() { if (this.currentCommand) { // TODO: rename commandStarted to commandSelected, OR roll it into nextCommand this.commandStarted(this.currentCommand); this.resumeAfterDelay(); } else { this.testComplete(); } } | |
this.testComplete(); | this._testComplete(); | beginNextTest : function() { LOG.debug("currentTest.beginNextTest()"); if (this.currentCommand) { // TODO: rename commandStarted to commandSelected, OR roll it into nextCommand this.commandStarted(this.currentCommand); this._resumeAfterDelay(); } else { ... |
__method.apply(object, arguments); | return __method.apply(object, arguments); | Function.prototype.bind = function(object) { var __method = this; return function() { __method.apply(object, arguments); }} |
__method.call(object, event || window.event); | return __method.call(object, event || window.event); | Function.prototype.bindAsEventListener = function(object) { var __method = this; return function(event) { __method.call(object, event || window.event); }} |
{ scaleContent: false, | Object.extend({ scaleContent: false, | Effect.BlindDown = function(element) { $(element).style.height = '0px'; Element.makeClipping(element); Element.show(element); new Effect.Scale(element, 100, { scaleContent: false, scaleX: false, scaleMode: 'contents', scaleFrom: 0, afterFinish: function(effect) { Element.undoClipp... |
}.extend(arguments[1] || {}) | }, arguments[1] || {}) | Effect.BlindDown = function(element) { $(element).style.height = '0px'; Element.makeClipping(element); Element.show(element); new Effect.Scale(element, 100, { scaleContent: false, scaleX: false, scaleMode: 'contents', scaleFrom: 0, afterFinish: function(effect) { Element.undoClipp... |
scaleFrom: 0 | scaleFrom: 0, afterFinish: function(effect) { effect.element.style.overflow = effect.element._overflow; } | Effect.BlindDown = function(element) { $(element).style.height = '0px'; $(element).style.overflow = 'hidden'; Element.show(element); new Effect.Scale(element, 100, { scaleContent: false, scaleX: false, scaleMode: 'contents', scaleFrom: 0 }.extend(arguments[1] || {}) );} |
var oldHeight = Element.getStyle(element, 'height'); | Effect.BlindDown = function(element) { element = $(element); var oldHeight = Element.getStyle(element, 'height'); var elementDimensions = Element.getDimensions(element); return new Effect.Scale(element, 100, Object.extend({ scaleContent: false, scaleX: false, scaleFrom: 0, scaleMode: {originalHe... | |
afterFinishInternal: function(effect) { with(Element) { undoClipping(effect.element); setStyle(effect.element, {height: oldHeight}); }} | afterFinishInternal: function(effect) { Element.undoClipping(effect.element); } | Effect.BlindDown = function(element) { element = $(element); var oldHeight = Element.getStyle(element, 'height'); var elementDimensions = Element.getDimensions(element); return new Effect.Scale(element, 100, Object.extend({ scaleContent: false, scaleX: false, scaleFrom: 0, scaleMode: {originalHe... |
$(element).style.height = '0px'; | element = $(element); element.style.height = '0px'; | Effect.BlindDown = function(element) { $(element).style.height = '0px'; Element.makeClipping(element); Element.show(element); return new Effect.Scale(element, 100, Object.extend({ scaleContent: false, scaleX: false, scaleMode: 'contents', scaleFrom: 0, afterFinish: function(effect) { ... |
return new Effect.Scale(element, 100, Object.extend({ scaleContent: false, scaleX: false, scaleFrom: 0, scaleMode: {originalHeight: elementDimensions.height, originalWidth: elementDimensions.width}, restoreAfterFinish: true, afterSetup: function(effect) { effect.element.makeClipping(); effect.element.setStyle({height: ... | return new Effect.Scale(element, 100, $H({ scaleContent: false, scaleX: false, scaleFrom: 0, scaleMode: {originalHeight: elementDimensions.height, originalWidth: elementDimensions.width}, restoreAfterFinish: true, afterSetup: function(effect) { effect.element.makeClipping(); effect.element.setStyle({height: '0px'}); ef... | Effect.BlindDown = function(element) { element = $(element); var elementDimensions = element.getDimensions(); return new Effect.Scale(element, 100, Object.extend({ scaleContent: false, scaleX: false, scaleFrom: 0, scaleMode: {originalHeight: elementDimensions.height, originalWidth: elementDimensi... |
$(element).style.height = '0px'; Element.makeClipping(element); Element.show(element); new Effect.Scale(element, 100, | element = $(element); var oldHeight = element.style.height; var elementDimensions = Element.getDimensions(element); return new Effect.Scale(element, 100, | Effect.BlindDown = function(element) { $(element).style.height = '0px'; Element.makeClipping(element); Element.show(element); new Effect.Scale(element, 100, Object.extend({ scaleContent: false, scaleX: false, scaleMode: 'contents', scaleFrom: 0, afterFinish: function(effect) { Ele... |
scaleX: false, scaleMode: 'contents', | scaleX: false, | Effect.BlindDown = function(element) { $(element).style.height = '0px'; Element.makeClipping(element); Element.show(element); new Effect.Scale(element, 100, Object.extend({ scaleContent: false, scaleX: false, scaleMode: 'contents', scaleFrom: 0, afterFinish: function(effect) { Ele... |
afterFinish: function(effect) { | scaleMode: {originalHeight: elementDimensions.height, originalWidth: elementDimensions.width}, restoreAfterFinish: true, afterSetup: function(effect) { Element.makeClipping(effect.element); effect.element.style.height = "0px"; Element.show(effect.element); }, afterFinishInternal: function(effect) { | Effect.BlindDown = function(element) { $(element).style.height = '0px'; Element.makeClipping(element); Element.show(element); new Effect.Scale(element, 100, Object.extend({ scaleContent: false, scaleX: false, scaleMode: 'contents', scaleFrom: 0, afterFinish: function(effect) { Ele... |
effect.element.style.height = oldHeight; | Effect.BlindDown = function(element) { $(element).style.height = '0px'; Element.makeClipping(element); Element.show(element); new Effect.Scale(element, 100, Object.extend({ scaleContent: false, scaleX: false, scaleMode: 'contents', scaleFrom: 0, afterFinish: function(effect) { Ele... | |
return new Effect.Scale(element, 100, $H({ | return new Effect.Scale(element, 100, Object.extend({ | Effect.BlindDown = function(element) { element = $(element); var elementDimensions = element.getDimensions(); return new Effect.Scale(element, 100, $H({ scaleContent: false, scaleX: false, scaleFrom: 0, scaleMode: {originalHeight: elementDimensions.height, originalWidth: elementDimensions.width}, re... |
}).merge(arguments[1] || {})); | }, arguments[1] || {})); | Effect.BlindDown = function(element) { element = $(element); var elementDimensions = element.getDimensions(); return new Effect.Scale(element, 100, $H({ scaleContent: false, scaleX: false, scaleFrom: 0, scaleMode: {originalHeight: elementDimensions.height, originalWidth: elementDimensions.width}, re... |
{ scaleContent: false, | Object.extend({ scaleContent: false, | Effect.BlindUp = function(element) { Element.makeClipping(element); new Effect.Scale(element, 0, { scaleContent: false, scaleX: false, afterFinish: function(effect) { Element.hide(effect.element); Element.undoClipping(effect.element); } }.extend(arguments[1] || {}... |
}.extend(arguments[1] || {}) | }, arguments[1] || {}) | Effect.BlindUp = function(element) { Element.makeClipping(element); new Effect.Scale(element, 0, { scaleContent: false, scaleX: false, afterFinish: function(effect) { Element.hide(effect.element); Element.undoClipping(effect.element); } }.extend(arguments[1] || {}... |
{ Element.hide(effect.element) } | { Element.hide(effect.element); effect.element.style.overflow = effect.element._overflow; } | Effect.BlindUp = function(element) { $(element).style.overflow = 'hidden'; new Effect.Scale(element, 0, { scaleContent: false, scaleX: false, afterFinish: function(effect) { Element.hide(effect.element) } }.extend(arguments[1] || {}) );} |
element = $(element); | Effect.BlindUp = function(element) { Element.makeClipping(element); return new Effect.Scale(element, 0, Object.extend({ scaleContent: false, scaleX: false, afterFinish: function(effect) { Element.hide(effect.element); Element.undoClipping(effect.element); } }, arg... | |
new Effect.Scale(element, 0, | return new Effect.Scale(element, 0, | Effect.BlindUp = function(element) { Element.makeClipping(element); new Effect.Scale(element, 0, Object.extend({ scaleContent: false, scaleX: false, afterFinish: function(effect) { Element.hide(effect.element); Element.undoClipping(effect.element); } }, arguments[... |
afterFinish: function(effect) | restoreAfterFinish: true, afterFinishInternal: function(effect) | Effect.BlindUp = function(element) { Element.makeClipping(element); new Effect.Scale(element, 0, Object.extend({ scaleContent: false, scaleX: false, afterFinish: function(effect) { Element.hide(effect.element); Element.undoClipping(effect.element); } }, arguments[... |
window.setTimeout(execStrikethroughCommand, commandCount * commandDelay); | window.setTimeout(execBoldCommand, commandCount * commandDelay); | function boldCommand() { if (commandDelay > 0) { window.setTimeout(execStrikethroughCommand, commandCount * commandDelay); commandCount++; } else { execStrikethroughCommand(); }} |
execStrikethroughCommand(); | execBoldCommand(); | function boldCommand() { if (commandDelay > 0) { window.setTimeout(execStrikethroughCommand, commandCount * commandDelay); commandCount++; } else { execStrikethroughCommand(); }} |
window.setTimeout(execBoldCommand, commandCount * commandDelay); | window.setTimeout(execStrikethroughCommand, commandCount * commandDelay); | function boldCommand() { if (commandDelay > 0) { window.setTimeout(execBoldCommand, commandCount * commandDelay); commandCount++; } else { execBoldCommand(); }} |
execBoldCommand(); | execStrikethroughCommand(); | function boldCommand() { if (commandDelay > 0) { window.setTimeout(execBoldCommand, commandCount * commandDelay); commandCount++; } else { execBoldCommand(); }} |
if (row.hasStyleClass("breakpoint")) toggleBreakpoint(row, file, lineNum); else | if (row.hasStyleClass("breakpoint")) { if (!pendingAction) pendingAction = setTimeout(toggleBreakpoint, DebuggerDocument.doubleClickMilliseconds(), row, file, lineNum); } else | function breakpointAction(event){ var row = event.target.parentNode; var file = files[currentFile]; var lineNum = parseInt(event.target.title); if (row.hasStyleClass("breakpoint")) toggleBreakpoint(row, file, lineNum); else createBreakpoint(row, file, lineNum);} |
var row = event.target.parentNode; | function breakpointAction(event){ var row = event.target.parentNode; var file = files[currentFile]; var lineNum = parseInt(event.target.title); if (row.hasStyleClass("breakpoint")) { if (!pendingAction) pendingAction = setTimeout(toggleBreakpoint, DebuggerDocument.doubleClickMillisecon... | |
var lineNum = parseInt(event.target.title); | var lineNum = event.target.title; | function breakpointAction(event){ var row = event.target.parentNode; var file = files[currentFile]; var lineNum = parseInt(event.target.title); if (row.hasStyleClass("breakpoint")) { if (!pendingAction) pendingAction = setTimeout(toggleBreakpoint, DebuggerDocument.doubleClickMillisecon... |
if (row.hasStyleClass("breakpoint")) { | if (file.breakpoints[lineNum]) { | function breakpointAction(event){ var row = event.target.parentNode; var file = files[currentFile]; var lineNum = parseInt(event.target.title); if (row.hasStyleClass("breakpoint")) { if (!pendingAction) pendingAction = setTimeout(toggleBreakpoint, DebuggerDocument.doubleClickMillisecon... |
pendingAction = setTimeout(toggleBreakpoint, DebuggerDocument.doubleClickMilliseconds(), row, file, lineNum); | pendingAction = setTimeout(toggleBreakpointOnLine, DebuggerDocument.doubleClickMilliseconds(), lineNum); | function breakpointAction(event){ var row = event.target.parentNode; var file = files[currentFile]; var lineNum = parseInt(event.target.title); if (row.hasStyleClass("breakpoint")) { if (!pendingAction) pendingAction = setTimeout(toggleBreakpoint, DebuggerDocument.doubleClickMillisecon... |
createBreakpoint(row, file, lineNum); | file.breakpoints[lineNum] = new BreakPoint(event.target.parentNode, file, lineNum); | function breakpointAction(event){ var row = event.target.parentNode; var file = files[currentFile]; var lineNum = parseInt(event.target.title); if (row.hasStyleClass("breakpoint")) { if (!pendingAction) pendingAction = setTimeout(toggleBreakpoint, DebuggerDocument.doubleClickMillisecon... |
var sourcesDocument = document.getElementById("sources").contentDocument; | function breakpointDrag(event){ if (!draggingBreakpoint) { sourcesDocument.removeEventListener("mousemove", breakpointDrag, true); sourcesDocument.removeEventListener("mouseup", breakpointDragEnd, true); return; } var x = event.clientX + window.scrollX; var y = event.clientY + window.sc... | |
dragImage.style.opacity = "0"; | dragImage.style.visibility = "hidden"; | function breakpointDrag(event){ if (!draggingBreakpoint) { sourcesDocument.removeEventListener("mousemove", breakpointDrag, true); sourcesDocument.removeEventListener("mouseup", breakpointDragEnd, true); return; } var x = event.clientX + window.scrollX; var y = event.clientY + window.sc... |
dragImage.style.opacity = null; | dragImage.style.visibility = null; | function breakpointDrag(event){ if (!draggingBreakpoint) { sourcesDocument.removeEventListener("mousemove", breakpointDrag, true); sourcesDocument.removeEventListener("mouseup", breakpointDragEnd, true); return; } var x = event.clientX + window.scrollX; var y = event.clientY + window.sc... |
draggingBreakpoint.started = true; | 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) | var editor = file.breakpointEditors[lineNum]; if (editor) { node.childNodes[1].removeChild(editor); file.breakpointEditors[lineNum] = null; } draggingBreakpoint.started = true; if (draggingBreakpoint.isDisabled) | function breakpointDrag(event){ var sourcesDocument = document.getElementById("sources").contentDocument; if (!draggingBreakpoint) { sourcesDocument.removeEventListener("mousemove", breakpointDrag, true); sourcesDocument.removeEventListener("mouseup", breakpointDragEnd, true); sourcesDocument... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.