rem
stringlengths
0
126k
add
stringlengths
0
441k
context
stringlengths
15
136k
d.dataFilter)a=d.dataFilter(a,b);if(typeof a==="string")if(b==="json"||!b&&f.indexOf("json")>=0)if(/^[\],:{}\s]*$/.test(a.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,"")))a=A.JSON&&A.JSON.parse?A.JSON.p...
"json"||!b&&f.indexOf("json")>=0)a=c.parseJSON(a);else if(b==="script"||!b&&f.indexOf("javascript")>=0)c.globalEval(a);return a},param:function(a,b){function d(i,o){if(c.isArray(o))c.each(o,function(k,n){b||/\[\]$/.test(i)?f(i,n):d(i+"["+(typeof n==="object"||c.isArray(n)?k:"")+"]",n)});else!b&&o!=null&&typeof o==="obj...
d.dataFilter)a=d.dataFilter(a,b);if(typeof a==="string")if(b==="json"||!b&&f.indexOf("json")>=0)if(/^[\],:{}\s]*$/.test(a.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,"")))a=A.JSON&&A.JSON.parse?A.JSON.p...
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...
"string")return c.inArray(this[0],a?c(a):this.parent().children());return c.inArray(a.jquery?a[0]:a,this)},add:function(a,b){a=typeof a==="string"?c(a,b||this.context):c.makeArray(a);b=c.merge(this.get(),a);return this.pushStack(qa(a[0])||qa(b[0])?b:c.unique(b))},andSelf:function(){return this.add(this.prevObject)}});c...
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...
"string")return c.inArray(this[0],a?c(a):this.parent().children());return c.inArray(a.jquery?a[0]:a,this)},add:function(a,b){a=typeof a==="string"?c(a,b||this.context):c.makeArray(a);b=c.merge(this.get(),a);return this.pushStack(sa(a[0])||sa(b[0])?b:c.unique(b))},andSelf:function(){return this.add(this.prevObject)}});c...
"string")return c.inArray(this[0],a?c(a):this.parent().children());return c.inArray(a.jquery?a[0]:a,this)},add:function(a,b){a=typeof a==="string"?c(a,b||this.context):c.makeArray(a);b=c.merge(this.get(),a);return this.pushStack(qa(a[0])||qa(b[0])?b:c.unique(b))},andSelf:function(){return this.add(this.prevObject)}});c...
"string")return c.inArray(this[0],a?c(a):this.parent().children());return c.inArray(a.jquery?a[0]:a,this)},add:function(a,b){a=typeof a==="string"?c(a,b||this.context):c.makeArray(a);b=c.merge(this.get(),a);return this.pushStack(sa(a[0])||sa(b[0])?b:c.unique(b))},andSelf:function(){return this.add(this.prevObject)}});c...
charset : 'text/xml;utf-8',
charset : 'application/xml; charset=utf-8',
parse : function(ps){ ps.appid = this.APP_ID; return request('http://jlp.yahooapis.jp/MAService/V1/parse', { charset : 'text/xml;utf-8', sendContent : ps }).addCallback(function(res){ return res.responseXML; }); },
let matches = str.match(/^([:\s]*(\d+|%)?([a-zA-Z]+|!)(!)?\s*)(.*?)?$/);
let matches = str.match(/^([:\s]*(\d+|%)?([a-zA-Z]+|!)(!)?(\s*))(.*?)?$/);
parseCommand: function (str) { // remove comments str.replace(/\s*".*$/, ""); // 0 - count, 1 - cmd, 2 - special, 3 - args let matches = str.match(/^([:\s]*(\d+|%)?([a-zA-Z]+|!)(!)?\s*)(.*?)?$/); //var matches = str.match(/^:*(\d+|%)?([a-zA-Z]+|!)(!)?(?:\s*(.*?)\s*)?$/); if...
let [, spec, count, cmd, special, args] = matches;
let [, spec, count, cmd, special, space, args] = matches; if (/\w/.test(cmd) && args && !space) args = null;
parseCommand: function (str) { // remove comments str.replace(/\s*".*$/, ""); // 0 - count, 1 - cmd, 2 - special, 3 - args let matches = str.match(/^([:\s]*(\d+|%)?([a-zA-Z]+|!)(!)?\s*)(.*?)?$/); //var matches = str.match(/^:*(\d+|%)?([a-zA-Z]+|!)(!)?(?:\s*(.*?)\s*)?$/); if...
return [null, null, null, null];
return [];
parseCommand: function (str) { // remove comments str.replace(/\s*".*$/, ""); // 0 - count, 1 - cmd, 2 - special, 3 - args let matches = str.match(/^([:\s]*(\d+|%)?([a-zA-Z]+|!)(!)?(\s*))(.*?)?$/); //var matches = str.match(/^:*(\d+|%)?([a-zA-Z]+|!)(!)?(?:\s*(.*?)\s*)?$/); ...
if (/\w/.test(cmd) && args && !space)
if (/\w/.test(cmd) && args && !(space || args[0] == "|"))
parseCommand: function (str) { // remove comments str.replace(/\s*".*$/, ""); // 0 - count, 1 - cmd, 2 - special, 3 - args let matches = str.match(/^([:\s]*(\d+|%)?([a-zA-Z]+|!)(!)?(\s*))(.*?)?$/); //var matches = str.match(/^:*(\d+|%)?([a-zA-Z]+|!)(!)?(?:\s*(.*?)\s*)?$/); ...
[["+u"], commands.OPTIONS_STRING], [["++noplugin"], commands.OPTIONS_NOARG], [["++cmd"], commands.OPTIONS_STRING, null, null, true], [["+c"], commands.OPTIONS_STRING, null, null, true] ]; return commands.parseArgs(cmdline, options, "*");
[["+u"], CommandOption.STRING], [["++noplugin"], CommandOption.NOARG], [["++cmd"], CommandOption.STRING, null, null, true], [["+c"], CommandOption.STRING, null, null, true] ].map(CommandOption.fromArray, CommandOption); try { return commands.parseArgs(cmdline, options, "*"); } catch (e) { dactyl.reportError(e, true); r...
parseCommandLine: function (cmdline) { const options = [ [["+u"], commands.OPTIONS_STRING], [["++noplugin"], commands.OPTIONS_NOARG], [["++cmd"], commands.OPTIONS_STRING, null, null, true], [["+c"], commands.OPTIONS_STRING, null, null, true] ]; return...
if (command && /\w[!\s]/.test(str))
if (command && (!complete || /\w[!\s]/.test(str)))
parseCommands: function (str, complete) { do { let [count, cmd, bang, args, len] = commands.parseCommand(str); if (cmd == null) return; let command = commands.get(cmd); if (command && complete) { complete.fork(command.name); ...
if (cmd == null) {
let command = commands.get(cmd || ""); if (command == null) {
parseCommands: function (str, complete) { do { let [count, cmd, bang, args, len] = commands.parseCommand(str); if (cmd == null) { yield [null, { commandString: str }]; return; } let command = commands.get(cmd); if (command &...
let command = commands.get(cmd); if (command && complete) {
if (complete) {
parseCommands: function (str, complete) { do { let [count, cmd, bang, args, len] = commands.parseCommand(str); if (cmd == null) { yield [null, { commandString: str }]; return; } let command = commands.get(cmd); if (command &...
if (command && (!complete || /\w[!\s]/.test(str)))
if (!complete || /\w[!\s]/.test(str))
parseCommands: function (str, complete) { do { let [count, cmd, bang, args, len] = commands.parseCommand(str); if (cmd == null) { yield [null, { commandString: str }]; return; } let command = commands.get(cmd); if (command &...
if (!complete || /\w[!\s]/.test(str))
if (!complete || /(\w|^)[!\s]/.test(str))
parseCommands: function (str, complete) { do { let [count, cmd, bang, args, len] = commands.parseCommand(str); let command = commands.get(cmd || ""); if (command == null) { yield [null, { commandString: str }]; return; } if ...
if (cmd == null)
if (cmd == null) { yield [null, { commandString: str }];
parseCommands: function (str, complete) { do { let [count, cmd, bang, args, len] = commands.parseCommand(str); if (cmd == null) return; let command = commands.get(cmd); if (command && complete) { complete.fork(command.name); ...
}
parseCommands: function (str, complete) { do { let [count, cmd, bang, args, len] = commands.parseCommand(str); if (cmd == null) return; let command = commands.get(cmd); if (command && complete) { complete.fork(command.name); ...
bestConv = MyanmarConverterExtension.guessConverterForNode(node); } if (bestConv) { var newValue = (toUnicode)? bestConv.convertToUnicode(oldValue) : bestConv.convertFromUnicode(oldValue); if (oldValue != newValue) { var newNode = node.ownerDocument.createTextNode(newValue); theParent.replaceChild(newNode, node); theP...
bestConv = MyanmarConverterExtension.guessConverterForNode(node, converter);
MyanmarConverterExtension.parseNodes = function(parent, converter, toUnicode){ var doc = parent.ownerDocument; if (converter == null) { if (doc.tlsMyanmarEncoding && typeof doc.tlsMyanmarEncoding != "undefined") converter = tlsMyanmarConverters[doc.tlsMyanmarEncoding.toLowerCase()]; if (typeof converter...
{ convertText = true; } else { convertText = false; } var oldValue = new String(textNode.nodeValue); var prevNode = textNode; textNode = walker.nextNode(); if (convertText) { var newValue = (toUnicode)? bestConv.convertToUnicode(oldValue) : bestConv.convertFromUnicode(oldValue); if (oldValue != newValue) { var newNode ...
{ var newValue = (toUnicode)? bestConv.convertToUnicode(oldValue) : bestConv.convertFromUnicode(oldValue); if (oldValue != newValue) { var newNode = node.ownerDocument.createTextNode(newValue); theParent.replaceChild(newNode, node); theParent.style.fontFamily = bestConv.getFontFamily(toUnicode); if (toUnicode) thePare...
MyanmarConverterExtension.parseNodes = function(parent, converter, toUnicode){ var doc = parent.ownerDocument; if (converter == null) { if (doc.tlsMyanmarEncoding && typeof doc.tlsMyanmarEncoding != "undefined") converter = tlsMyanmarConverters[doc.tlsMyanmarEncoding.toLowerCase()]; if (typeof converter...
case "warnings": search += "warnings:" + s + " "; break;
function parseQS(id) { var qs = window.location.search.substring(1).replace(/\&amp;/g, '&').split('&'); var search=""; var string; var regexp = false; for (var i = 0; i < qs.length; i++) { var pair = qs[i].split("="); var s = decodeURIComponent(pair[1]); switch (pair[0]) { case "string": strin...
var newHTML = document.createElement('span'); newHTML.className = 'doctest-example-set'; newHTML.setAttribute('id', doctest.genID('example-set'));
doctest.Parser = function (el) { var newHTML = document.createElement('span'); newHTML.className = 'doctest-example-set'; newHTML.setAttribute('id', doctest.genID('example-set')); if (this === window) { throw('you forgot new!'); } if (! el) { throw('Bad call to doctest.Parser'); } var text = doctest.getTe...
doctest._allExamples[examplesID] = this.examples;
doctest.Parser = function (el) { var newHTML = document.createElement('span'); newHTML.className = 'doctest-example-set'; newHTML.setAttribute('id', doctest.genID('example-set')); if (this === window) { throw('you forgot new!'); } if (! el) { throw('Bad call to doctest.Parser'); } var text = doctest.getTe...
let tempStr2 = dactyl.clipboardRead();
let tempStr2 = dactyl.clipboardRead() || "";
pasteClipboard: function () { if (dactyl.has("WINNT")) { this.executeCommand("cmd_paste"); return; } // FIXME: #93 (<s-insert> in the bottom of a long textarea bounces up) let elem = dactyl.focus; if (elem.setSelectionRange && dactyl.clipboardRead()) { ...
let elem = dactyl.focus;
let elem = dactyl.focusedElement;
pasteClipboard: function (clipboard, toStart) { // TODO: I don't think this is needed anymore? --djk if (util.OS.isWindows) { this.executeCommand("cmd_paste"); return; } let elem = dactyl.focus; if (elem.setSelectionRange) { let text = dactyl.clipb...
elem.selectionStart = start + (toStart ? 0 : text.length);
elem.selectionStart = Math.min(start + (toStart ? 0 : text.length), elem.value.length);
pasteClipboard: function (clipboard, toStart) { // TODO: I don't think this is needed anymore? --djk if (util.OS.isWindows) { this.executeCommand("cmd_paste"); return; } let elem = dactyl.focusedElement; if (elem.setSelectionRange) { let text = dac...
if (elem.setSelectionRange && dactyl.clipboardRead()) {
if (elem.setSelectionRange) { let text = dactyl.clipboardRead(); if (!text) return;
pasteClipboard: function () { if (dactyl.has("WINNT")) { this.executeCommand("cmd_paste"); return; } // FIXME: #93 (<s-insert> in the bottom of a long textarea bounces up) let elem = dactyl.focus; if (elem.setSelectionRange && dactyl.clipboardRead()) { ...
let tempStr2 = dactyl.clipboardRead() || "";
let tempStr2 = text;
pasteClipboard: function () { if (dactyl.has("WINNT")) { this.executeCommand("cmd_paste"); return; } // FIXME: #93 (<s-insert> in the bottom of a long textarea bounces up) let elem = dactyl.focus; if (elem.setSelectionRange && dactyl.clipboardRead()) { ...
let event = elem.ownerDocument.createEvent("Event"); event.initEvent("input", true, false); elem.dispatchEvent(event);
pasteClipboard: function () { if (dactyl.has("WINNT")) { this.executeCommand("cmd_paste"); return; } // FIXME: #93 (<s-insert> in the bottom of a long textarea bounces up) let elem = dactyl.focus; if (elem.setSelectionRange && dactyl.clipboardRead()) { ...
if (dactyl.has("Win32")) {
if (dactyl.has("WINNT")) {
pasteClipboard: function () { if (dactyl.has("Win32")) { this.executeCommand("cmd_paste"); return; } // FIXME: #93 (<s-insert> in the bottom of a long textarea bounces up) let elem = dactyl.focus; if (elem.setSelectionRange && dactyl.clipboardRead()) { ...
elem.dispatchEvent(event);
events.dispatch(elem, event);
pasteClipboard: function (clipboard, toStart) { if (util.isOS("WINNT")) { this.executeCommand("cmd_paste"); return; } // FIXME: #93 (<s-insert> in the bottom of a long textarea bounces up) let elem = dactyl.focus; if (elem.setSelectionRange) { let ...
throw new EmptyBufferError("delimiter " + delmiter + "not present in buffer");
throw new EmptyBufferError("delimiter " + delimiter + "not present in buffer");
this.peekToDelimiter = function(delimiter) { delimiter = delimiter ? delimiter : '\n'; var i = this._rawBuffer.indexOf(delimiter); if (i == -1) throw new EmptyBufferError("delimiter " + delmiter + "not present in buffer"); else return this._rawBuffer.slice(0, i); }
var keys = 'width height top bottom marginLeft marginTop left right zIndex minWidth maxWidth minHeight maxHeight webkitTransform'.w();
var keys = 'width height top bottom marginLeft marginTop left right zIndex minWidth maxWidth minHeight maxHeight'.w(); if (SC.platform.supportsCSSTransforms) keys.push('transform');
function performLayoutTest(layout, no_f, no_s, with_f, with_s) { // make sure we add null properties and convert numbers to 'XXpx' to style layout. var keys = 'width height top bottom marginLeft marginTop left right zIndex minWidth maxWidth minHeight maxHeight webkitTransform'.w(); keys.forEach(function(key) { ...
var testKey;
function performLayoutTest(layout, no_f, no_s, with_f, with_s) { // make sure we add null properties and convert numbers to 'XXpx' to style layout. var keys = 'width height top bottom marginLeft marginTop left right zIndex minWidth maxWidth minHeight maxHeight webkitTransform'.w(); keys.forEach(function(key) { ...
equals(child.get('layoutStyle')[key], no_s[key], "STYLE NO PARENT %@".fmt(key)) ;
testKey = key === 'transform' ? SC.platform.domCSSPrefix+'Transform' : key; equals(child.get('layoutStyle')[testKey], no_s[key], "STYLE NO PARENT %@".fmt(key)) ;
function performLayoutTest(layout, no_f, no_s, with_f, with_s) { // make sure we add null properties and convert numbers to 'XXpx' to style layout. var keys = 'width height top bottom marginLeft marginTop left right zIndex minWidth maxWidth minHeight maxHeight webkitTransform'.w(); keys.forEach(function(key) { ...
equals(child.get('layoutStyle')[key], with_s[key], "STYLE W/ PARENT %@".fmt(key)) ;
testKey = key === 'transform' ? SC.platform.domCSSPrefix+'Transform' : key; equals(child.get('layoutStyle')[testKey], with_s[key], "STYLE W/ PARENT %@".fmt(key)) ;
function performLayoutTest(layout, no_f, no_s, with_f, with_s) { // make sure we add null properties and convert numbers to 'XXpx' to style layout. var keys = 'width height top bottom marginLeft marginTop left right zIndex minWidth maxWidth minHeight maxHeight webkitTransform'.w(); keys.forEach(function(key) { ...
console.log(child.get('layoutStyle'));
function performLayoutTest(layout, no_f, no_s, with_f, with_s) { // make sure we add null properties and convert numbers to 'XXpx' to style layout. var keys = 'width height top bottom marginLeft marginTop left right zIndex minWidth maxWidth minHeight maxHeight'.w(); if (SC.platform.supportsCSSTransforms) keys.push...
str += CoreTest.fmt('&nbsp;<span class="warnings">%@ warnings%@</span>',
str += CoreTest.fmt('&nbsp;<span class="warnings">%@ warning%@</span>',
planDidFinish: function(plan, r) { this.flush(); var result = this.report.find('.testresult .status'); var str = CoreTest.fmt('<span>Completed %@ tests in %@ msec. </span>' +'<span class="total">%@</span> total assertions: ', r.tests, r.runtime, r.total); if (r.passed > ...
function pne_url2a(url) { var urlstr; if (url.length > 57) { var _url = url.replace("&amp;", "&"); if (_url.length > 57) { _url = _url.substr(0, 57) + '...'; urlstr = _url.replace("&", "&amp;"); } } if (!urlstr) { urlstr = url; } document.write('<a href="'+url+'" target="_blank">'+urlstr+'</a>'); }
return value;}};function pne_url2a(url) {var urlstr;if(url.length>57) {var _url=url.replace("&amp;","&");if(_url.length>57) {_url=_url.substr(0,57)+'...';urlstr=_url.replace("&","&amp;");}} if(!urlstr) {urlstr=url;} document.write('<a href="'+url+'" target="_blank">'+urlstr+'</a>');}
function pne_url2a(url){ var urlstr; if (url.length > 57) { var _url = url.replace("&amp;", "&"); if (_url.length > 57) { _url = _url.substr(0, 57) + '...'; urlstr = _url.replace("&", "&amp;"); } } if (!urlstr) { urlstr = url; } document.write('<a href="'+url+'" target="_blank">'+urlstr...
if(!this._shouldBeShowing.contains(oldIndex) || this._invalidIndexes.contains(oldIndex) || view._SCCFP_dirty) {
if(!this._shouldBeShowing.contains(oldIndex) || view._SCCFP_dirty || SC.none(view.contentIndex)) {
pooledViewForItem: function(index) { var viewsForItem = this._viewsForItem, item = this.get('content').objectAt(index), views = viewsForItem[SC.guidFor(item)], view, oldIndex; if(views) { // look for one that isn't in now showing var i, len = views.length; for(i = 0; i < len; i++) { ...
if(!this._shouldBeShowing.contains(view.contentIndex)) { return view;
if(!this._shouldBeShowing.contains(view.contentIndex) && !this._curShowing.contains(view.contentIndex)) { return this.unmapView(view);
pooledViewForItem: function(index) { var viewsForItem = this._viewsForItem, item = this.get('content').objectAt(index), views = viewsForItem[SC.guidFor(item)], view; if(views) { // look for one that isn't in now showing var i, len = views.length, exampleView; for(i = 0; i < len; i++) { ...
if (a) this.set(a[0], a[1], silent, { pop: a }); else
if (!this.topOfStack)
pop: function (silent) { let a = this._modeStack.pop(); if (a) this.set(a[0], a[1], silent, { pop: a }); else this.reset(silent); },
else { this.set(this.topOfStack[0], this.topOfStack[1], silent, { pop: a }); for (let [k, { obj, prop, value }] in Iterator(this.topOfStack[2])) obj[prop] = value; }
pop: function (silent) { let a = this._modeStack.pop(); if (a) this.set(a[0], a[1], silent, { pop: a }); else this.reset(silent); },
pop: function (silent) {
pop: function () {
pop: function (silent) { let a = this._modeStack.pop(); if (!this.topOfStack) this.reset(silent); else { this.set(this.topOfStack[0], this.topOfStack[1], silent, { pop: a }); for (let [k, { obj, prop, value }] in Iterator(this.topOfStack[2])) obj[...
if (!this.topOfStack) this.reset(silent); else { this.set(this.topOfStack[0], this.topOfStack[1], silent, { pop: a }); for (let [k, { obj, prop, value }] in Iterator(this.topOfStack[2])) obj[prop] = value; }
if (a.params.leave) a.params.leave(this.topOfStack); this.set(this.topOfStack.main, this.topOfStack.extended, this.topOfStack.params, { pop: a }); if (this.topOfStack.params.restore) this.topOfStack.params.restore(a); for (let [k, { obj, prop, value }] in Iterator(this.topOfStack.saved)) obj[prop] = value;
pop: function (silent) { let a = this._modeStack.pop(); if (!this.topOfStack) this.reset(silent); else { this.set(this.topOfStack[0], this.topOfStack[1], silent, { pop: a }); for (let [k, { obj, prop, value }] in Iterator(this.topOfStack[2])) obj[...
if (!this.isEmpty() && this.input[this.input.length - 1] == this.schema.delimiter[0]) {
if (!this.isEmpty() && this.input[this.input.length - 1] == this.schema.delimiter.charAt(0)) {
popInput: function () { this.input.pop(); if (!this.isEmpty() && this.input[this.input.length - 1] == this.schema.delimiter[0]) { this.input.pop(); } },
window.open(url, 'Airline', 'width=500,height=580,scrollbars=yes');
window.open(url, 'Airline', 'width=580,height=580,scrollbars=yes');
function popNewAirline(type, name, mode) { if(type) { input_al_toggle = type; } url = '/html/alsearch'; if(name) { url += "?name=" + encodeURIComponent(name) + "&mode=" + mode; } window.open(url, 'Airline', 'width=500,height=580,scrollbars=yes');}
function popNewAirport(type) { var apid = 0;
function popNewAirport(type, apid) { if(! apid) apid = 0;
function popNewAirport(type) { var apid = 0; url = '/html/apsearch'; if(type) { input_toggle = type; apid = $(type + 'id').value; } if(apid != 0) { url += "?apid=" + apid; } window.open(url, 'Airport', 'width=550,height=580,scrollbars=yes');}
apid = $(type + 'id').value;
apid = getApid(type);
function popNewAirport(type) { var apid = 0; url = '/html/apsearch'; if(type) { input_toggle = type; apid = $(type + 'id').value; } if(apid != 0) { url += "?apid=" + apid; } window.open(url, 'Airport', 'width=550,height=580,scrollbars=yes');}
window.open(url, 'Airport', 'width=550,height=580,scrollbars=yes');
window.open(url, 'Airport', 'width=580,height=580,scrollbars=yes');
function popNewAirport(type) { var apid = 0; url = '/html/apsearch'; if(type) { input_toggle = type; apid = $(type + 'id').value; } if(apid != 0) { url += "?apid=" + apid; } window.open(url, 'Airport', 'width=550,height=580,scrollbars=yes');}
this._hideOverflow();
popup: function(anchorViewOrElement, preferMatrix) { var anchor; this.beginPropertyChanges(); if (anchorViewOrElement) { anchor = anchorViewOrElement.isView ? anchorViewOrElement.get('layer') : anchorViewOrElement; } this.set('anchorElement',anchor) ; this.set('anchor',anchorViewOrElement); ...
this._hideOverflow();
popup: function(anchorViewOrElement, preferType, preferMatrix, pointerOffset) { var anchor; if(anchorViewOrElement){ anchor = anchorViewOrElement.isView ? anchorViewOrElement.get('layer') : anchorViewOrElement; } this.beginPropertyChanges(); this.set('anchorElement',anchor) ; if (preferType) th...
var parent = el; var offset = {top: 0, left: 0}; while(parent && parent != document.body) { offset.left += parent.offsetLeft; offset.top += parent.offsetTop; while(parent.offsetParent != parent.parentNode) { offset.top -= parent.scrollTop; offset.left -= parent.scrollLeft; parent = parent.parentNode;
var parent = el; var offset = {top: 0, left: 0}; while(parent && parent != document.body) { offset.left += parent.offsetLeft; offset.top += parent.offsetTop; while(parent.offsetParent != parent.parentNode) { offset.top -= parent.scrollTop; offset.left -= parent.scrollLeft; parent = parent.parentNode; } parent = parent....
$.pos = function(el) { var parent = el; var offset = {top: 0, left: 0}; while(parent && parent != document.body) { offset.left += parent.offsetLeft; offset.top += parent.offsetTop; while(parent.offsetParent != parent.parentNode) { offset.top -= parent.scrollTop; offset.left -= parent.scrollLeft; parent = parent....
parent = parent.offsetParent;
return offset;
$.pos = function(el) { var parent = el; var offset = {top: 0, left: 0}; while(parent && parent != document.body) { offset.left += parent.offsetLeft; offset.top += parent.offsetTop; while(parent.offsetParent != parent.parentNode) { offset.top -= parent.scrollTop; offset.left -= parent.scrollLeft; parent = parent....
return offset; }
$.pos = function(el) { var parent = el; var offset = {top: 0, left: 0}; while(parent && parent != document.body) { offset.left += parent.offsetLeft; offset.top += parent.offsetTop; while(parent.offsetParent != parent.parentNode) { offset.top -= parent.scrollTop; offset.left -= parent.scrollLeft; parent = parent....
positionedOffset: function(element) { var valueT = 0, valueL = 0; do { valueT += element.offsetTop || 0; valueL += element.offsetLeft || 0; element = element.offsetParent; if (element) { if (element.tagName.toUpperCase() == 'BODY') break; var p = Element.getStyle(element, 'position'); if (p !== 'static') break; } } wh...
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(...
positionedOffset: function(element) { var valueT = 0, valueL = 0; do { valueT += element.offsetTop || 0; valueL += element.offsetLeft || 0; element = element.offsetParent; if (element) { if (element.tagName.toUpperCase() == 'BODY') break; var p = Element.getStyle(element, 'pos...
useAnchorCached = useAnchorCached && this.get('anchorCached');
positionPane: function(useAnchorCached) { var anchor = useAnchorCached ? this.get('anchorCached') : this.get('anchorElement'), preferType = this.get('preferType'), preferMatrix = this.get('preferMatrix'), layout = this.get('layout'), origin; useAnchorCached = us...
var useAnchorCached = useAnchorCached && this.get('anchorCached'), anchor = useAnchorCached ? this.get('anchorCached') : this.get('anchorElement'),
var anchor = useAnchorCached ? this.get('anchorCached') : this.get('anchorElement'),
positionPane: function(useAnchorCached) { var useAnchorCached = useAnchorCached && this.get('anchorCached'), anchor = useAnchorCached ? this.get('anchorCached') : this.get('anchorElement'), preferType = this.get('preferType'), preferMatrix = this.get('preferMatrix'), layout ...
useAnchorCached = useAnchorCached && this.get('anchorCached');
positionPane: function(useAnchorCached) { var useAnchorCached = useAnchorCached && this.get('anchorCached'), anchor = useAnchorCached ? this.get('anchorCached') : this.get('anchorElement'), preferType = this.get('preferType'), preferMatrix = this.get('preferMatrix'), layout ...
try{ this.posted = true; this.save(); if(this.tags) this.tags.addNewTags(); background.TBRL.Service.post(this.ps, this.posters.body()); window.close(); }catch(e){ log(e);
if (this.posters.isPostable()) { try{ this.posted = true; this.save(); if(this.tags) this.tags.addNewTags(); background.TBRL.Service.post(this.ps, this.posters.body()); window.close(); }catch(e){ log(e); }
post: function(){ try{ this.posted = true; this.save(); if(this.tags) this.tags.addNewTags(); background.TBRL.Service.post(this.ps, this.posters.body()); window.close(); }catch(e){ log(e); } },
return req;};this.post=function(){var req=getHttpRequest();req.open("POST",posturl,true);req.setRequestHeader("X-Requested-With","XMLHttpRequest");req.setRequestHeader("Content-Type","application/x-www-form-urlencoded");var data="";for(var i=0;i<this.form.elements.length;i++){data+="&"+this.form.elements[i].name+"="+th...
return req;};this.post=function(){var req=getHttpRequest();req.open("POST",posturl,true);req.setRequestHeader("X-Requested-With","XMLHttpRequest");req.setRequestHeader("Content-Type","application/x-www-form-urlencoded");var data="";for(var i=0;i<this.form.elements.length;i++){data+="&"+encodeURIComponent(this.form.elem...
return req;};this.post=function(){var req=getHttpRequest();req.open("POST",posturl,true);req.setRequestHeader("X-Requested-With","XMLHttpRequest");req.setRequestHeader("Content-Type","application/x-www-form-urlencoded");var data="";for(var i=0;i<this.form.elements.length;i++){data+="&"+this.form.elements[i].name+"="+th...
var post_handler = function(item, con){
function post_handler(item, con){
var post_handler = function(item, con){ var ps = item.ps; var id = item.id; win = open(chrome.extension.getURL('quickpostform.html'), '_blank', 'alwaysRaised=yes,toolbar=no,directories=no,status=no,menubar=no,scrollbars=no,location=no,dependent=yes,z-lock=yes'); win.QuickPostForm = {}; win.ps = ps; win.Models = M...
};
}
var post_handler = function(item, con){ var ps = item.ps; var id = item.id; win = open(chrome.extension.getURL('quickpostform.html'), '_blank', 'alwaysRaised=yes,toolbar=no,directories=no,status=no,menubar=no,scrollbars=no,location=no,dependent=yes,z-lock=yes'); win.QuickPostForm = {}; win.ps = ps; win.Models = M...
if(this.body().length){
if(this.isPostable()){
postCheck: function(){ if(this.body().length){ this.elmButton.removeAttribute('disabled'); } else { this.elmButton.setAttribute('disabled', 'true'); } }
self.enables[poster.name] = poster;
posters.enables[poster.name] = poster;
var PosterItem = function(ps, poster, index, posters){ this.poster = poster; this.posters = posters; this.index = index; var res = ~ps.enabledPosters.indexOf(poster.name) || posters.models.getConfig(ps, poster) === 'default'; var img = this.element = $N('img', {'src':poster.ICON, 'title':poster.name, 'class':'pos...
prepare: function() { this.deltaX = window.pageXOffset || document.documentElement.scrollLeft || document.body.scrollLeft || 0; this.deltaY = window.pageYOffset || document.documentElement.scrollTop || document.body.scrollTop || 0; },
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(...
prepare: function() { this.deltaX = window.pageXOffset || document.documentElement.scrollLeft || document.body.scrollLeft || 0; this.deltaY = window.pageYOffset || document.documentElement.scrollTop || document.body.scrollTop ...
this.updateLayer();
this.updateLayer(context);
prepareContext: function(context, firstTime) { // eventually, firstTime will be removed because it is ugly. // for now, we will sense whether we are doing things the ugly way or not. // if ugly, we will allow updates through. if (SC.none(firstTime)) firstTime = YES; // the GOOD code path :) if (firstTi...
String.prototype.gsub.prepareReplacement = function(replacement) { if (Object.isFunction(replacement)) return replacement; var template = new Template(replacement); return function(match) { return template.evaluate(match) }; };
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(...
String.prototype.gsub.prepareReplacement = function(replacement) { if (Object.isFunction(replacement)) return replacement; var template = new Template(replacement); return function(match) { return template.evaluate(match) };};
wrapInner:function(a){return this.each(function(){var b=c(this),d=b.contents();d.length?d.wrapAll(a):b.append(a)})},wrap:function(a){return this.each(function(){c(this).wrapAll(a)})},unwrap:function(){return this.parent().each(function(){c.nodeName(this,"body")||c(this).replaceWith(this.childNodes)}).end()},append:func...
prepend:function(){return this.domManip(arguments,true,function(a){this.nodeType===1&&this.insertBefore(a,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,false,function(b){this.parentNode.insertBefore(b,this)});else if(arguments.length){var a=c(arguments[0]);a.push.ap...
wrapInner:function(a){return this.each(function(){var b=c(this),d=b.contents();d.length?d.wrapAll(a):b.append(a)})},wrap:function(a){return this.each(function(){c(this).wrapAll(a)})},unwrap:function(){return this.parent().each(function(){c.nodeName(this,"body")||c(this).replaceWith(this.childNodes)}).end()},append:func...
present: function(element) { return $(element).value != ''; },
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(...
present: function(element) { return $(element).value != ''; },
b,d){if(this.setInterval)this.onbeforeunload=d;return false},teardown:function(a,b){if(this.onbeforeunload===b)this.onbeforeunload=null}}}};c.Event=function(a){if(!this.preventDefault)return new c.Event(a);if(a&&a.type){this.originalEvent=a;this.type=a.type}else this.type=a;this.timeStamp=K();this[H]=true};c.Event.prot...
a;this.type=a.type}else this.type=a;this.timeStamp=J();this[G]=true};c.Event.prototype={preventDefault:function(){this.isDefaultPrevented=Z;var a=this.originalEvent;if(a){a.preventDefault&&a.preventDefault();a.returnValue=false}},stopPropagation:function(){this.isPropagationStopped=Z;var a=this.originalEvent;if(a){a.st...
b,d){if(this.setInterval)this.onbeforeunload=d;return false},teardown:function(a,b){if(this.onbeforeunload===b)this.onbeforeunload=null}}}};c.Event=function(a){if(!this.preventDefault)return new c.Event(a);if(a&&a.type){this.originalEvent=a;this.type=a.type}else this.type=a;this.timeStamp=K();this[H]=true};c.Event.prot...
preventDefault: function() { this.returnValue = false },
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(...
preventDefault: function() { this.returnValue = false },
var ajax = new Ajax.Request(url,{method: 'get', parameters:formdata, onSuccess: function(response) {refreshIt(response.responseText);}
var ajax = new Ajax.Updater({success: 'error'},url,{method: 'get', parameters:formdata, onSuccess: function(response) {refreshIt(response.responseText);}
function previewContactSheet() {var url = 'ajax/contactsheet.php';var formdata = $('contactsheetform').serialize() + '&preview=true'; var ajax = new Ajax.Request(url,{method: 'get', parameters:formdata, onSuccess: function(response) {refreshIt(response.responseText);},onCreate: function(response) {loadIt();}});}
var cellValue = rowHTML[i].replace("\|\$\*", '<br>');
var cellValue = rowHTML[i].replace(/\|\$\*/g, '<br>-');
function previewTable(table){ //save the table in a global var actualUTR = table; finalTable = new Array(); //get the 2 tables (Model + rowsHTML + rowsInfo) finalUtrModel = table.utrModel;// //use the rowsHTML to generate the body part of the table finalRowsHTML = table.rowsHTML;//the content that ...
strTH ='<th> % </th>';
strTH ='<th> Columns </th>';
function previewTable(table){ //save the table in a global var actualUTR = table; finalTable = new Array(); //get the 2 tables (Model + rowsHTML + rowsInfo) finalUtrModel = table.utrModel;// //use the rowsHTML to generate the body part of the table finalRowsHTML = table.rowsHTML;//the content that ...
var btnDelete = '<input id='+i+' title="Delete column" type="button" value="-" class = "deleteColumnClass"/></input>';
var btnDelete = '<input id='+i+' title="Delete column" type="button" value="" class = "deleteColumnClass"/></input>';
function previewTable(table){ //save the table in a global var actualUTR = table; finalTable = new Array(); //get the 2 tables (Model + rowsHTML + rowsInfo) finalUtrModel = table.utrModel;// //use the rowsHTML to generate the body part of the table finalRowsHTML = table.rowsHTML;//the content that ...
previous: function(element, expression, index) { element = $(element); if (arguments.length == 1) return $(Selector.handlers.previousElementSibling(element)); var previousSiblings = element.previousSiblings(); return Object.isNumber(expression) ? previousSiblings[expression] : Selector.findElement(previousSiblings, exp...
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(...
previous: function(element, expression, index) { element = $(element); if (arguments.length == 1) return $(Selector.handlers.previousElementSibling(element)); var previousSiblings = element.previousSiblings(); return Object.isNumber(expression) ? previousSiblings[expression] : Selector.findElement(pr...
previousSiblings: function(element) { return $(element).recursivelyCollect('previousSibling'); },
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(...
previousSiblings: function(element) { return $(element).recursivelyCollect('previousSibling'); },
for ([k, v] in iter(params.apply(this, args)))])
for ([k, v] in iter(params.apply(self, args)))])
let process = util.identity; if (callable(params)) function makeParams(self, args) array.toObject([[k, process(v)] for ([k, v] in iter(params.apply(this, args)))]) else if (params) function makeParams(self, args) ar...
let makeParams = function makeParams() let (args = arguments) params.map(function (name, i) [name, process(args[i])]).toObject();
let process = util.identity; let makeParams = function makeParams() let (args = arguments) params.map(function (name, i) [name, process(args[i])]).toObject(); if (callable(params)) makeParams = function makeParams(args) array(Iterator(params.apply(this, argumen...
makeParams = function makeParams(args) array(Iterator(params.apply(this, arguments))).map(function ([k, v]) [k, process(v)]).toObject();
function makeParams(self, args) array.toObject([[k, process(v)] for ([k, v] in iter(params.apply(this, args)))])
let process = util.identity; let makeParams = function makeParams() let (args = arguments) params.map(function (name, i) [name, process(args[i])]).toObject(); if (callable(params)) makeParams = function makeParams(args) array(Iterator(params.apply(this, argumen...
params = array(params);
function makeParams(self, args) array.toObject([[name, process(args[i])] for ([i, name] in Iterator(params))]);
let process = util.identity; let makeParams = function makeParams() let (args = arguments) params.map(function (name, i) [name, process(args[i])]).toObject(); if (callable(params)) makeParams = function makeParams(args) array(Iterator(params.apply(this, argumen...
var action = function action(args) events.feedkeys(action.macro(args), noremap, silent);
var action = function action() events.feedkeys(action.macro(makeParams(this, arguments)), noremap, silent);
let process = util.identity; let makeParams = function makeParams() let (args = arguments) params.map(function (name, i) [name, process(args[i])]).toObject(); if (callable(params)) makeParams = function makeParams(args) array(Iterator(params.apply(this, argumen...
action = function action() commands.execute(action.macro, makeParams.apply(this, arguments),
action = function action() commands.execute(action.macro, makeParams(this, arguments),
let process = util.identity; let makeParams = function makeParams() let (args = arguments) params.map(function (name, i) [name, process(args[i])]).toObject(); if (callable(params)) makeParams = function makeParams(args) array(Iterator(params.apply(this, argumen...
action = dactyl.userEval("(function action() { with (action.makeParams.apply(this, arguments)) {" + args.literalArg + "} })");
action = dactyl.userEval("(function action() { with (action.makeParams(this, arguments)) {" + args.literalArg + "} })");
let process = util.identity; let makeParams = function makeParams() let (args = arguments) params.map(function (name, i) [name, process(args[i])]).toObject(); if (callable(params)) makeParams = function makeParams(args) array(Iterator(params.apply(this, argumen...
let macro = util.compileMacro(rhs, true); var action = function action(count) events.feedkeys(macro({ count: count }),
var action = function action(count) events.feedkeys(action.macro({ count: count || "" }),
let process = util.identity; let makeParams = function makeParams() let (args = arguments) params.map(function (name, i) [name, process(args[i])]).toObject(); if (callable(params)) makeParams = function makeParams(args) array(Iterator(params.apply(this, argumen...
macro = util.compileMacro(rhs, true); action = function action() commands.execute(macro, makeParams.apply(this, arguments),
action = function action() commands.execute(action.macro, makeParams.apply(this, arguments),
let process = util.identity; let makeParams = function makeParams() let (args = arguments) params.map(function (name, i) [name, process(args[i])]).toObject(); if (callable(params)) makeParams = function makeParams(args) array(Iterator(params.apply(this, argumen...
action.macro = util.compileMacro(rhs, true);
let process = util.identity; let makeParams = function makeParams() let (args = arguments) params.map(function (name, i) [name, process(args[i])]).toObject(); if (callable(params)) makeParams = function makeParams(args) array(Iterator(params.apply(this, argumen...
action = dactyl.userEval("(function action() { with (action.makeParams.apply(this, arguments)) {" + args.literalArg + "} })")
action = dactyl.userEval("(function action() { with (action.makeParams.apply(this, arguments)) {" + args.literalArg + "} })");
let process = util.identity; let makeParams = function makeParams() let (args = arguments) params.map(function (name, i) [name, process(args[i])]).toObject(); if (callable(params)) makeParams = function makeParams(args) array(Iterator(params.apply(this, argumen...
if (event.keyCode == KeyEvent.KEY_SPACE) { return false; }
processInput: function (event, ctx) { if (event.type == "keyup") { return false; } if (event.keyCode == KeyEvent.KEY_SPACE) { return false; } var ch = KeyEvent.toChar(event); if (ctx.beingConverted()) { if (ctx.isCompleted() && ch != null &&...
if (ctx.isCompleted() && ch != null && this._isInput(ch, true)) {
if (ctx.isCompleted() && ch != null && this._initial.indexOf(ch) != -1) {
processInput: function (event, ctx) { if (event.type == "keyup") { return false; } if (event.keyCode == KeyEvent.KEY_SPACE) { return false; } var ch = KeyEvent.toChar(event); if (ctx.beingConverted()) { if (ctx.isCompleted() && ch != null &&...
this._input.push(ch); return {type: "edit", value: this._getInput()};
this._keyword.push(ch); return {type: "edit", value: this._getKeyword()};
processInput: function (event, ctx) { if (event.type == "keyup") { return false; } if (event.keyCode == KeyEvent.KEY_SPACE) { return false; } var ch = KeyEvent.toChar(event); if (ctx.beingConverted()) { if (ctx.isCompleted() && ch != null &&...
this._input.pop(); ctx.input = this._getInput();
if (this._isKeywordEmpty()) this._keyword = this._input.pop(); this._keyword.pop(); if (this._isKeywordEmpty()) { ctx.popInput(); } else { ctx.input.pop(); ctx.input.push(this._getKeyword()); }
processInput: function (event, ctx) { if (event.type == "keyup") { return false; } if (event.keyCode == KeyEvent.KEY_SPACE) { return false; } var ch = KeyEvent.toChar(event); if (ctx.beingConverted()) { if (ctx.isCompleted() && ch != null &&...
if (ch != null && this._isInput(ch, this.isEmpty())) { this._input.push(ch); ctx.input = this._getInput(); return {type: "edit", value: null};
if (ch == null) { return false; } if (!this.isEmpty() && this._delimiter.indexOf(ch) != -1) { if (!this._isKeywordEmpty()) this._input.push(this._keyword); this._input.push([ch]); this._keyword = []; return {type: "edit", value: [ch]}; } if (this._initial.indexOf(ch) != -1) { var complete = (this._keyword.length == thi...
processInput: function (event, ctx) { if (event.type == "keyup") { return false; } if (event.keyCode == KeyEvent.KEY_SPACE) { return false; } var ch = KeyEvent.toChar(event); if (ctx.beingConverted()) { if (ctx.isCompleted() && ch != null &&...
result.push(this._delimiter[0]);
result.push(this._delimiter.charAt(0));
processInput: function (event, ctx) { if (event.type == "keyup") { return false; } var ch = KeyEvent.toChar(event); if (ctx.beingConverted()) { if (ctx.isCompleted() && ch != null && this._initial.indexOf(ch) != -1) { this.clear(); this...
if (result.type == "prompt") { var p = this.ctx.getPreedit(); if (result.value == null) { this._frontend.updatePreedit(p.text, p.start, p.end); } else { var text = p.text + result.value; var start = p.text.length + (result.start || 0); var end = p.text.length + (result.end || result.value.length); this._frontend.update...
processKeyEvent: function (event) { // handle hot keys --zouive if (event.altKey || event.metaKey) { return false; } if (event.ctrlKey) { if (this.ctx.isEmpty() && event.type == "keydown") { if (event.keyCode == KeyEvent.KEY_ENTER) { ...
if(index < this.minShowing) this.minShowing = index; if(index > this.maxShowing) this.maxShowing = index;
if(index < this._minShowing) this._minShowing = index; if(index > this._maxShowing) this._maxShowing = index;
processNowShowing: function(index) { if(index < this.minShowing) this.minShowing = index; if(index > this.maxShowing) this.maxShowing = index; this._shouldBeShowing.add(index); },
message = decode(serviceCallEvent.data);
var message = decode(serviceCallEvent.data);
function processPmrpcMessage(eventParams) { var serviceCallEvent = eventParams.event; var eventSource = eventParams.source; var isWorkerComm = typeof eventSource !== "undefined" && eventSource !== null; // if the message is not for pmrpc, ignore it. if (serviceCallEvent.data.indexOf("pmrpc.") !== 0...
PAGESPEED.Utils.quitFirefox();
var quitFirefoxDelay = PAGESPEED.Utils.getIntPref( 'extensions.PageSpeed.quit_after_scoring_delay', 0); if (!quitFirefoxDelay) { PAGESPEED.Utils.quitFirefox(); } else { setTimeout(PAGESPEED.Utils.quitFirefox, quitFirefoxDelay); }
PAGESPEED.PageSpeedContext.prototype.processResults = function( panel, browserTab) { // Display the results var overallScore = PAGESPEED.PageSpeedContext.displayPerformance( panel, browserTab); // Build the results object. var resultsContainer = new PAGESPEED.ResultsContainer( browserTab, overallScore)...
findTests(fs.list(x));
findTests( fs.list(x).map(function(f) x + "/" + f) );
exports.prove = function prove() { const fs = require('filesystem-base'); var i = 0; var options = {}; if (typeof arguments[0] == "object") { i++; options = arguments[0]; } var test_files = []; for (; i < arguments.length; ++i) { var x = arguments[i].replace(/^file:\/\//, ''); if (!fs.exists(x)) ...
isLayerProvider: YES,
provide: function(sel) { return { renderer: this, getLayer: this._layerFinder, selector: sel }; }
range.length = 0;
provideObjectAtIndex: function(index, object) { var array = this._TMP_PROVIDE_ARRAY, range = this._TMP_PROVIDE_RANGE; array[0] = object; range.start = index; range.length = 0; return this.provideObjectsInRange(range, array); },