rem
stringlengths
0
126k
add
stringlengths
0
441k
context
stringlengths
15
136k
var create_volumes = $('#create_volumes').find('li');
var create_volumes = $(this).find('#create_volumes').find('li');
DcmgrGUI.prototype.snapshotPanel = function(){ var total = 0; var maxrow = 10; var page = 1; var list_request = { "url" : DcmgrGUI.Util.getPagePath('/snapshots/list/',page), "data" : DcmgrGUI.Util.getPagenateData(page,maxrow) }; DcmgrGUI.List.prototype.getEmptyData = function(){ return [{ "uuid...
var delete_snapshots = $('#delete_snapshots').find('li');
var delete_snapshots = $(this).find('#delete_snapshots').find('li');
DcmgrGUI.prototype.snapshotPanel = function(){ var total = 0; var maxrow = 10; var page = 1; var list_request = { "url" : DcmgrGUI.Util.getPagePath('/snapshots/list/',page), "data" : DcmgrGUI.Util.getPagenateData(page,maxrow) }; DcmgrGUI.List.prototype.getEmptyData = function(){ return [{ "uuid...
if (aColorCode == PAGESPEED.Utils.SCORE_CODE_RED) { if (a.experimental != b.experimental) { return a.experimental ? 1 : -1; } }
var sortByScore = function(a, b) { var aColorCode = PAGESPEED.Utils.getColorCode(a); var bColorCode = PAGESPEED.Utils.getColorCode(b); if (aColorCode != bColorCode) { return aColorCode - bColorCode; } // Past this point, the color codes are the same. var aDetails = !!((a.warnings || '') + (a.in...
each(a, function() { vals.push(context.call("string", xpath.core.newNodeSet([this])).value); });
each(nodes, function() { vals.push(context.call("string", xpath.core.newNodeSet([this])).value); });
function sortStringValues(context, nodes) { var vals = [] each(a, function() { vals.push(context.call("string", xpath.core.newNodeSet([this])).value); }); vals.sort(); return vals;}
commands.execute(file.read(), null, silent, null,
commands.execute(file.read(), null, silent || "loud", null,
source: function (filename, silent) { defineModule.loadLog.push("sourcing " + filename); let time = Date.now(); try { var file = io.File(filename); if (!file.exists() || !file.isReadable() || file.isDirectory()) { if (!silent) dactyl.echoe...
try { var file = io.File(filename);
this.withSavedValues(["sourcing"], function () { this.sourcing = null; try { var file = io.File(filename);
source: function (filename, silent) { defineModule.loadLog.push("sourcing " + filename); let time = Date.now(); try { var file = io.File(filename); if (!file.exists() || !file.isReadable() || file.isDirectory()) { if (!silent) dactyl.echoe...
if (!file.exists() || !file.isReadable() || file.isDirectory()) {
if (!file.exists() || !file.isReadable() || file.isDirectory()) { if (!silent) dactyl.echoerr("E484: Can't open file " + filename.quote()); return; } dactyl.echomsg("sourcing " + filename.quote(), 2); let uri = services.io.newFileURI(file); if (/\.js$/.test(filename)) { try { dactyl.loadScript(uri.spec, Script(file...
source: function (filename, silent) { defineModule.loadLog.push("sourcing " + filename); let time = Date.now(); try { var file = io.File(filename); if (!file.exists() || !file.isReadable() || file.isDirectory()) { if (!silent) dactyl.echoe...
dactyl.echoerr("E484: Can't open file " + filename.quote()); return;
dactyl.echoerr(message);
source: function (filename, silent) { defineModule.loadLog.push("sourcing " + filename); let time = Date.now(); try { var file = io.File(filename); if (!file.exists() || !file.isReadable() || file.isDirectory()) { if (!silent) dactyl.echoe...
dactyl.echomsg("sourcing " + filename.quote(), 2); let uri = services.io.newFileURI(file); if (/\.js$/.test(filename)) { try { dactyl.loadScript(uri.spec, Script(file)); dactyl.helpInitialized = false; } catch (e) { if (e.fileName) try { e.fileName = e.fileName.replace(/^(chrome|resource):.*? -> /, ""); if (e.fileNa...
finally { defineModule.loadLog.push("done sourcing " + filename + ": " + (Date.now() - time) + "ms");
source: function (filename, silent) { defineModule.loadLog.push("sourcing " + filename); let time = Date.now(); try { var file = io.File(filename); if (!file.exists() || !file.isReadable() || file.isDirectory()) { if (!silent) dactyl.echoe...
else if (/\.css$/.test(filename)) styles.registerSheet(uri.spec, false, true); else { commands.execute(file.read(), null, silent || "loud", null, { file: file.path, line: 1 }); } if (this._scriptNames.indexOf(file.path) == -1) this._scriptNames.push(file.path); dactyl.echomsg("finished sourcing " + filename.quote(), ...
});
source: function (filename, silent) { defineModule.loadLog.push("sourcing " + filename); let time = Date.now(); try { var file = io.File(filename); if (!file.exists() || !file.isReadable() || file.isDirectory()) { if (!silent) dactyl.echoe...
storage.styles.registerSheet(uri.spec, false, true);
styles.registerSheet(uri.spec, false, true);
source: function (filename, silent) { defineModule.loadLog.push("sourcing " + filename); let time = Date.now(); try { var file = io.File(filename); if (!file.exists() || !file.isReadable() || file.isDirectory()) { if (!silent) dactyl.echoe...
let dirs = File.getPathsFromPathList(options["runtimepath"]);
let dirs = options.get("runtimepath").values;
sourceFromRuntimePath: function (paths, all) { let dirs = File.getPathsFromPathList(options["runtimepath"]); let found = false; dactyl.echomsg("Searching for " + paths.join(" ").quote() + " in " + options["runtimepath"].quote(), 2); outer: for (let [, dir] in Iterator(dirs)) { ...
let file = File.joinPaths(dir, path);
let file = File.joinPaths(dir, path, this.cwd);
sourceFromRuntimePath: function (paths, all) { let dirs = File.getPathsFromPathList(options["runtimepath"]); let found = false; dactyl.echomsg("Searching for " + paths.join(" ").quote() + " in " + options["runtimepath"].quote(), 2); outer: for (let [, dir] in Iterator(dirs)) { ...
dactyl.echomsg("Searching for \"" + paths.join(" ") + "\" in \"" + options["runtimepath"] + "\"", 2);
dactyl.echomsg("Searching for " + paths.join(" ").quote() + " in " + options["runtimepath"].quote(), 2);
sourceFromRuntimePath: function (paths, all) { let dirs = File.getPathsFromPathList(options["runtimepath"]); let found = false; dactyl.echomsg("Searching for \"" + paths.join(" ") + "\" in \"" + options["runtimepath"] + "\"", 2); outer: for (let [, dir] in Iterator(dirs)) { ...
dactyl.echomsg("Searching for \"" + file.path + "\"", 3);
dactyl.echomsg("Searching for " + file.path.quote(), 3);
sourceFromRuntimePath: function (paths, all) { let dirs = File.getPathsFromPathList(options["runtimepath"]); let found = false; dactyl.echomsg("Searching for \"" + paths.join(" ") + "\" in \"" + options["runtimepath"] + "\"", 2); outer: for (let [, dir] in Iterator(dirs)) { ...
dactyl.echomsg("not found in 'runtimepath': \"" + paths.join(" ") + "\"", 1);
dactyl.echomsg("not found in 'runtimepath': " + paths.join(" ").quote(), 1);
sourceFromRuntimePath: function (paths, all) { let dirs = File.getPathsFromPathList(options["runtimepath"]); let found = false; dactyl.echomsg("Searching for \"" + paths.join(" ") + "\" in \"" + options["runtimepath"] + "\"", 2); outer: for (let [, dir] in Iterator(dirs)) { ...
if (!(syllables[k].match("[\u1000-\u109F]")))
if (!(syllables[k].match("[α€€-α‚Ÿ]")))
MyanmarConverterExtension.spellCheckSyllables = function(syllables){ var convertedText = ""; var unknownSyllables = 0; var knownWordCount = 0; var wordBreaks = new Array(); for (var j = 0 ; j< syllables.length; j++) { var testWord = syllables[j]; var checkedWord = ""; var matchedS...
if ((j + 1 < syllables.length) && (syllables[j+1].match("[\u1000-\u1049\u104C-\u109F]")))
if ((j + 1 < syllables.length) && (syllables[j+1].match("[α€€-α‰αŒ-α‚Ÿ]")))
MyanmarConverterExtension.spellCheckSyllables = function(syllables){ var convertedText = ""; var unknownSyllables = 0; var knownWordCount = 0; var wordBreaks = new Array(); for (var j = 0 ; j< syllables.length; j++) { var testWord = syllables[j]; var checkedWord = ""; var matchedS...
if (syllables[j].match("[\u1000-\u1049\u104C-\u109F]"))
if (syllables[j].match("[α€€-α‰αŒ-α‚Ÿ]"))
MyanmarConverterExtension.spellCheckSyllables = function(syllables){ var convertedText = ""; var unknownSyllables = 0; var knownWordCount = 0; var wordBreaks = new Array(); for (var j = 0 ; j< syllables.length; j++) { var testWord = syllables[j]; var checkedWord = ""; var matchedS...
split: function(expression) { var expressions = []; expression.scan(/(([\w#:.~>+()\s-]+|\*|\[.*?\])+)\s*(,|$)/, function(m) { expressions.push(m[1].strip()); }); return expressions; },
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(...
split: function(expression) { var expressions = []; expression.scan(/(([\w#:.~>+()\s-]+|\*|\[.*?\])+)\s*(,|$)/, function(m) { expressions.push(m[1].strip()); }); return expressions; },
if (count !== undefined) Option._splitAt += count + 1;
splitList: function (value, keepQuotes) { let res = []; Option._splitAt = 0; do { if (count !== undefined) Option._splitAt += count + 1; var [count, arg, quote] = Commands.parseArg(value, /,/, keepQuotes); Option._quote = quote; // FIXME ...
if (value.length > count) Option._splitAt += count + 1;
splitList: function (value, keepQuotes) { let res = []; Option._splitAt = 0; do { if (count !== undefined) Option._splitAt += count + 1; var [count, arg, quote] = Commands.parseArg(value, /,/, keepQuotes); Option._quote = quote; // FIXME ...
value = value.slice(count + 1);
value = value.slice(count);
splitList: function (value, keepQuotes) { let res = []; Option._splitAt = 0; do { var [count, arg, quote] = Commands.parseArg(value, /,/, keepQuotes); Option._quote = quote; // FIXME res.push(arg); if (value.length > count) Option._spli...
return doctest.spies[name];
self = doctest.spies[name]; if (! options && ! extraOptions) { return self; } } else { var self = function () { return self.func.apply(this, arguments); };
doctest.Spy = function (name, options, extraOptions) { if (doctest.spies[name]) { return doctest.spies[name]; } var self = function () { return self.func.apply(this, arguments); }; name = name || 'spy'; options = options || {}; if (typeof options == 'function') { options = {applies: options}; } if (ex...
var self = function () { return self.func.apply(this, arguments); };
doctest.Spy = function (name, options, extraOptions) { if (doctest.spies[name]) { return doctest.spies[name]; } var self = function () { return self.func.apply(this, arguments); }; name = name || 'spy'; options = options || {}; if (typeof options == 'function') { options = {applies: options}; } if (ex...
self.throwError = self.throwError || null;
self.throwError = options.throwError || null; self.ignoreThis = options.ignoreThis || false;
doctest.Spy = function (name, options, extraOptions) { if (doctest.spies[name]) { return doctest.spies[name]; } var self = function () { return self.func.apply(this, arguments); }; name = name || 'spy'; options = options || {}; if (typeof options == 'function') { options = {applies: options}; } if (ex...
if (self.self !== window && self.self !== self) {
if ((! self.ignoreThis) && self.self !== window && self.self !== self) {
doctest.Spy = function (name, options, extraOptions) { if (doctest.spies[name]) { return doctest.spies[name]; } var self = function () { return self.func.apply(this, arguments); }; name = name || 'spy'; options = options || {}; if (typeof options == 'function') { options = {applies: options}; } if (ex...
doctest.spies[name] = this;
doctest.spies[name] = self;
doctest.Spy = function (name, options, extraOptions) { if (doctest.spies[name]) { return doctest.spies[name]; } var self = function () { return self.func.apply(this, arguments); }; name = name || 'spy'; options = options || {}; if (typeof options == 'function') { options = {applies: options}; } if (ex...
self.name = name;
self._name = name;
doctest.Spy = function (name, options, extraOptions) { if (doctest.spies[name]) { return doctest.spies[name]; } var self = function () { return self.func.apply(this, arguments); }; name = name || 'spy'; options = options || {}; if (typeof options == 'function') { options = {applies: options}; } if (ex...
return "Spy('" + self.name + "').func";
return "Spy('" + self._name + "').func";
doctest.Spy = function (name, options, extraOptions) { if (doctest.spies[name]) { return doctest.spies[name]; } var self = function () { return self.func.apply(this, arguments); }; name = name || 'spy'; options = options || {}; if (typeof options == 'function') { options = {applies: options}; } if (ex...
s += self.name;
s += self._name;
doctest.Spy = function (name, options, extraOptions) { if (doctest.spies[name]) { return doctest.spies[name]; } var self = function () { return self.func.apply(this, arguments); }; name = name || 'spy'; options = options || {}; if (typeof options == 'function') { options = {applies: options}; } if (ex...
var desc = self.name + '.' + name;
var desc = self._name + '.' + name;
doctest.Spy = function (name, options, extraOptions) { if (doctest.spies[name]) { return doctest.spies[name]; } var self = function () { return self.func.apply(this, arguments); }; name = name || 'spy'; options = options || {}; if (typeof options == 'function') { options = {applies: options}; } if (ex...
return "Spy('" + self.name + "')";
return "Spy('" + self._name + "')";
doctest.Spy = function (name, options, extraOptions) { if (doctest.spies[name]) { return doctest.spies[name]; } var self = function () { return self.func.apply(this, arguments); }; name = name || 'spy'; options = options || {}; if (typeof options == 'function') { options = {applies: options}; } if (ex...
list_request.data = DcmgrGUI.Util.getPagenateData(c_list.page, c_list.maxrow)
list_request.data = DcmgrGUI.Util.getPagenateData(c_pagenate.start,c_pagenate.row);
DcmgrGUI.prototype.sshKeyPairPanel = function(){ var total = 0; var maxrow = 10; var page = 1; var list_request = { "url" : DcmgrGUI.Util.getPagePath('/keypairs/list/',page), "data" : DcmgrGUI.Util.getPagenateData(page,maxrow) }; DcmgrGUI.List.prototype.getEmptyData = function(){ return [{ "name"...
console.log("START");
start: function(ev) { console.log("START"); this.status = status; removeElementClass(table, 'normal'); addElementClass(table, status); },
observerService,
httpActivityDistributor,
activity.TimelineManager.prototype.start = function( activityProfiler, observerService, startTimeUsec, xulElementFactory, xulRowsElement, paintPaneElement, paintPaneSplitter, enableScreenSnapshots) { this.reset(); this.timerDelayMsec_ = activity.preference.getInt( activity.TimelineManager...
aggregateBrowserJS,
activity.TimelineManager.prototype.start = function( activityProfiler, observerService, httpActivityDistributor, startTimeUsec, xulElementFactory, xulRowsElement, paintPaneElement, paintPaneSplitter, enableScreenSnapshots) { this.reset(); this.timerDelayMsec_ = activity.preference.getInt( ...
this.throwIfDisposed_();
activity.JsEventFetcher.prototype.start = function() { this.throwIfDisposed_(); this.startTimeUsec_ = 0; this.isRunning_ = true; this.isFinished_ = false; this.isCallbackPending_ = false;};
start: function() { this.options.onComplete = this.updateComplete.bind(this); this.onTimerEvent(); },
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(...
start: function() { this.options.onComplete = this.updateComplete.bind(this); this.onTimerEvent(); },
this.throwIfDisposed();
activity.TimelineModel.prototype.startAddingEvents = function() { this.throwIfDisposed(); this.addingEventDepth_++; if (this.addingEventDepth_ == 1) { this.pendingEndTimeUsec_ = 0; }};
httpActivityDistributor,
activity.ui.startProfiler_ = function() { activity.ui.reset(); if (!activity.ui.timelineWindow_) return; activity.ui.isProfiling_ = true; activity.ui.collectFullCallTrees_ = activity.preference.getBool( activity.ui.PREF_COLLECT_COMPLETE_CALL_GRAPHS_, false); activity.ui.enableJsProfiling_ = activity.preferenc...
startsWith: function(pattern) { return this.indexOf(pattern) === 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(...
startsWith: function(pattern) { return this.indexOf(pattern) === 0; },
Services.io.newURI("jar:" + Services.io.newFileURI(file).spec + "!" + path);
Services.io.newURI("jar:" + Services.io.newFileURI(basePath).spec + "!/" + path, null, null);
function startup(data, reason) { dump("dactyl: bootstrap: startup " + reasonToString(reason) + "\n"); basePath = data.installPath; if (!initialized) { initialized = true; dump("dactyl: bootstrap: init" + " " + data.id + "\n"); addon = data; AddonManager.getAddonByID(addon.id, functi...
AddonManager.getAddonByID(addon.id, function (a) { addon = a });
AddonManager.getAddonByID(addon.id, function (a) { addon = a; });
function startup(data, reason) { dump("dactyl: bootstrap: startup " + reasonToString(reason) + "\n"); basePath = data.installPath; if (!initialized) { initialized = true; dump("dactyl: bootstrap: init" + " " + data.id + "\n"); addon = data; AddonManager.getAddonByID(addon.id, functi...
}
};
function startup(data, reason) { dump("dactyl: bootstrap: startup " + reasonToString(reason) + "\n"); basePath = data.installPath; if (!initialized) { initialized = true; dump("dactyl: bootstrap: init" + " " + data.id + "\n"); addon = data; AddonManager.getAddonByID(addon.id, functi...
AddonManager.getAddonByID(data.id, function (res) { try { addon = res; init();
addon = data; if (basePath.isDirectory()) getURI = function getURI(path) { let file = basePath.clone().QueryInterface(Ci.nsILocalFile); file.appendRelativePath(path); return (Services.io || services.io).newFileURI(file);
function startup(data, reason) { dump("dactyl: bootstrap: startup\n"); basePath = data.installPath; if (!initialized) { initialized = true; dump("dactyl: bootstrap: init" + " " + data.id + "\n"); AddonManager.getAddonByID(data.id, function (res) { try { addon = re...
catch (e) { dump("dactyl: bootstrap: " + e + "\n"); Cu.reportError(e); } });
else getURI = function getURI(path) Services.io.newURI("jar:" + Services.io.newFileURI(file).spec + "!" + path); try { init(); } catch (e) { dump("dactyl: bootstrap: " + e + "\n" + e.stack); Cu.reportError(e); }
function startup(data, reason) { dump("dactyl: bootstrap: startup\n"); basePath = data.installPath; if (!initialized) { initialized = true; dump("dactyl: bootstrap: init" + " " + data.id + "\n"); AddonManager.getAddonByID(data.id, function (res) { try { addon = re...
metaData.css = 'planned';
TYPO3.Backend.Seminars.Events.StatusRenderer = function(value, metaData, record, rowIndex, colIndex, store) { switch (value) { case 1: metaData.css = 'cancel'; value = TYPO3.lang['eventlist_status_canceled']; break; case 2: metaData.css = 'confirm'; value = TYPO3.lang['eventlist_status_confirmed']; break;...
statusline.updateProgress("");
statusline.progess = "";
this._statusTimer = Timer(5, 100, function statusTell() { if (self._completions == null) return; if (self._completions.selected == null) statusline.updateProgress(""); else statusline.updateProgress("match " + (self._completions.selec...
statusline.updateProgress("match " + (self._completions.selected + 1) + " of " + self._completions.items.length);
statusline.progress = "match " + (self._completions.selected + 1) + " of " + self._completions.items.length;
this._statusTimer = Timer(5, 100, function statusTell() { if (self._completions == null) return; if (self._completions.selected == null) statusline.updateProgress(""); else statusline.updateProgress("match " + (self._completions.selec...
statusline.progess = "";
statusline.progress = "";
this._statusTimer = Timer(5, 100, function statusTell() { if (self._completions == null || self._completions.selected == null) statusline.progess = ""; else statusline.progress = "match " + (self._completions.selected + 1) + " of " + self._completions.items.le...
if (self._completions == null) return; if (self._completions.selected == null)
if (self._completions == null || self._completions.selected == null)
this._statusTimer = Timer(5, 100, function statusTell() { if (self._completions == null) return; if (self._completions.selected == null) statusline.progess = ""; else statusline.progress = "match " + (self._completions.selected + 1) +...
"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...
this.throwIfDisposed_();
activity.JsEventFetcher.prototype.stop = function() { this.throwIfDisposed_(); this.isRunning_ = false;};
c.easing[this.options.specialEasing&&this.options.specialEasing[this.prop]||a](this.state,e,0,1,this.options.duration);this.now=this.start+(this.end-this.start)*this.pos;this.update()}return true}};c.extend(c.fx,{tick:function(){for(var a=c.timers,b=0;b<a.length;b++)a[b]()||a.splice(b--,1);a.length||c.fx.stop()},stop:f...
c.fx.stop()},stop:function(){clearInterval(W);W=null},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(a){c.style(a.elem,"opacity",a.now)},_default:function(a){if(a.elem.style&&a.elem.style[a.prop]!=null)a.elem.style[a.prop]=(a.prop==="width"||a.prop==="height"?Math.max(0,a.now):a.now)+a.unit;else a.elem[...
c.easing[this.options.specialEasing&&this.options.specialEasing[this.prop]||a](this.state,e,0,1,this.options.duration);this.now=this.start+(this.end-this.start)*this.pos;this.update()}return true}};c.extend(c.fx,{tick:function(){for(var a=c.timers,b=0;b<a.length;b++)a[b]()||a.splice(b--,1);a.length||c.fx.stop()},stop:f...
stop: function() { if (!this.timer) return; clearInterval(this.timer); this.timer = null; },
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(...
stop: function() { if (!this.timer) return; clearInterval(this.timer); this.timer = null; },
var cancel = function stop(ev){
function stop(ev){
var cancel = function stop(ev){ ev.preventDefault(); ev.stopPropagation();}
function stop(ev){
var cancel = function stop(ev){
function stop(ev){ ev.preventDefault(); ev.stopPropagation();}
ba;var a=this.originalEvent;if(a){a.stopPropagation&&a.stopPropagation();a.cancelBubble=true}},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=ba;this.stopPropagation()},isDefaultPrevented:aa,isPropagationStopped:aa,isImmediatePropagationStopped:aa};var Ba=function(a){for(var b=a.relatedTarget;b&...
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...
ba;var a=this.originalEvent;if(a){a.stopPropagation&&a.stopPropagation();a.cancelBubble=true}},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=ba;this.stopPropagation()},isDefaultPrevented:aa,isPropagationStopped:aa,isImmediatePropagationStopped:aa};var Ba=function(a){for(var b=a.relatedTarget;b&...
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...
stopPropagation: function() { this.cancelBubble = true },
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(...
stopPropagation: function() { this.cancelBubble = true },
debug('streamtest');
logger.debug('streamtest');
streamtest: function (request, response) { debug('streamtest'); // XXX who knows what this does...? },
strip: function() { return this.replace(/^\s+/, '').replace(/\s+$/, ''); },
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(...
strip: function() { return this.replace(/^\s+/, '').replace(/\s+$/, ''); },
stripScripts: function() { return this.replace(new RegExp(Prototype.ScriptFragment, 'img'), ''); },
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(...
stripScripts: function() { return this.replace(new RegExp(Prototype.ScriptFragment, 'img'), ''); },
stripTags: function() { return this.replace(/<\/?[^>]+>/gi, ''); },
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(...
stripTags: function() { return this.replace(/<\/?[^>]+>/gi, ''); },
s.defaultView.getComputedStyle,Ka=c.support.cssFloat?"cssFloat":"styleFloat",la=function(a,b){return b.toUpperCase()};c.fn.css=function(a,b){return $(this,a,b,true,function(d,f,e){if(e===w)return c.curCSS(d,f);if(typeof e==="number"&&!ib.test(f))e+="px";c.style(d,f,e)})};c.extend({style:function(a,b,d){if(!a||a.nodeTyp...
function(a,b){return b.toUpperCase()};c.fn.css=function(a,b){return X(this,a,b,true,function(d,f,e){if(e===w)return c.curCSS(d,f);if(typeof e==="number"&&!kb.test(f))e+="px";c.style(d,f,e)})};c.extend({style:function(a,b,d){if(!a||a.nodeType===3||a.nodeType===8)return w;if((b==="width"||b==="height")&&parseFloat(d)<0)d...
s.defaultView.getComputedStyle,Ka=c.support.cssFloat?"cssFloat":"styleFloat",la=function(a,b){return b.toUpperCase()};c.fn.css=function(a,b){return $(this,a,b,true,function(d,f,e){if(e===w)return c.curCSS(d,f);if(typeof e==="number"&&!ib.test(f))e+="px";c.style(d,f,e)})};c.extend({style:function(a,b,d){if(!a||a.nodeTyp...
el = $.id(el); for(prop in style) { switch(prop) { case 'float': el.style.styleFloat = el.style.cssFloat = style[prop]; break; case 'opacity': el.style.opacity = style[prop]; if(el.filters) { try { var alpha = ieGetAlpha(); var opacity = style[prop] == 1 ? 99.99 : style[prop] * 100; if(!alpha) { el.style.filter = "alp...
el = $.id(el); for(prop in style) { switch(prop) { case 'float': el.style.styleFloat = el.style.cssFloat = style[prop]; break; case 'opacity': el.style.opacity = style[prop]; if(el.filters) { try { var alpha = ieGetAlpha(); var opacity = style[prop] == 1 ? 99.99 : style[prop] * 100; if(!alpha) { el.style.filter = "alp...
$.style = function(el, style) { if(el instanceof Array) { for(var i = 0, o; o = el[i]; ++i) { $.style(o, style); } return; } el = $.id(el); for(prop in style) { switch(prop) { case 'float': el.style.styleFloat = el.style.cssFloat = style[prop]; break; case 'opacity': el.style.opacity = style[prop]; ...
} };
};
$.style = function(el, style) { if(el instanceof Array) { for(var i = 0, o; o = el[i]; ++i) { $.style(o, style); } return; } el = $.id(el); for(prop in style) { switch(prop) { case 'float': el.style.styleFloat = el.style.cssFloat = style[prop]; break; case 'opacity': el.style.opacity = style[prop]; ...
while(match = regex.exec(attr)) styles[match[1].camelize()] = match[2];
styles: function(styles, cloneOnModify) { var attr, regex, match; if (styles === undefined) { // no styles are defined yet but we do have a source element. Lazily // extract styles from element. if (!this._styles && this._elem) { // parse style... attr = SC.$(this._elem).attr...
while(match = regex.exec(attr)) styles[match[1].dasherize()] = match[2];
styles: function(styles, cloneOnModify) { var attr, regex, match; if (styles === undefined) { // no styles are defined yet but we do have a source element. Lazily // extract styles from element. if (!this._styles && this._elem) { // parse style... attr = SC.$(this._elem).attr...
while(match = regex.exec(attr)) styles[match[1].dasherize()] = match[2];
styles: function(styles, cloneOnModify) { var attr, regex, match; if (styles === undefined) { // no styles are defined yet but we do have a source element. Lazily // extract styles from element. if (!this._styles && this._elem) { // parse style... attr = SC.$(this._elem).attr...
sub: function(pattern, replacement, count) { replacement = this.gsub.prepareReplacement(replacement); count = Object.isUndefined(count) ? 1 : count; return this.gsub(pattern, function(match) { if (--count < 0) return match[0]; return replacement(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(...
sub: function(pattern, replacement, count) { replacement = this.gsub.prepareReplacement(replacement); count = Object.isUndefined(count) ? 1 : count; return this.gsub(pattern, function(match) { if (--count < 0) return match[0]; return replacement(match); }); },
succ: function() { return this + 1; },
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(...
succ: function() { return this + 1; },
success: function(json,status){ console.log(json)
success: function(json,status,xhr){
success: function(json,status){ console.log(json) self.element.trigger('dcmgrGUI.contentChange',[{"data":json,"self":self}]); self.element.trigger('dcmgrGUI.afterUpdate',[{"data":json,"self":self}]); }
}
$("#list_load_mask").unmask(); },
success: function(json,status){ console.log(json) self.element.trigger('dcmgrGUI.contentChange',[{"data":json,"self":self}]); self.element.trigger('dcmgrGUI.afterUpdate',[{"data":json,"self":self}]); }
console.log(json)
success: function(json,status){ self.element.trigger('dcmgrGUI.contentChange',[{"data":json,"self":self}]); self.element.trigger('dcmgrGUI.afterUpdate',[{"data":json,"self":self}]); }
"id" : results[i].result.uuid,
"value" : results[i].result.uuid,
success: function(json,status){ var results = json.netfilter_group.results; var size = results.length for (var i=0; i < size ; i++) { data.push({ "id" : results[i].result.uuid, "name" : results[i].result.name }); } }
var security_group = new DcmgrGUI.ItemSelector({ 'left_select_id' : '#left_select_list', 'right_select_id' : "#right_select_list", "data" : data }); $(self).find('#right_button').click(function(){ security_group.leftToRight(); }); $(self).find('#left_button').click(function(){ security_group.rightToLeft(); });
success: function(json,status){ var results = json.netfilter_group.results; var size = results.length for (var i=0; i < size ; i++) { data.push({ "id" : results[i].result.uuid, "name" : results[i].result.name }); } }
ajaxAnimation.removeClass(xhrName); if (!ajaxAnimation.attr('class')) ajaxAnimation.hide();
success: function(data) { fSuccess(data, obj); ajaxAnimation.removeClass(xhrName); if (!ajaxAnimation.attr('class')) ajaxAnimation.hide(); },
alert (msg);
success: function(msg){ //alert(msg); //close the window //$("#propertyBinding").hide(); utrIntro(); }//succes
$(quickeditor).parent().replaceWith('<div class="content">' + html + '</div>');
$(quickeditor).parent().replaceWith('<div class="content text-content">' + html + '</div>');
success: function(html){ $(quickeditor).parent().replaceWith('<div class="content">' + html + '</div>'); }
success: function() { var status = this.getStatus(); return !status || (status >= 200 && status < 300); },
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(...
success: function() { var status = this.getStatus(); return !status || (status >= 200 && status < 300); },
$("#list_load_mask").unmask();
success: function(json,status,xhr){ self.element.trigger('dcmgrGUI.contentChange',[{"data":json,"self":self}]); self.element.trigger('dcmgrGUI.afterUpdate',[{"data":json,"self":self}]); $("#list_load_mask").unmask(); },
suggest: function (aEngines, aWithDescription) { let util = modules.util; let engines = aEngines ? util.suggest.filterEngines(aEngines) : [];
function suggest(aWord, aDomain) { var xhr = new XMLHttpRequest(); var endPoint = "http:
suggest: function (aEngines, aWithDescription) { let util = modules.util; let engines = aEngines ? util.suggest.filterEngines(aEngines) : []; return function (currentText, text) { [query, origin] = completer.utils.getQuery(currentText, [" "]); ...
return function (currentText, text) { [query, origin] = completer.utils.getQuery(currentText, [" "]);
xhr.mozBackgroundRequest = true; xhr.open("GET", endPoint, false); xhr.send(null);
suggest: function (aEngines, aWithDescription) { let util = modules.util; let engines = aEngines ? util.suggest.filterEngines(aEngines) : []; return function (currentText, text) { [query, origin] = completer.utils.getQuery(currentText, [" "]); ...
let cc = { origin : origin, query : query };
let matched = xhr.responseText.match("(<toplevel>.*</toplevel>)");
suggest: function (aEngines, aWithDescription) { let util = modules.util; let engines = aEngines ? util.suggest.filterEngines(aEngines) : []; return function (currentText, text) { [query, origin] = completer.utils.getQuery(currentText, [" "]); ...
if (query) { let collection = engines.reduce( function (accum, engine) { let suggestions = util.suggest.getSuggestions(engine, query); let description = engine.description;
if (!matched) return null;
suggest: function (aEngines, aWithDescription) { let util = modules.util; let engines = aEngines ? util.suggest.filterEngines(aEngines) : []; return function (currentText, text) { [query, origin] = completer.utils.getQuery(currentText, [" "]); ...
return accum.concat(aWithDescription ? suggestions.map(function (s) [s, description]) : suggestions); }, []); cc.collection = collection; } return cc; }; },
return new XML(matched[1]); }
suggest: function (aEngines, aWithDescription) { let util = modules.util; let engines = aEngines ? util.suggest.filterEngines(aEngines) : []; return function (currentText, text) { [query, origin] = completer.utils.getQuery(currentText, [" "]); ...
a.ownerDocument.defaultView;if(!e)return null;if(a=e.getComputedStyle(a,null))f=a.getPropertyValue(b);if(b==="opacity"&&f==="")f="1"}else if(a.currentStyle){d=b.replace(ka,la);f=a.currentStyle[b]||a.currentStyle[d];if(!kb.test(f)&&lb.test(f)){b=e.left;var i=a.runtimeStyle.left;a.runtimeStyle.left=a.currentStyle.left;e....
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...
a.ownerDocument.defaultView;if(!e)return null;if(a=e.getComputedStyle(a,null))f=a.getPropertyValue(b);if(b==="opacity"&&f==="")f="1"}else if(a.currentStyle){d=b.replace(ka,la);f=a.currentStyle[b]||a.currentStyle[d];if(!kb.test(f)&&lb.test(f)){b=e.left;var i=a.runtimeStyle.left;a.runtimeStyle.left=a.currentStyle.left;e....
matches.push(index);
matches.push(browser);
switchTo: function (buffer, allowNonUnique, count, reverse) { if (buffer == "") return; if (buffer != null) { // store this command, so it can be repeated with "B" this._lastBufferSwitchArgs = buffer; this._lastBufferSwitchSpecial = allowNonUnique; } ...
if (allowNonUnique === undefined || allowNonUnique == null)
if (allowNonUnique == null)
switchTo: function (buffer, allowNonUnique, count, reverse) { if (buffer == "") return; if (buffer != null) { // store this command, so it can be repeated with "B" this._lastBufferSwitchArgs = buffer; this._lastBufferSwitchSpecial = allowNonUnique; } ...
if (!count || count < 1) count = 1; if (typeof reverse != "boolean") reverse = false;
count = Math.max(1, count || 1); reverse = Boolean(reverse);
switchTo: function (buffer, allowNonUnique, count, reverse) { if (buffer == "") return; if (buffer != null) { // store this command, so it can be repeated with "B" this._lastBufferSwitchArgs = buffer; this._lastBufferSwitchSpecial = allowNonUnique; } ...
tabs.select(parseInt(matches[1], 10) - 1, false);
tabs.select(this.allTabs[parseInt(matches[1], 10) - 1], false);
switchTo: function (buffer, allowNonUnique, count, reverse) { if (buffer == "") return; if (buffer != null) { // store this command, so it can be repeated with "B" this._lastBufferSwitchArgs = buffer; this._lastBufferSwitchSpecial = allowNonUnique; } ...
let url = config.tabbrowser.getBrowserAtIndex(index).contentDocument.location.href; let title = config.tabbrowser.getBrowserAtIndex(index).contentDocument.title.toLowerCase();
let browser = config.tabbrowser.getBrowserAtIndex(index); let url = browser.contentDocument.location.href; let title = browser.contentDocument.title.toLowerCase();
switchTo: function (buffer, allowNonUnique, count, reverse) { if (buffer == "") return; if (buffer != null) { // store this command, so it can be repeated with "B" this._lastBufferSwitchArgs = buffer; this._lastBufferSwitchSpecial = allowNonUnique; } ...
if (reverse) {
let index = (count - 1) % matches.length; if (reverse)
switchTo: function (buffer, allowNonUnique, count, reverse) { if (buffer == "") return; if (buffer != null) { // store this command, so it can be repeated with "B" this._lastBufferSwitchArgs = buffer; this._lastBufferSwitchSpecial = allowNonUnique; } ...
while (index < 0) index += matches.length; } else index = (count - 1) % matches.length;
switchTo: function (buffer, allowNonUnique, count, reverse) { if (buffer == "") return; if (buffer != null) { // store this command, so it can be repeated with "B" this._lastBufferSwitchArgs = buffer; this._lastBufferSwitchSpecial = allowNonUnique; } ...
tabs.select(matches[index], false);
index = Array.indexOf(config.tabbrowser.browsers, matches[index]); tabs.select(index, false);
switchTo: function (buffer, allowNonUnique, count, reverse) { if (buffer == "") return; if (buffer != null) { // store this command, so it can be repeated with "B" this._lastBufferSwitchArgs = buffer; this._lastBufferSwitchSpecial = allowNonUnique; } ...
let nbrowsers = config.tabbrowser.browsers.length; for (let [i, ] in tabs.browsers) { let index = (i + first) % nbrowsers; let browser = config.tabbrowser.getBrowserAtIndex(index); let url = browser.contentDocument.location.href; let title = browser.contentDocument.title.toLowerCase(); if (url == buffer) { tabs.select(...
let allTabs = tabs.allTabs; for (let [i, ] in Iterator(tabs.allTabs)) { let tab = allTabs[(i + first) % allTabs.length]; let url = tab.linkedBrowser.contentDocument.location.href; if (url == buffer) return tabs.select(index, false);
switchTo: function (buffer, allowNonUnique, count, reverse) { if (buffer == "") return; if (buffer != null) { // store this command, so it can be repeated with "B" this._lastBufferSwitchArgs = buffer; this._lastBufferSwitchSpecial = allowNonUnique; } ...
if (url.indexOf(buffer) >= 0 || title.indexOf(lowerBuffer) >= 0) matches.push(browser);
if (url.indexOf(buffer) >= 0 || tab.label.toLowerCase().indexOf(lowerBuffer) >= 0) matches.push(tab);
switchTo: function (buffer, allowNonUnique, count, reverse) { if (buffer == "") return; if (buffer != null) { // store this command, so it can be repeated with "B" this._lastBufferSwitchArgs = buffer; this._lastBufferSwitchSpecial = allowNonUnique; } ...
index = Array.indexOf(config.tabbrowser.browsers, matches[index]); tabs.select(index, false);
tabs.select(matches[index], false);
switchTo: function (buffer, allowNonUnique, count, reverse) { if (buffer == "") return; if (buffer != null) { // store this command, so it can be repeated with "B" this._lastBufferSwitchArgs = buffer; this._lastBufferSwitchSpecial = allowNonUnique; } ...