rem
stringlengths
0
126k
add
stringlengths
0
441k
context
stringlengths
15
136k
handle:function(a){var b,d;a=arguments[0]=c.event.fix(a||A.event);a.currentTarget=this;d=a.type.split(".");a.type=d.shift();b=!d.length&&!a.exclusive;var f=new RegExp("(^|\\.)"+d.slice(0).sort().join("\\.(?:.*\\.)?")+"(\\.|$)");d=(c.data(this,"events")||{})[a.type];for(var e in d){var i=d[e];if(b||f.test(i.type)){a.han...
f)c.event.trigger(a,b,f,true);else if(!a.isDefaultPrevented()){f=a.target;var i,o=c.nodeName(f,"a")&&e==="click",k=c.event.special[e]||{};if((!k._default||k._default.call(d,a)===false)&&!o&&!(f&&f.nodeName&&c.noData[f.nodeName.toLowerCase()])){try{if(f[e]){if(i=f["on"+e])f["on"+e]=null;c.event.triggered=true;f[e]()}}ca...
handle:function(a){var b,d;a=arguments[0]=c.event.fix(a||A.event);a.currentTarget=this;d=a.type.split(".");a.type=d.shift();b=!d.length&&!a.exclusive;var f=new RegExp("(^|\\.)"+d.slice(0).sort().join("\\.(?:.*\\.)?")+"(\\.|$)");d=(c.data(this,"events")||{})[a.type];for(var e in d){var i=d[e];if(b||f.test(i.type)){a.han...
null}};try{var h=x.abort;x.abort=function(){if(x){h.call(x);if(x)x.readyState=0}g()}}catch(k){}e.async&&e.timeout>0&&setTimeout(function(){x&&!F&&g("timeout")},e.timeout);try{x.send(n==="POST"||n==="PUT"||n==="DELETE"?e.data:null)}catch(m){c.handleError(e,x,null,m);d()}e.async||g();return x}},handleError:function(a,b,d...
g("abort")}}catch(l){}e.async&&e.timeout>0&&setTimeout(function(){x&&!E&&g("timeout")},e.timeout);try{x.send(n==="POST"||n==="PUT"||n==="DELETE"?e.data:null)}catch(m){c.handleError(e,x,null,m);d()}e.async||g();return x}},handleError:function(a,b,d,f){if(a.error)a.error.call(a.context||a,b,d,f);if(a.global)(a.context?c(...
null}};try{var h=x.abort;x.abort=function(){if(x){h.call(x);if(x)x.readyState=0}g()}}catch(k){}e.async&&e.timeout>0&&setTimeout(function(){x&&!F&&g("timeout")},e.timeout);try{x.send(n==="POST"||n==="PUT"||n==="DELETE"?e.data:null)}catch(m){c.handleError(e,x,null,m);d()}e.async||g();return x}},handleError:function(a,b,d...
delayedCommandTimeout = null; }, options.displayDelayTime);
createCompletionListPending = false; if (createCompletionListQueued) { createCompletionListQueued = false; delayedCommandTimeout = setTimeout(arguments.callee, options.displayDelayTime); } }, options.displayDelayTime);
function handleKeyUpSelector(aEvent) { /** * Without this cause exception about selection */ if (!currentCallback) return; if (textbox.value.length !== oldTextLength) { if (delayedCommandTimeout) clearTimeout(delayedCommandTimeout); ...
oldTextLength = textbox.selectionEnd;
oldTextLength = textbox.value.length;
function handleKeyUpSelector(aEvent) { /** * Without this cause exception about selection */ if (!currentCallback) return; if (textbox.value.length !== oldTextLength) { if (delayedCommandTimeout) clearTimeout(delayedCommandTimeout); ...
var body = JSON.stringify( {'session': this.key}) this.renderResponse(response, body);
this.renderResponse(response, JSON.stringify( {'session': this.key}));
handshake: function (request, response) { // debug('calling stringify'); var body = JSON.stringify( {'session': this.key}) // debug('stringify called'); this.renderResponse(response, body); },
g);return false}else if(n.match.POS.test(g[0])||n.match.CHILD.test(g[0]))return true;return g},POS:function(g){g.unshift(true);return g}},filters:{enabled:function(g){return g.disabled===false&&g.type!=="hidden"},disabled:function(g){return g.disabled===true},checked:function(g){return g.checked===true},selected:functi...
c.find(a,this[f],b);if(f>0)for(var j=d;j<b.length;j++)for(var i=0;i<d;i++)if(b[i]===b[j]){b.splice(j--,1);break}}return b},has:function(a){var b=c(a);return this.filter(function(){for(var d=0,f=b.length;d<f;d++)if(c.contains(this,b[d]))return true})},not:function(a){return this.pushStack(Ia(this,a,false),"not",a)},filt...
g);return false}else if(n.match.POS.test(g[0])||n.match.CHILD.test(g[0]))return true;return g},POS:function(g){g.unshift(true);return g}},filters:{enabled:function(g){return g.disabled===false&&g.type!=="hidden"},disabled:function(g){return g.disabled===true},checked:function(g){return g.checked===true},selected:functi...
return sc_super() && leftDuration == topDuration;
if (leftDuration !== topDuration) { return NO; } else if ((topDuration || leftDuration) && !SC.platform.supportsCSSTransitions) { return NO; } else { return sc_super(); }
hasAcceleratedLayer: function(){ var leftDuration = this.transitions['left'] && this.transitions['left'].duration, topDuration = this.transitions['top'] && this.transitions['top'].duration; return sc_super() && leftDuration == topDuration; }.property('wantsAcceleratedLayer', 'transitions'),
if (leftDuration !== topDuration) { return NO; } else if ((topDuration || leftDuration) && !SC.platform.supportsCSSTransitions) { return NO; } else { return sc_super(); }
return sc_super() && leftDuration == topDuration;
hasAcceleratedLayer: function(){ var leftDuration = this.transitions['left'] && this.transitions['left'].duration, topDuration = this.transitions['top'] && this.transitions['top'].duration; if (leftDuration !== topDuration) { return NO; } else if ((topDuration || leftDuration) && !SC.platform.sup...
}.property('wantsAcceleratedLayer', 'layout').cacheable(),
}.property('wantsAcceleratedLayer').cacheable(),
hasAcceleratedLayer: function(){ if (this.get('wantsAcceleratedLayer') && SC.platform.supportsAcceleratedLayers) { var layout = this.get('layout'), key; if (layout['animateTop'] || layout['animateLeft']) { for (key in layout) { // If we're animating other transforms at different speeds, d...
Element.hasAttribute = function(element, attribute) { if (element.hasAttribute) return element.hasAttribute(attribute); return Element.Methods.Simulated.hasAttribute(element, attribute); };
var Prototype={Version:"1.6.1",Browser:(function(){var b=navigator.userAgent;var a=Object.prototype.toString.call(window.opera)=="[object Opera]";return{IE:!!window.attachEvent&&!a,Opera:a,WebKit:b.indexOf("AppleWebKit/")>-1,Gecko:b.indexOf("Gecko")>-1&&b.indexOf("KHTML")===-1,MobileSafari:/Apple.*Mobile.*Safari/.test(...
Element.hasAttribute = function(element, attribute) { if (element.hasAttribute) return element.hasAttribute(attribute); return Element.Methods.Simulated.hasAttribute(element, attribute);};
b){var d=typeof a,f=typeof b==="boolean";if(c.isFunction(a))return this.each(function(e){var i=c(this);i.toggleClass(a.call(this,e,i.attr("class"),b),b)});return this.each(function(){if(d==="string")for(var e,i=0,j=c(this),o=b,p=a.split(fa);e=p[i++];){o=f?o:!j.hasClass(e);j[o?"addClass":"removeClass"](e)}else if(d==="u...
this.className||a===false?"":c.data(this,"__className__")||""}})},hasClass:function(a){a=" "+a+" ";for(var b=0,d=this.length;b<d;b++)if((" "+this[b].className+" ").replace(Aa," ").indexOf(a)>-1)return true;return false},val:function(a){if(a===w){var b=this[0];if(b){if(c.nodeName(b,"option"))return(b.attributes.value||{...
b){var d=typeof a,f=typeof b==="boolean";if(c.isFunction(a))return this.each(function(e){var i=c(this);i.toggleClass(a.call(this,e,i.attr("class"),b),b)});return this.each(function(){if(d==="string")for(var e,i=0,j=c(this),o=b,p=a.split(fa);e=p[i++];){o=f?o:!j.hasClass(e);j[o?"addClass":"removeClass"](e)}else if(d==="u...
hasClassName: function(element, className) { if (!(element = $(element))) return; var elementClassName = element.className; return (elementClassName.length > 0 && (elementClassName == className || new RegExp("(^|\\s)" + className + "(\\s|$)").test(elementClassName))); },
var Prototype={Version:"1.6.1",Browser:(function(){var b=navigator.userAgent;var a=Object.prototype.toString.call(window.opera)=="[object Opera]";return{IE:!!window.attachEvent&&!a,Opera:a,WebKit:b.indexOf("AppleWebKit/")>-1,Gecko:b.indexOf("Gecko")>-1&&b.indexOf("KHTML")===-1,MobileSafari:/Apple.*Mobile.*Safari/.test(...
hasClassName: function(element, className) { if (!(element = $(element))) return; var elementClassName = element.className; return (elementClassName.length > 0 && (elementClassName == className || new RegExp("(^|\\s)" + className + "(\\s|$)").test(elementClassName))); },
for (let [cmd, args] in this._subCommands(command))
for (let [cmd, args] in this.subCommands(command))
hasDomain: function (command, host) { try { for (let [cmd, args] in this._subCommands(command)) if (Array.concat(cmd.domains(args)).some(function (domain) util.isSubdomain(domain, host))) return true; } catch (e) { dactyl.reportError(e); ...
let [, head, tail] = spec.match(/([^[]+)(?:\[(.*)])?/);
let [, head, tail] = /([^[]+)(?:\[(.*)])?/.exec(spec);
hasName: function (name) { return this.specs.some(function (spec) { let [, head, tail] = spec.match(/([^[]+)(?:\[(.*)])?/); return name.indexOf(head) == 0 && (head + (tail || "")).indexOf(name) == 0; }); },
if (observers && observers.members.length > 0) return YES ;
if (observers && observers.getMembers().length > 0) return YES ;
hasObserverFor: function(key) { SC.Observers.flush(this) ; // hookup as many observers as possible. var observers = this[SC.keyFor('_kvo_observers', key)], locals = this[SC.keyFor('_kvo_local', key)], members ; if (locals && locals.length>0) return YES ; if (observers && observers.members...
for (let [cmd, args] in this._subCommands(command))
for (let [cmd, args] in this.subCommands(command))
hasPrivateData: function (command) { for (let [cmd, args] in this._subCommands(command)) if (cmd.privateData) return !callable(cmd.privateData) || cmd.privateData(args); return false; },
var bindingType = bindingTypeByType(bindingTypes, bindings[i].type);
var bindingType = objectByType(bindings[i].type, bindingTypes);
function hasSufficientColumns(bindingTypes, xsdTypes, bindings){ for (var i in bindings) { var columns = columnsByBinding(bindings[i], xsdTypes); var bindingType = bindingTypeByType(bindingTypes, bindings[i].type);//alert("BINDING TYPE: " + bindingType.toSource());//alert(binding.type + " Columns: " + colu...
<ul><li>F1 will bring up this screen. </li>\
<ul> \
Speeqe.helpDialogInit = function() { var help_dialog_html = " <div id=\"popupContact\"> \ <a id=\"popupContactClose\">x</a> \ <h1>Speeqe Help.</h1> \ <p id=\"contactArea\"> \ <h2>Keyboard shortcuts.</h2> \ <ul><li>F1 will bring up this screen. </li>\ ...
var f1_keycode = 112; if(jQuery.browser.safari) { f1_keycode = 63236; }
Speeqe.helpDialogInit = function() { var help_dialog_html = " <div id=\"popupContact\"> \ <a id=\"popupContactClose\">x</a> \ <h1>Speeqe Help.</h1> \ <p id=\"contactArea\"> \ <h2>Keyboard shortcuts.</h2> \ <ul><li>F1 will bring up this screen. </li>\ ...
if(e.keyCode == f1_keycode) { Speeqe.loadHelpDialog(); return false; }
Speeqe.helpDialogInit = function() { var help_dialog_html = " <div id=\"popupContact\"> \ <a id=\"popupContactClose\">x</a> \ <h1>Speeqe Help.</h1> \ <p id=\"contactArea\"> \ <h2>Keyboard shortcuts.</h2> \ <ul><li>F1 will bring up this screen. </li>\ ...
f[e]}});if(c.expr&&c.expr.filters){c.expr.filters.hidden=function(a){var b=a.offsetWidth,d=a.offsetHeight,f=a.nodeName.toLowerCase()==="tr";return b===0&&d===0&&!f?true:b>0&&d>0&&!f?false:c.curCSS(a,"display")==="none"};c.expr.filters.visible=function(a){return!c.expr.filters.hidden(a)}}var qb=K(),rb=/<script(.|\s)*?\/...
a.getPropertyValue(b);if(b==="opacity"&&f==="")f="1"}else if(a.currentStyle){d=b.replace(ia,ja);f=a.currentStyle[b]||a.currentStyle[d];if(!mb.test(f)&&nb.test(f)){b=e.left;var j=a.runtimeStyle.left;a.runtimeStyle.left=a.currentStyle.left;e.left=d==="fontSize"?"1em":f||0;f=e.pixelLeft+"px";e.left=b;a.runtimeStyle.left=j...
f[e]}});if(c.expr&&c.expr.filters){c.expr.filters.hidden=function(a){var b=a.offsetWidth,d=a.offsetHeight,f=a.nodeName.toLowerCase()==="tr";return b===0&&d===0&&!f?true:b>0&&d>0&&!f?false:c.curCSS(a,"display")==="none"};c.expr.filters.visible=function(a){return!c.expr.filters.hidden(a)}}var qb=K(),rb=/<script(.|\s)*?\/...
hide: function(){ this.onLoad(); },
hide : function(){ this.focus.defer(10, this); var ml = this.menuListeners; this.menu.un("select", ml.select, this); this.menu.un("show", ml.show, this); this.menu.un("hide", ml.hide, this); }
hide: function(){ this.onLoad(); },
if (this._top) this._top.removeEventListener("resize", this._resizeTimer.closure.tell, true); this._top = null;
hide: function () { this._removeHints(0); },
"width"||this.prop==="height"?1:0,this.cur());c(this.elem).show()},hide:function(){this.options.orig[this.prop]=c.style(this.elem,this.prop);this.options.hide=true;this.custom(this.cur(),0)},step:function(a){var b=K(),d=true;if(a||b>=this.options.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.upd...
this.pos=this.state=0;var e=this;f.elem=this.elem;if(f()&&c.timers.push(f)&&!W)W=setInterval(c.fx.tick,13)},show:function(){this.options.orig[this.prop]=c.style(this.elem,this.prop);this.options.show=true;this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur());c(this.elem).show()},hide:function(){this.opt...
"width"||this.prop==="height"?1:0,this.cur());c(this.elem).show()},hide:function(){this.options.orig[this.prop]=c.style(this.elem,this.prop);this.options.hide=true;this.custom(this.cur(),0)},step:function(a){var b=K(),d=true;if(a||b>=this.options.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.upd...
hide: function(element) { element = $(element); element.style.display = 'none'; return element; },
var Prototype={Version:"1.6.1",Browser:(function(){var b=navigator.userAgent;var a=Object.prototype.toString.call(window.opera)=="[object Opera]";return{IE:!!window.attachEvent&&!a,Opera:a,WebKit:b.indexOf("AppleWebKit/")>-1,Gecko:b.indexOf("Gecko")>-1&&b.indexOf("KHTML")===-1,MobileSafari:/Apple.*Mobile.*Safari/.test(...
hide: function(element) { element = $(element); element.style.display = 'none'; return element; },
$('blocker').remove(); $$('.loader').invoke('removeClassName', 'loadingImage').invoke('update', lastStr);
var loaders = $$('.loader'); if (loaders.length > 0) { loaders.invoke('removeClassName', 'loadingImage').invoke('update', lastStr); }
var hideLoading = function(ajaxObj) { $('blocker').remove(); $$('.loader').invoke('removeClassName', 'loadingImage').invoke('update', lastStr); // focus all first form input element var inputEl = $$('input[type=text]'); if (inputEl.length > 0) {inputEl[0].focus();} $(lastAJAXcontainer).registerAJAXEvents...
$$('input[type=text]')[0].focus();
var inputEl = $$('input[type=text]'); if (inputEl.length > 0) {inputEl[0].focus();}
var hideLoading = function(ajaxObj){ $('blocker').remove(); $$('.loader').invoke('removeClassName', 'loadingImage').invoke('update', lastStr); // focus all first form input element $$('input[type=text]')[0].focus(); $(lastAJAXcontainer).registerAJAXEvents();}
if (this.get('escapeHTML')) hintVal = SC.RenderContext.escapeHTML(hintVal);
hintValue: function() { var hintVal = this.get('hint'); if (this.get('escapeHTML')) hintVal = SC.RenderContext.escapeHTML(hintVal); return hintVal ; }.property('hint', 'escapeHTML').cacheable(),
}.property('hint', 'escapeHTML').cacheable(),
}.property('hint').cacheable(),
hintValue: function() { var hintVal = this.get('hint'); if (this.get('escapeHTML')) hintVal = SC.RenderContext.escapeHTML(hintVal); return hintVal ; }.property('hint', 'escapeHTML').cacheable(),
this.addUndoLevel(this.updateTo(i,"applyChain"));this.notifyEnvironment();return this.chainNode(i)}},clear:function(){this.history=[];this.redoHistory=[]},historySize:function(){return{undo:this.history.length,redo:this.redoHistory.length}},push:function(i,p,k){for(var n=[],o=0;o<k.length;o++){var q=o==k.length-1?p:thi...
b,c){this.editor.replaceChars(a,b,c)},getSearchCursor:function(a,b,c){return this.editor.getSearchCursor(a,b,c)},undo:function(){this.editor.history.undo()},redo:function(){this.editor.history.redo()},historySize:function(){return this.editor.history.historySize()},clearHistory:function(){this.editor.history.clear()},g...
this.addUndoLevel(this.updateTo(i,"applyChain"));this.notifyEnvironment();return this.chainNode(i)}},clear:function(){this.history=[];this.redoHistory=[]},historySize:function(){return{undo:this.history.length,redo:this.redoHistory.length}},push:function(i,p,k){for(var n=[],o=0;o<k.length;o++){var q=o==k.length-1?p:thi...
b){return this.each(function(){c.event.trigger(a,b,this)})},triggerHandler:function(a,b){if(this[0]){a=c.Event(a);a.preventDefault();a.stopPropagation();c.event.trigger(a,b,this[0]);return a.result}},toggle:function(a){for(var b=arguments,d=1;d<b.length;)c.proxy(a,b[d++]);return this.click(c.proxy(a,function(f){var e=(...
toggle:function(a){for(var b=arguments,d=1;d<b.length;)c.proxy(a,b[d++]);return this.click(c.proxy(a,function(f){var e=(c.data(this,"lastToggle"+a.guid)||0)%d;c.data(this,"lastToggle"+a.guid,e+1);f.preventDefault();return b[e].apply(this,arguments)||false}))},hover:function(a,b){return this.mouseenter(a).mouseleave(b||...
b){return this.each(function(){c.event.trigger(a,b,this)})},triggerHandler:function(a,b){if(this[0]){a=c.Event(a);a.preventDefault();a.stopPropagation();c.event.trigger(a,b,this[0]);return a.result}},toggle:function(a){for(var b=arguments,d=1;d<b.length;)c.proxy(a,b[d++]);return this.click(c.proxy(a,function(f){var e=(...
"after",arguments);a.push.apply(a,c(arguments[0]).toArray());return a}},clone:function(a){var b=this.map(function(){if(!c.support.noCloneEvent&&!c.isXMLDoc(this)){var d=this.outerHTML,f=this.ownerDocument;if(!d){d=f.createElement("div");d.appendChild(this.cloneNode(true));d=d.innerHTML}return c.clean([d.replace(Ga,"")....
return this},clone:function(a){var b=this.map(function(){if(!c.support.noCloneEvent&&!c.isXMLDoc(this)){var d=this.outerHTML,f=this.ownerDocument;if(!d){d=f.createElement("div");d.appendChild(this.cloneNode(true));d=d.innerHTML}return c.clean([d.replace(Ja,"").replace(/=([^="'>\s]+\/)>/g,'="$1">').replace(V,"")],f)[0]}...
"after",arguments);a.push.apply(a,c(arguments[0]).toArray());return a}},clone:function(a){var b=this.map(function(){if(!c.support.noCloneEvent&&!c.isXMLDoc(this)){var d=this.outerHTML,f=this.ownerDocument;if(!d){d=f.createElement("div");d.appendChild(this.cloneNode(true));d=d.innerHTML}return c.clean([d.replace(Ga,"")....
if (value === undefined) return jQuery.fn.html.apply(this, arguments);
if (value === undefined) { if (this.length < 1) return undefined; return jQuery.Buffer.bufferForElement(this[i]).html(); }
html: function(value) { // if there is no value, we don't handle it. if (value === undefined) return jQuery.fn.html.apply(this, arguments); // there is a vlaue. We are going to do it like jquery, but different. // in this, we inline "buffers" above var len = this.length, i; for (i = 0; i < len; ...
"file:"||a.status>=200&&a.status<300||a.status===304||a.status===1223||a.status===0}catch(b){}return false},httpNotModified:function(a,b){var d=a.getResponseHeader("Last-Modified"),f=a.getResponseHeader("Etag");if(d)c.lastModified[b]=d;if(f)c.etag[b]=f;return a.status===304||a.status===0},httpData:function(a,b,d){var f...
1223||a.status===0}catch(b){}return false},httpNotModified:function(a,b){var d=a.getResponseHeader("Last-Modified"),f=a.getResponseHeader("Etag");if(d)c.lastModified[b]=d;if(f)c.etag[b]=f;return a.status===304||a.status===0},httpData:function(a,b,d){var f=a.getResponseHeader("content-type")||"",e=b==="xml"||!b&&f.index...
"file:"||a.status>=200&&a.status<300||a.status===304||a.status===1223||a.status===0}catch(b){}return false},httpNotModified:function(a,b){var d=a.getResponseHeader("Last-Modified"),f=a.getResponseHeader("Etag");if(d)c.lastModified[b]=d;if(f)c.etag[b]=f;return a.status===304||a.status===0},httpData:function(a,b,d){var f...
"file:"||a.status>=200&&a.status<300||a.status===304||a.status===1223||a.status===0}catch(b){}return false},httpNotModified:function(a,b){var d=a.getResponseHeader("Last-Modified"),f=a.getResponseHeader("Etag");if(d)c.lastModified[b]=d;if(f)c.etag[b]=f;return a.status===304||a.status===0},httpData:function(a,b,d){var f...
1223||a.status===0}catch(b){}return false},httpNotModified:function(a,b){var d=a.getResponseHeader("Last-Modified"),f=a.getResponseHeader("Etag");if(d)c.lastModified[b]=d;if(f)c.etag[b]=f;return a.status===304||a.status===0},httpData:function(a,b,d){var f=a.getResponseHeader("content-type")||"",e=b==="xml"||!b&&f.index...
"file:"||a.status>=200&&a.status<300||a.status===304||a.status===1223||a.status===0}catch(b){}return false},httpNotModified:function(a,b){var d=a.getResponseHeader("Last-Modified"),f=a.getResponseHeader("Etag");if(d)c.lastModified[b]=d;if(f)c.etag[b]=f;return a.status===304||a.status===0},httpData:function(a,b,d){var f...
null}};try{var h=x.abort;x.abort=function(){if(x){h.call(x);if(x)x.readyState=0}g()}}catch(k){}e.async&&e.timeout>0&&setTimeout(function(){x&&!F&&g("timeout")},e.timeout);try{x.send(n==="POST"||n==="PUT"||n==="DELETE"?e.data:null)}catch(m){c.handleError(e,x,null,m);d()}e.async||g();return x}},handleError:function(a,b,d...
g("abort")}}catch(l){}e.async&&e.timeout>0&&setTimeout(function(){x&&!E&&g("timeout")},e.timeout);try{x.send(n==="POST"||n==="PUT"||n==="DELETE"?e.data:null)}catch(m){c.handleError(e,x,null,m);d()}e.async||g();return x}},handleError:function(a,b,d,f){if(a.error)a.error.call(a.context||a,b,d,f);if(a.global)(a.context?c(...
null}};try{var h=x.abort;x.abort=function(){if(x){h.call(x);if(x)x.readyState=0}g()}}catch(k){}e.async&&e.timeout>0&&setTimeout(function(){x&&!F&&g("timeout")},e.timeout);try{x.send(n==="POST"||n==="PUT"||n==="DELETE"?e.data:null)}catch(m){c.handleError(e,x,null,m);d()}e.async||g();return x}},handleError:function(a,b,d...
equals(view.$('img.icon').size(), 0, 'should not have image');
ok(!cq.hasClass('has-icon'), "should not have has-icon class"); equals(iconCQ.size(), 0, 'should not have image');
function icon(view, spriteName) { if (spriteName === null) { equals(view.$('img.icon').size(), 0, 'should not have image'); } else { var cq = view.$('img.icon'); equals(cq.size(), 1, 'should have icon'); ok(cq.hasClass(spriteName), 'icon should have class name %@'.fmt(spriteName)); }}
var cq = view.$('img.icon'); equals(cq.size(), 1, 'should have icon'); ok(cq.hasClass(spriteName), 'icon should have class name %@'.fmt(spriteName));
ok(cq.hasClass('has-icon'), "should have has-icon class"); equals(iconCQ.size(), 1, 'should have icon'); ok(iconCQ.hasClass(spriteName), 'icon should have class name %@'.fmt(spriteName));
function icon(view, spriteName) { if (spriteName === null) { equals(view.$('img.icon').size(), 0, 'should not have image'); } else { var cq = view.$('img.icon'); equals(cq.size(), 1, 'should have icon'); ok(cq.hasClass(spriteName), 'icon should have class name %@'.fmt(spriteName)); }}
TYPO3.Backend.Seminars.IconRenderer = function(value, metaData, record, rowIndex, colIndex, store) { metaData.css = value;
TYPO3.Backend.Seminars.Organizers.IconRenderer = function(value, metaData, record, rowIndex, colIndex, store) { metaData.css = 'typo3-backend-seminars-organizer-icon';
TYPO3.Backend.Seminars.IconRenderer = function(value, metaData, record, rowIndex, colIndex, store) { metaData.css = value; metaData.attr = ' title="id=' + record.get('uid') + '";' return '';};
h=h.getElementsByName(g[1]);for(var m=0,r=h.length;m<r;m++)h[m].getAttribute("name")===g[1]&&k.push(h[m]);return k.length===0?null:k}},TAG:function(g,h){return h.getElementsByTagName(g[1])}},preFilter:{CLASS:function(g,h,k,m,r,q){g=" "+g[1].replace(/\\/g,"")+" ";if(q)return g;q=0;for(var v;(v=h[q])!=null;q++)if(v)if(r^...
q.getAttributeNode("id").nodeValue===m[1]?[q]:w:[]};n.filter.ID=function(m,q){var p=typeof m.getAttributeNode!=="undefined"&&m.getAttributeNode("id");return m.nodeType===1&&p&&p.nodeValue===q}}l.removeChild(g);l=g=null})();(function(){var g=s.createElement("div");g.appendChild(s.createComment(""));if(g.getElementsByTag...
h=h.getElementsByName(g[1]);for(var m=0,r=h.length;m<r;m++)h[m].getAttribute("name")===g[1]&&k.push(h[m]);return k.length===0?null:k}},TAG:function(g,h){return h.getElementsByTagName(g[1])}},preFilter:{CLASS:function(g,h,k,m,r,q){g=" "+g[1].replace(/\\/g,"")+" ";if(q)return g;q=0;for(var v;(v=h[q])!=null;q++)if(v)if(r^...
identify: function(element) { element = $(element); var id = element.readAttribute('id'), self = arguments.callee; if (id) return id; do { id = 'anonymous_element_' + self.counter++ } while ($(id)); element.writeAttribute('id', id); return id; },
var Prototype={Version:"1.6.1",Browser:(function(){var b=navigator.userAgent;var a=Object.prototype.toString.call(window.opera)=="[object Opera]";return{IE:!!window.attachEvent&&!a,Opera:a,WebKit:b.indexOf("AppleWebKit/")>-1,Gecko:b.indexOf("Gecko")>-1&&b.indexOf("KHTML")===-1,MobileSafari:/Apple.*Mobile.*Safari/.test(...
identify: function(element) { element = $(element); var id = element.readAttribute('id'), self = arguments.callee; if (id) return id; do { id = 'anonymous_element_' + self.counter++ } while ($(id)); element.writeAttribute('id', id); return id; },
if (isVisible(f.frameElement)) {
if (elem instanceof HTMLAreaElement)
if (isVisible(f.frameElement)) {
timeout : 5000,
ignore: function(word) { AtD_ajax_load('show'); jQuery.ajax({ type : 'POST', url : AtD.rpc_ignore + encodeURI( word ).replace( /&/g, '%26'), data: "action=atd_ignore", format : 'raw', error : function(XHR, status, error) { if (AtD.callback_f != undefined && AtD.callback_f.error != unde...
height:220,
height:230,
DcmgrGUI.prototype.imagePanel = function(){ var total = 0; var maxrow = 10; var page = 1; var list_request = { "url":DcmgrGUI.Util.getPagePath('/images/list/',page), "data" : DcmgrGUI.Util.getPagenateData(page,maxrow) } DcmgrGUI.List.prototype.getEmptyData = function(){ return [{ "id":'', "w...
c_list.element.bind('dcmgrGUI.beforeUpdate',function(){ $("#list_load_mask").mask("Loading..."); });
DcmgrGUI.prototype.imagePanel = function(){ var total = 0; var maxrow = 10; var page = 1; var list_request = { "url":DcmgrGUI.Util.getPagePath('/images/list/',page), "data" : DcmgrGUI.Util.getPagenateData(page,maxrow) } DcmgrGUI.List.prototype.getEmptyData = function(){ return [{ "id":'', "w...
$("#list_load_mask").unmask();
DcmgrGUI.prototype.imagePanel = function(){ var total = 0; var maxrow = 10; var page = 1; var list_request = { "url":DcmgrGUI.Util.getPagePath('/images/list/',page), "data" : DcmgrGUI.Util.getPagenateData(page,maxrow) } DcmgrGUI.List.prototype.getEmptyData = function(){ return [{ "id":'', "w...
var list_request = { "url":DcmgrGUI.Util.getPagePath('/images/show/',1) }
var c_pagenate = new DcmgrGUI.Pagenate({ row:maxrow, total:total });
DcmgrGUI.prototype.imagePanel = function(){ DcmgrGUI.List.prototype.getEmptyData = function(){ return [{ "id":'', "wmi_id":'', "source":'', "owner":'', "visibility":'', "state":'' }] } DcmgrGUI.Detail.prototype.getEmptyData = function(){ return { "name" : "-", ...
template_id:'#imagesListTemplate'
template_id:'#imagesListTemplate', maxrow:maxrow, page:page
DcmgrGUI.prototype.imagePanel = function(){ DcmgrGUI.List.prototype.getEmptyData = function(){ return [{ "id":'', "wmi_id":'', "source":'', "owner":'', "visibility":'', "state":'' }] } DcmgrGUI.Detail.prototype.getEmptyData = function(){ return { "name" : "-", ...
detail_path:'/images/detail/'
detail_path:'/images/show/'
DcmgrGUI.prototype.imagePanel = function(){ DcmgrGUI.List.prototype.getEmptyData = function(){ return [{ "id":'', "wmi_id":'', "source":'', "owner":'', "visibility":'', "state":'' }] } DcmgrGUI.Detail.prototype.getEmptyData = function(){ return { "name" : "-", ...
c_list.setData(params.data);
var image = params.data.image; c_pagenate.changeTotal(image.owner_total); c_list.setData(image.results);
DcmgrGUI.prototype.imagePanel = function(){ DcmgrGUI.List.prototype.getEmptyData = function(){ return [{ "id":'', "wmi_id":'', "source":'', "owner":'', "visibility":'', "state":'' }] } DcmgrGUI.Detail.prototype.getEmptyData = function(){ return { "name" : "-", ...
}); var c_pagenate = new DcmgrGUI.Pagenate({ row:10, total:30
DcmgrGUI.prototype.imagePanel = function(){ DcmgrGUI.List.prototype.getEmptyData = function(){ return [{ "id":'', "wmi_id":'', "source":'', "owner":'', "visibility":'', "state":'' }] } DcmgrGUI.Detail.prototype.getEmptyData = function(){ return { "name" : "-", ...
list_request.url = DcmgrGUI.Util.getPagePath('/images/show/',c_pagenate.current_page);
c_list.page = c_pagenate.current_page; list_request.url = DcmgrGUI.Util.getPagePath('/images/list/',c_pagenate.current_page); list_request.data = DcmgrGUI.Util.getPagenateData(c_list.page,c_list.maxrow)
DcmgrGUI.prototype.imagePanel = function(){ DcmgrGUI.List.prototype.getEmptyData = function(){ return [{ "id":'', "wmi_id":'', "source":'', "owner":'', "visibility":'', "state":'' }] } DcmgrGUI.Detail.prototype.getEmptyData = function(){ return { "name" : "-", ...
url:DcmgrGUI.Util.getPagePath('/images/detail/',check_id)
url:DcmgrGUI.Util.getPagePath('/images/show/',check_id)
DcmgrGUI.prototype.imagePanel = function(){ DcmgrGUI.List.prototype.getEmptyData = function(){ return [{ "id":'', "wmi_id":'', "source":'', "owner":'', "visibility":'', "state":'' }] } DcmgrGUI.Detail.prototype.getEmptyData = function(){ return { "name" : "-", ...
var image_id = $('#image_id').val(); var host_pool_id = $('#host_pool_id').val(); var instance_spec = $('#instance_spec').val();
var image_id = $(this).find('#image_id').val(); var host_pool_id = $(this).find('#host_pool_id').val(); var instance_spec = $(this).find('#instance_spec').val();
DcmgrGUI.prototype.imagePanel = function(){ var total = 0; var maxrow = 10; var page = 1; var list_request = { "url":DcmgrGUI.Util.getPagePath('/images/list/',page), "data" : DcmgrGUI.Util.getPagenateData(page,maxrow) } DcmgrGUI.List.prototype.getEmptyData = function(){ return [{ "id":'', "w...
bt_launch_instance.open(id);
bt_launch_instance.open({"ids":[id]});
DcmgrGUI.prototype.imagePanel = function(){ var total = 0; var maxrow = 10; var page = 1; var list_request = { "url":DcmgrGUI.Util.getPagePath('/images/list/',page), "data" : DcmgrGUI.Util.getPagenateData(page,maxrow) } DcmgrGUI.List.prototype.getEmptyData = function(){ return [{ "id":'', "w...
height:200,
height:220,
DcmgrGUI.prototype.imagePanel = function(){ var total = 0; var maxrow = 10; var page = 1; var list_request = { "url":DcmgrGUI.Util.getPagePath('/images/list/',page), "data" : DcmgrGUI.Util.getPagenateData(page,maxrow) } DcmgrGUI.List.prototype.getEmptyData = function(){ return [{ "id":'', "w...
var image_id = $('#image_id').text(); var host_pool_id = $('#host_pool_id').text(); var instance_spec = $('#instance_spec').text();
var image_id = $('#image_id').val(); var host_pool_id = $('#host_pool_id').val(); var instance_spec = $('#instance_spec').val();
DcmgrGUI.prototype.imagePanel = function(){ var total = 0; var maxrow = 10; var page = 1; var list_request = { "url":DcmgrGUI.Util.getPagePath('/images/list/',page), "data" : DcmgrGUI.Util.getPagenateData(page,maxrow) } DcmgrGUI.List.prototype.getEmptyData = function(){ return [{ "id":'', "w...
c_list.element.bind('dcmgrGUI.contentChange',function(event,params){ c_list.setData(params.data); c_list.multiCheckList(c_list.detail_template); });
DcmgrGUI.prototype.imagePanel = function(){ DcmgrGUI.List.prototype.getEmptyData = function(){ return [{ "id":'', "wmi_id":'', "source":'', "owner":'', "visibility":'', "state":'' }] } DcmgrGUI.Detail.prototype.getEmptyData = function(){ return { "name" : "-", ...
immediateDescendants: function(element) { if (!(element = $(element).firstChild)) return []; while (element && element.nodeType != 1) element = element.nextSibling; if (element) return [element].concat($(element).nextSiblings()); return []; },
var Prototype={Version:"1.6.1",Browser:(function(){var b=navigator.userAgent;var a=Object.prototype.toString.call(window.opera)=="[object Opera]";return{IE:!!window.attachEvent&&!a,Opera:a,WebKit:b.indexOf("AppleWebKit/")>-1,Gecko:b.indexOf("Gecko")>-1&&b.indexOf("KHTML")===-1,MobileSafari:/Apple.*Mobile.*Safari/.test(...
immediateDescendants: function(element) { if (!(element = $(element).firstChild)) return []; while (element && element.nodeType != 1) element = element.nextSibling; if (element) return [element].concat($(element).nextSiblings()); return []; },
ENV.log('\nError loading module:\n\tmodule path:', modulePath, '\n\tpath:', path, '\n\trequest:', request, '\n');
ENV.log('\nError loading module:\n\trequested:', modulePath, '\n\tfrom:', path, '\n\tfull request:', request, '\n'); e.jsioLogged = true;
function importer(context, path, request, opts) { opts = opts || {}; // importer is bound to a module's (or global) context -- we can override this // by using opts.context context = opts.context || context || ENV.global; // parse the import request(s) var imports = resolveImportRequest(context, path, reques...
function importer(context, path, request, opts) {
function importer(context, fromDir, fromFile, request, opts) {
function importer(context, path, request, opts) { opts = opts || {}; // importer is bound to a module's (or global) context -- we can override this // by using opts.context context = opts.context || context || ENV.global; // parse the import request(s) var imports = resolveImportRequest(context, path, reques...
var imports = resolveImportRequest(context, path, request, opts),
var imports = resolveImportRequest(context, request, opts),
function importer(context, path, request, opts) { opts = opts || {}; // importer is bound to a module's (or global) context -- we can override this // by using opts.context context = opts.context || context || ENV.global; // parse the import request(s) var imports = resolveImportRequest(context, path, reques...
if(!(modulePath in modules)) { try { var moduleDef = loadModule(path, modulePath, opts); } catch(e) { if (!e.jsioLogged) { ENV.log('\nError loading module:\n\trequested:', modulePath, '\n\tfrom:', path, '\n\tfull request:', request, '\n'); e.jsioLogged = true; } throw e; } var newContext = makeContext(modulePath, mod...
var path = moduleDef.path; if(!(path in modules)) { var newContext = makeContext(modulePath, moduleDef, item.dontAddBase); modules[path] = newContext.exports; if(item.dontUseExports) {
function importer(context, path, request, opts) { opts = opts || {}; // importer is bound to a module's (or global) context -- we can override this // by using opts.context context = opts.context || context || ENV.global; // parse the import request(s) var imports = resolveImportRequest(context, path, reques...
modules[modulePath] = newContext.exports;
modules[path] = newContext.exports;
function importer(context, path, request, opts) { opts = opts || {}; // importer is bound to a module's (or global) context -- we can override this // by using opts.context context = opts.context || context || ENV.global; // parse the import request(s) var imports = resolveImportRequest(context, path, reques...
var module = modules[modulePath];
var module = modules[path];
function importer(context, path, request, opts) { opts = opts || {}; // importer is bound to a module's (or global) context -- we can override this // by using opts.context context = opts.context || context || ENV.global; // parse the import request(s) var imports = resolveImportRequest(context, path, reques...
for(var k in modules[modulePath]) { context[k] = module[k]; }
for(var k in modules[path]) { context[k] = module[k]; }
function importer(context, path, request, opts) { opts = opts || {}; // importer is bound to a module's (or global) context -- we can override this // by using opts.context context = opts.context || context || ENV.global; // parse the import request(s) var imports = resolveImportRequest(context, path, reques...
context = context || ENV.global; var imports = resolveImportRequest(path, request);
context = altContext || context || ENV.global;
function importer(context, path, request, altContext) { context = context || ENV.global; var imports = resolveImportRequest(path, request); // import each item in the request for(var i = 0, item, len = imports.length; (item = imports[i]) || i < len; ++i) { var pkg = item.from; var modules = jsio.modules; ...
for(var i = 0, item, len = imports.length; (item = imports[i]) || i < len; ++i) { var pkg = item.from; var modules = jsio.modules;
var imports = resolveImportRequest(path, request), numImports = imports.length, retVal = numImports > 1 ? {} : null; for(var i = 0; i < numImports; ++i) { var item = imports[i], pkg = item.from, modules = jsio.modules;
function importer(context, path, request, altContext) { context = context || ENV.global; var imports = resolveImportRequest(path, request); // import each item in the request for(var i = 0, item, len = imports.length; (item = imports[i]) || i < len; ++i) { var pkg = item.from; var modules = jsio.modules; ...
var newContext = {}; for(var j in item['import']) { newContext[j] = undefined; }
var newContext = modules[pkg] = {}; for(var j in item['import']) { newContext[j] = undefined; }
function importer(context, path, request, altContext) { context = context || ENV.global; var imports = resolveImportRequest(path, request); // import each item in the request for(var i = 0, item, len = imports.length; (item = imports[i]) || i < len; ++i) { var pkg = item.from; var modules = jsio.modules; ...
modules[pkg] = newContext;
function importer(context, path, request, altContext) { context = context || ENV.global; var imports = resolveImportRequest(path, request); // import each item in the request for(var i = 0, item, len = imports.length; (item = imports[i]) || i < len; ++i) { var pkg = item.from; var modules = jsio.modules; ...
var c = altContext || context; if(item.as) {
var module = modules[pkg]; if (numImports == 1) { retVal = module; } if (item.as) {
function importer(context, path, request, altContext) { context = context || ENV.global; var imports = resolveImportRequest(path, request); // import each item in the request for(var i = 0, item, len = imports.length; (item = imports[i]) || i < len; ++i) { var pkg = item.from; var modules = jsio.modules; ...
var segments = item.as.match(/^\.*(.*?)\.*$/)[1].split('.'); for(var k = 0, slen = segments.length - 1, segment; (segment = segments[k]) && k < slen; ++k) { if(!segment) continue;
var as = item.as.match(/^\.*(.*?)\.*$/)[1], segments = as.split('.'), kMax = segments.length - 1, c = context; for(var k = 0; k < kMax; ++k) { var segment = segments[k]; if (!segment) continue;
function importer(context, path, request, altContext) { context = context || ENV.global; var imports = resolveImportRequest(path, request); // import each item in the request for(var i = 0, item, len = imports.length; (item = imports[i]) || i < len; ++i) { var pkg = item.from; var modules = jsio.modules; ...
c[segments[slen]] = modules[pkg];
c[segments[kMax]] = module; if (numImports > 1) { retVal[as] = module; }
function importer(context, path, request, altContext) { context = context || ENV.global; var imports = resolveImportRequest(path, request); // import each item in the request for(var i = 0, item, len = imports.length; (item = imports[i]) || i < len; ++i) { var pkg = item.from; var modules = jsio.modules; ...
for(var k in modules[pkg]) { c[k] = modules[pkg][k]; }
for(var k in modules[pkg]) { context[k] = module[k]; }
function importer(context, path, request, altContext) { context = context || ENV.global; var imports = resolveImportRequest(path, request); // import each item in the request for(var i = 0, item, len = imports.length; (item = imports[i]) || i < len; ++i) { var pkg = item.from; var modules = jsio.modules; ...
for(var k in item['import']) { c[item['import'][k]] = modules[pkg][k]; }
for(var k in item['import']) { context[item['import'][k]] = module[k]; }
function importer(context, path, request, altContext) { context = context || ENV.global; var imports = resolveImportRequest(path, request); // import each item in the request for(var i = 0, item, len = imports.length; (item = imports[i]) || i < len; ++i) { var pkg = item.from; var modules = jsio.modules; ...
return retVal;
function importer(context, path, request, altContext) { context = context || ENV.global; var imports = resolveImportRequest(path, request); // import each item in the request for(var i = 0, item, len = imports.length; (item = imports[i]) || i < len; ++i) { var pkg = item.from; var modules = jsio.modules; ...
pkg = item.from, modules = jsio.modules;
modulePath = item.from, modules = jsio.__modules;
function importer(context, path, request, opts) { opts = opts || {}; // importer is bound to a module's (or global) context -- we can override this // by using opts.context context = opts.context || context || ENV.global; // parse the import request(s) var imports = resolveImportRequest(context, path, reques...
if(!(pkg in modules)) {
if(!(modulePath in modules)) {
function importer(context, path, request, opts) { opts = opts || {}; // importer is bound to a module's (or global) context -- we can override this // by using opts.context context = opts.context || context || ENV.global; // parse the import request(s) var imports = resolveImportRequest(context, path, reques...
var moduleDef = sourceCache[pkg] || loadModule(pkg, opts);
var moduleDef = loadModule(path, modulePath, opts);
function importer(context, path, request, opts) { opts = opts || {}; // importer is bound to a module's (or global) context -- we can override this // by using opts.context context = opts.context || context || ENV.global; // parse the import request(s) var imports = resolveImportRequest(context, path, reques...
ENV.log('\nError executing \'', request, '\': could not load module', pkg, '\n\tpath:', path, '\n\trequest:', request, '\n');
ENV.log('\nError loading module:\n\tmodule path:', modulePath, '\n\tpath:', path, '\n\trequest:', request, '\n');
function importer(context, path, request, opts) { opts = opts || {}; // importer is bound to a module's (or global) context -- we can override this // by using opts.context context = opts.context || context || ENV.global; // parse the import request(s) var imports = resolveImportRequest(context, path, reques...
var newContext = makeContext(pkg, moduleDef.filePath, item.external); modules[pkg] = newContext.exports;
var newContext = makeContext(modulePath, moduleDef.filePath, item.external); modules[modulePath] = newContext.exports;
function importer(context, path, request, opts) { opts = opts || {}; // importer is bound to a module's (or global) context -- we can override this // by using opts.context context = opts.context || context || ENV.global; // parse the import request(s) var imports = resolveImportRequest(context, path, reques...
modules[pkg] = newContext.exports;
modules[modulePath] = newContext.exports;
function importer(context, path, request, opts) { opts = opts || {}; // importer is bound to a module's (or global) context -- we can override this // by using opts.context context = opts.context || context || ENV.global; // parse the import request(s) var imports = resolveImportRequest(context, path, reques...
var module = modules[pkg];
var module = modules[modulePath];
function importer(context, path, request, opts) { opts = opts || {}; // importer is bound to a module's (or global) context -- we can override this // by using opts.context context = opts.context || context || ENV.global; // parse the import request(s) var imports = resolveImportRequest(context, path, reques...
for(var k in modules[pkg]) { context[k] = module[k]; }
for(var k in modules[modulePath]) { context[k] = module[k]; }
function importer(context, path, request, opts) { opts = opts || {}; // importer is bound to a module's (or global) context -- we can override this // by using opts.context context = opts.context || context || ENV.global; // parse the import request(s) var imports = resolveImportRequest(context, path, reques...
M);c.ready()}};if(V)c.inArray=function(a,b){return V.call(b,a)};(function(){c.support={};var a=s.documentElement,b=s.createElement("script"),d=s.createElement("div"),f="script"+K();d.style.display="none";d.innerHTML=" <link/><table></table><a href='/a' style='color:red;float:left;opacity:.55;'>a</a><input type='check...
true;if(ya)c.inArray=function(a,b){return ya.call(b,a)};T=c(s);if(s.addEventListener)L=function(){s.removeEventListener("DOMContentLoaded",L,false);c.ready()};else if(s.attachEvent)L=function(){if(s.readyState==="complete"){s.detachEvent("onreadystatechange",L);c.ready()}};(function(){c.support={};var a=s.documentEleme...
M);c.ready()}};if(V)c.inArray=function(a,b){return V.call(b,a)};(function(){c.support={};var a=s.documentElement,b=s.createElement("script"),d=s.createElement("div"),f="script"+K();d.style.display="none";d.innerHTML=" <link/><table></table><a href='/a' style='color:red;float:left;opacity:.55;'>a</a><input type='check...
include: function(value) { if (value < this.start) return false; if (this.exclusive) return value < this.end; return value <= this.end; }
var Prototype={Version:"1.6.1",Browser:(function(){var b=navigator.userAgent;var a=Object.prototype.toString.call(window.opera)=="[object Opera]";return{IE:!!window.attachEvent&&!a,Opera:a,WebKit:b.indexOf("AppleWebKit/")>-1,Gecko:b.indexOf("Gecko")>-1&&b.indexOf("KHTML")===-1,MobileSafari:/Apple.*Mobile.*Safari/.test(...
include: function(value) { if (value < this.start) return false; if (this.exclusive) return value < this.end; return value <= this.end; }
index: function (tab) { if (tab) return Array.indexOf(config.tabbrowser.mTabs, tab); else return config.tabbrowser.mTabContainer.selectedIndex;
index: function (tab, visible) { let tabs = this[visible ? "visibleTabs" : "allTabs"]; return tabs.indexOf(tab || config.tabbrowser.mCurrentTab);
index: function (tab) { if (tab) return Array.indexOf(config.tabbrowser.mTabs, tab); else return config.tabbrowser.mTabContainer.selectedIndex; },
{},j;if(f&&a.length){e=0;for(var o=a.length;e<o;e++){j=a[e];i[j]||(i[j]=c.expr.match.POS.test(j)?c(j,b||this.context):j)}for(;f&&f.ownerDocument&&f!==b;){for(j in i){e=i[j];if(e.jquery?e.index(f)>-1:c(f).is(e)){d.push({selector:j,elem:f});delete i[j]}}f=f.parentNode}}return d}var p=c.expr.match.POS.test(a)?c(a,b||this....
{},i;if(f&&a.length){e=0;for(var o=a.length;e<o;e++){i=a[e];j[i]||(j[i]=c.expr.match.POS.test(i)?c(i,b||this.context):i)}for(;f&&f.ownerDocument&&f!==b;){for(i in j){e=j[i];if(e.jquery?e.index(f)>-1:c(f).is(e)){d.push({selector:i,elem:f});delete j[i]}}f=f.parentNode}}return d}var k=c.expr.match.POS.test(a)?c(a,b||this....
{},j;if(f&&a.length){e=0;for(var o=a.length;e<o;e++){j=a[e];i[j]||(i[j]=c.expr.match.POS.test(j)?c(j,b||this.context):j)}for(;f&&f.ownerDocument&&f!==b;){for(j in i){e=i[j];if(e.jquery?e.index(f)>-1:c(f).is(e)){d.push({selector:j,elem:f});delete i[j]}}f=f.parentNode}}return d}var p=c.expr.match.POS.test(a)?c(a,b||this....
let position = config.tabbrowser.mTabContainer.selectedIndex; let length = config.tabbrowser.mTabs.length; let last = length - 1;
if (spec instanceof Node) return this.allTabs.indexOf(spec);
indexFromSpec: function (spec, wrap) { let position = config.tabbrowser.mTabContainer.selectedIndex; let length = config.tabbrowser.mTabs.length; let last = length - 1; if (spec === undefined || spec === "") return position; if (typeof spec === "number") ...
if (spec === undefined || spec === "")
let tabs = this.visibleTabs; let position = this.index(null, true); if (spec == null || spec === "")
indexFromSpec: function (spec, wrap) { let position = config.tabbrowser.mTabContainer.selectedIndex; let length = config.tabbrowser.mTabs.length; let last = length - 1; if (spec === undefined || spec === "") return position; if (typeof spec === "number") ...
position = last;
position = tabs.length - 1;
indexFromSpec: function (spec, wrap) { let position = config.tabbrowser.mTabContainer.selectedIndex; let length = config.tabbrowser.mTabs.length; let last = length - 1; if (spec === undefined || spec === "") return position; if (typeof spec === "number") ...
if (position > last) position = wrap ? position % length : last;
if (position >= tabs.length) position = wrap ? position % tabs.length : tabs.length - 1;
indexFromSpec: function (spec, wrap) { let position = config.tabbrowser.mTabContainer.selectedIndex; let length = config.tabbrowser.mTabs.length; let last = length - 1; if (spec === undefined || spec === "") return position; if (typeof spec === "number") ...
position = wrap ? (position % length) + length : 0;
position = wrap ? (position % tabs.length) + tabs.length : 0;
indexFromSpec: function (spec, wrap) { let position = config.tabbrowser.mTabContainer.selectedIndex; let length = config.tabbrowser.mTabs.length; let last = length - 1; if (spec === undefined || spec === "") return position; if (typeof spec === "number") ...
return position; }
return this.allTabs.indexOf(tabs[position]); },
indexFromSpec: function (spec, wrap) { let position = config.tabbrowser.mTabContainer.selectedIndex; let length = config.tabbrowser.mTabs.length; let last = length - 1; if (spec === undefined || spec === "") return position; if (typeof spec === "number") ...
for (let i in this.backward ? util.range(idx + 1, 0, -1) : util.range(idx, this.ranges.length))
if (this.backward) var groups = [util.range(idx + 1, 0, -1), util.range(this.ranges.length, idx, -1)]; else var groups = [util.range(idx, this.ranges.length), util.range(0, idx + 1)]; for (let i in groups[0])
function indices() { let idx = this.range.index; for (let i in this.backward ? util.range(idx + 1, 0, -1) : util.range(idx, this.ranges.length)) yield i; if (private_) return; this.wrapped = true; ...
if (private_) return; this.wrapped = true; this.lastRange = null; for (let i in this.backward ? util.range(this.ranges.length, idx, -1) : util.range(0, idx + 1)) yield i;
if (!private_) { this.wrapped = true; this.lastRange = null; for (let i in groups[1]) yield i; }
function indices() { let idx = this.range.index; for (let i in this.backward ? util.range(idx + 1, 0, -1) : util.range(idx, this.ranges.length)) yield i; if (private_) return; this.wrapped = true; ...
var style = document.createElement('link'); style.rel = 'stylesheet'; style.href = chrome.extension.getURL('styles/general.css'); document.head.appendChild(style);
init : function(config){ TBRL.config = config; document.addEventListener('mousemove', TBRL.mousehandler, false); document.addEventListener('unload', TBRL.unload, false); connection.onMessage.addListener(function(item){ var type = item.type; if(type === 'request'){ request_handler(item); ...
init: function (ary) { return { __proto__: ary, __iterator__: function () this.iteritems(), __noSuchMethod__: function (meth, args) { var res = util.Array[meth].apply(null, [this.__proto__].concat(args)); if (util.Array.isinstance(res)) return util.Array(res); return res; }, toString: function () this.__proto__.toStri...
init: function () { this.Array = Util.Array; },
init: function (ary) { return { __proto__: ary, __iterator__: function () this.iteritems(), __noSuchMethod__: function (meth, args) { var res = util.Array[meth].apply(null, [this.__proto__].concat(args)); if (util.Arra...
init: function (id) { this._completionElements = []; var iframe = document.getElementById(id); this._doc = iframe.contentDocument; this._win = iframe.contentWindow; this._container = iframe.parentNode; this._doc.body.id = id + "-content"; this._doc.body.className = iframe.className + "-content"; this._doc.body.appen...
init: function (inputField, mode) { this.mode = mode; this.input = inputField; this.store = storage["history-" + mode]; this.reset(); },
init: function (id) { this._completionElements = []; var iframe = document.getElementById(id); this._doc = iframe.contentDocument; this._win = iframe.contentWindow; this._container = iframe.parentNode; this._doc.body.id = id + "-content"; this._doc.body.className = i...
init: function (prop) update(this, { get: function () { if (desc.get) var val = desc.get.call(this, value); return val === undefined ? value : val; }, set: function (val) { modes.save(id, this, prop); if (desc.set) value = desc.set.call(this, val); value = !desc.set || value === undefined ? val : value;
init: function () { this.modeChars = {}; this._main = 1; this._extended = 0; this._lastShown = null; this._passNextKey = false; this._passAllKeys = false; this._isRecording = false; this._isReplaying = false; this._modeStack = update([], { pop: function pop() { if (this.length <= 1) { util.dumpStack("Trying to pop l...
init: function (prop) update(this, { get: function () { if (desc.get) var val = desc.get.call(this, value); return val === undefined ? value : val; }, set: function (val) { modes.save...