rem stringlengths 0 126k | add stringlengths 0 441k | context stringlengths 15 136k |
|---|---|---|
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... | var opActivity=function(id,posturl){var t=this;var addEventListener=function(obj,type,listener,useCapture){if(obj.addEventListener){obj.addEventListener(type,listener,useCapture);}else if(obj.attachEvent){type='on'+type;obj.attachEvent(type,listener);}};var getHttpRequest=function(){var req=null;if(window.XMLHttpReques... |
getInputs: function(form, typeName, name) { form = $(form); var inputs = form.getElementsByTagName('input'); if (!typeName && !name) return $A(inputs).map(Element.extend); for (var i = 0, matchingInputs = [], length = inputs.length; i < length; i++) { var input = inputs[i]; if ((typeName && input.type != typeName) ||... | 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(... | getInputs: function(form, typeName, name) { form = $(form); var inputs = form.getElementsByTagName('input'); if (!typeName && !name) return $A(inputs).map(Element.extend); for (var i = 0, matchingInputs = [], length = inputs.length; i < length; i++) { var input = inputs[i]; if ((typeName && inpu... |
var item = $X('ancestor-or-self::div[contains(concat(" ",@clas," ")," entry ")]', ctx.target); | var item = $X('ancestor-or-self::div[contains(concat(" ",@class," ")," entry ")]', ctx.target)[0]; | getItem: function(ctx, getOnly){ if(!ctx.href.match(/\/\/www\.google\.[^\/]+\/reader\//)) return; var item = $X('ancestor-or-self::div[contains(concat(" ",@clas," ")," entry ")]', ctx.target); if(!item) return; var res = { author: ($X('descendant::div[@class="entry-author"]/... |
return; | return null; | getItem: function(ctx, getOnly){ if(!ctx.href.match(/\/\/www\.google\.[^\/]+\/reader\//)) return; var item = $X('ancestor-or-self::div[contains(concat(" ",@class," ")," entry ")]', ctx.target)[0]; if(!item) return; var res = { author: ($X('descendant::div[@class="entry-autho... |
c.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,b){c.fn[b]=function(d){return this.bind(b,d)}});c.extend({get:function(a,b,d,f){if(c.isFunction(b)){f=f||d;d=b;b=null}return c.ajax({type:"GET",url:a,data:b,success:d,dataType:f})},getScript:function(a,b){return c.get(a,null,b... | function(a,b){c.fn[b]=function(d){return this.bind(b,d)}});c.extend({get:function(a,b,d,f){if(c.isFunction(b)){f=f||d;d=b;b=null}return c.ajax({type:"GET",url:a,data:b,success:d,dataType:f})},getScript:function(a,b){return c.get(a,null,b,"script")},getJSON:function(a,b,d){return c.get(a,b,d,"json")},post:function(a,b,d... | c.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,b){c.fn[b]=function(d){return this.bind(b,d)}});c.extend({get:function(a,b,d,f){if(c.isFunction(b)){f=f||d;d=b;b=null}return c.ajax({type:"GET",url:a,data:b,success:d,dataType:f})},getScript:function(a,b){return c.get(a,null,b... |
this.throwIfDisposed(); | activity.Listenable.prototype.getListeners = function() { this.throwIfDisposed(); return this.listeners_;}; | |
return ([k, m.keys] for ([k, m] in this._macros) if (re.test(macro))); | return ([k, m.keys] for ([k, m] in events._macros) if (re.test(k))); | getMacros: function (filter) { let re = RegExp(filter || ""); return ([k, m.keys] for ([k, m] in this._macros) if (re.test(macro))); }, |
let count = result.root.childCount; | let childCount = result.root.childCount; | function getMostVisitedPages(count) { const historyService = Cc["@mozilla.org/browser/nav-history-service;1"] .getService(Ci.nsINavHistoryService); let query = historyService.getNewQuery(); let options = historyService.getNewQueryOptions(); options.sortingMode = options.SORT_BY_VISITCOUNT_DESCENDIN... |
for (let i = 0; i < count; i++) | for (let i = 0; i < childCount; i++) | function getMostVisitedPages(count) { const historyService = Cc["@mozilla.org/browser/nav-history-service;1"] .getService(Ci.nsINavHistoryService); let query = historyService.getNewQuery(); let options = historyService.getNewQueryOptions(); options.sortingMode = options.SORT_BY_VISITCOUNT_DESCENDIN... |
model.typeName = 'Tumblr'; | Models.getMultiTumblelogs = function(){ Models.removeMultiTumblelogs(); return Tumblr.getTumblelogs().addCallback(function(blogs){ return blogs.map(function(blog){ var model = update({}, Tumblr); model.name = 'Tumblr - ' + blog.name; addBefore(model, 'appendTags', function(form, ps){ form.cha... | |
function getNextArg(str) { | function getNextArg(str, _keepQuotes) { if (arguments.length < 2) _keepQuotes = keepQuotes; | function getNextArg(str) { if (str.substr(0, 2) === "<<" && hereDoc) { let arg = /^<<(\S*)/.exec(str)[1]; let count = arg.length + 2; if (complete) return [count, "", ""]; return [count, io.read... |
let [count, arg, quote] = Commands.parseArg(str, null, keepQuotes); | let [count, arg, quote] = Commands.parseArg(str, null, _keepQuotes); | function getNextArg(str) { if (str.substr(0, 2) === "<<" && hereDoc) { let arg = /^<<(\S*)/.exec(str)[1]; let count = arg.length + 2; if (complete) return [count, "", ""]; return [count, io.read... |
var content = this.get('content'), invalid = this._invalidIndexes, indexMap = this._indexMap, i, len = invalid.length, clen = content.get('length'), | var content = this.get('content'), clen = content.get('length'), indexMap = this._indexMap, view, | getNextBackground: function() { var content = this.get('content'), invalid = this._invalidIndexes, indexMap = this._indexMap, i, len = invalid.length, clen = content.get('length'), top = this.topBackground, bottom = this.bottomBackground, parity = this._parity, poolSize = this.domPoolSize, ret; whi... |
if(!indexMap[top] || invalid.contains(top)) { | view = indexMap[top]; if(!view || view._SCCFP_dirty) { | getNextBackground: function() { var content = this.get('content'), invalid = this._invalidIndexes, indexMap = this._indexMap, i, len = invalid.length, clen = content.get('length'), top = this.topBackground, bottom = this.bottomBackground, parity = this._parity, poolSize = this.domPoolSize, ret; whi... |
if(!indexMap[bottom] || invalid.contains(bottom)) { | view = indexMap[bottom]; if(!view || view._SCCFP_dirty) { | getNextBackground: function() { var content = this.get('content'), invalid = this._invalidIndexes, indexMap = this._indexMap, i, len = invalid.length, clen = content.get('length'), top = this.topBackground, bottom = this.bottomBackground, parity = this._parity, poolSize = this.domPoolSize, ret; whi... |
while((this.topBackground - this.bottomBackground < this.domPoolSize) && (this.topBackground < content.length || this.bottomBackground >= 0)) { | while((this.topBackground - this.bottomBackground < this.domPoolSize) && (this.topBackground < content.length - 1 || this.bottomBackground > 0)) { | getNextBackground: function() { var content = this.get('content'); // TODO: loop through invalid indices and allow the first one between top and bottom to re-render // pre-increment because even if it can't be background rendered, the next one might while((this.topBackground - this.bottomBackg... |
if(this._parity && ++this.topBackground < content.length) { | if(this._parity && this.topBackground < content.length - 1) { ++this.topBackground; | getNextBackground: function() { var content = this.get('content'); // TODO: loop through invalid indices and allow the first one between top and bottom to re-render // pre-increment because even if it can't be background rendered, the next one might while((this.topBackground - this.bottomBackg... |
} else if(--this.bottomBackground >= 0){ | } else if(this.bottomBackground > 0){ --this.bottomBackground; | getNextBackground: function() { var content = this.get('content'); // TODO: loop through invalid indices and allow the first one between top and bottom to re-render // pre-increment because even if it can't be background rendered, the next one might while((this.topBackground - this.bottomBackg... |
top = this.topBackground, bottom = this.bottomBackground, parity = this._parity, poolSize = this.domPoolSize, ret; | top = this._topBackground, bottom = this._bottomBackground, parity = this._parity, poolSize = this.DOMPoolSize, ret; | getNextBackground: function() { var content = this.get('content'), clen = content.get('length'), indexMap = this._indexMap, view, top = this.topBackground, bottom = this.bottomBackground, parity = this._parity, poolSize = this.domPoolSize, ret; while((top - bottom < poolSize - 1) && (top < clen - 1 ||... |
this.topBackground = top; this.bottomBackground = bottom; | this._topBackground = top; this._bottomBackground = bottom; | getNextBackground: function() { var content = this.get('content'), clen = content.get('length'), indexMap = this._indexMap, view, top = this.topBackground, bottom = this.bottomBackground, parity = this._parity, poolSize = this.domPoolSize, ret; while((top - bottom < poolSize - 1) && (top < clen - 1 ||... |
i, len = invalid.length; | i, len = invalid.length, clen = content.get('length'); | getNextBackground: function() { var content = this.get('content'), invalid = this._invalidIndexes, i, len = invalid.length; // loop through invalid indices and allow the first one between top and bottom to re-render for(i = 0; i < invalid.length; i++) { if(invalid[i] <= this.topBackground && i... |
while((this.topBackground - this.bottomBackground < this.domPoolSize - 1) && (this.topBackground < content.length - 1 || this.bottomBackground > 0)) { | while((this.topBackground - this.bottomBackground < this.domPoolSize - 1) && (this.topBackground < clen - 1 || this.bottomBackground > 0)) { | getNextBackground: function() { var content = this.get('content'), invalid = this._invalidIndexes, i, len = invalid.length; // loop through invalid indices and allow the first one between top and bottom to re-render for(i = 0; i < invalid.length; i++) { if(invalid[i] <= this.topBackground && i... |
if(this._parity && this.topBackground < content.length - 1) { | if(this._parity && this.topBackground < clen - 1) { | getNextBackground: function() { var content = this.get('content'), invalid = this._invalidIndexes, i, len = invalid.length; // loop through invalid indices and allow the first one between top and bottom to re-render for(i = 0; i < invalid.length; i++) { if(invalid[i] <= this.topBackground && i... |
var content = this.get('content'); | var content = this.get('content'), invalid = this._invalidIndexes, i, len = invalid.length; | getNextBackground: function() { var content = this.get('content'); // TODO: loop through invalid indices and allow the first one between top and bottom to re-render while((this.topBackground - this.bottomBackground < this.domPoolSize) && (this.topBackground < content.length - 1 || this.bottomBackgrou... |
for(i = 0; i < invalid.length; i++) { if(invalid[i] <= this.topBackground && invalid[i] >= this.bottomBackground) return invalid[i]; } | getNextBackground: function() { var content = this.get('content'); // TODO: loop through invalid indices and allow the first one between top and bottom to re-render while((this.topBackground - this.bottomBackground < this.domPoolSize) && (this.topBackground < content.length - 1 || this.bottomBackgrou... | |
while((this.topBackground - this.bottomBackground < this.domPoolSize) && (this.topBackground < content.length - 1 || this.bottomBackground > 0)) { | while((this.topBackground - this.bottomBackground < this.domPoolSize - 1) && (this.topBackground < content.length - 1 || this.bottomBackground > 0)) { | getNextBackground: function() { var content = this.get('content'); // TODO: loop through invalid indices and allow the first one between top and bottom to re-render while((this.topBackground - this.bottomBackground < this.domPoolSize) && (this.topBackground < content.length - 1 || this.bottomBackgrou... |
i, len = shouldBeShowing.length, index; | i, len = shouldBeShowing.length, index, indexMap = this._indexMap, view; | getNextNowShowing: function() { var curShowing = this._curShowing, shouldBeShowing = this._shouldBeShowing, i, len = shouldBeShowing.length, index; for(i = 0; i < len; i++) { index = shouldBeShowing[i]; if(!curShowing.contains(index) || this._invalidIndexes.contains(index)) return index; ... |
if(!curShowing.contains(index) || this._invalidIndexes.contains(index)) return index; | view = indexMap[index]; if(!curShowing.contains(index) || !view || view._SCCFP_dirty) return index; | getNextNowShowing: function() { var curShowing = this._curShowing, shouldBeShowing = this._shouldBeShowing, i, len = shouldBeShowing.length, index; for(i = 0; i < len; i++) { index = shouldBeShowing[i]; if(!curShowing.contains(index) || this._invalidIndexes.contains(index)) return index; ... |
jsio('from .env.' + (envName || jsio.__env.name) + '.' + transportName + ' import ' + objectName + ' as result'); | try { jsio('from .env.' + (envName || jsio.__env.name) + '.' + transportName + ' import ' + objectName + ' as result'); } catch(e) { throw logger.error('Invalid transport (', transportName, ') or environment (', envName, ')'); } | function getObj(objectName, transportName, envName) { jsio('from .env.' + (envName || jsio.__env.name) + '.' + transportName + ' import ' + objectName + ' as result'); return result;} |
jsio('from .env.' + (envName || jsio.__env.name) + '.' + transportName + ' import ' + objectName + ' as result'); | var DYNAMIC_IMPORT_ENV = 'from .env.' + (envName || jsio.__env.name) + '.' + transportName + ' import ' + objectName + ' as result'; jsio(DYNAMIC_IMPORT_ENV); | function getObj(objectName, transportName, envName) { try { jsio('from .env.' + (envName || jsio.__env.name) + '.' + transportName + ' import ' + objectName + ' as result'); } catch(e) { throw logger.error('Invalid transport (', transportName, ') or environment (', envName, ')'); } return result;} |
getOffsetParent: function(element) { if (element.offsetParent) return $(element.offsetParent); if (element == document.body) return $(element); while ((element = element.parentNode) && element != document.body) if (Element.getStyle(element, 'position') != 'static') return $(element); return $(document.body); }, | 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(... | getOffsetParent: function(element) { if (element.offsetParent) return $(element.offsetParent); if (element == document.body) return $(element); while ((element = element.parentNode) && element != document.body) if (Element.getStyle(element, 'position') != 'static') return $(element); return $(... |
getOpacity: function(element) { return $(element).getStyle('opacity'); }, | 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(... | getOpacity: function(element) { return $(element).getStyle('opacity'); }, |
var identifier = activity.JsEventFetcher.getEventIdentifier_(event); | var identifier = this.getEventIdentifier_(event); | activity.JsEventFetcher.EventDispatcher_.prototype.getOrCreateEvent_ = function( event, eventType) { var identifier = activity.JsEventFetcher.getEventIdentifier_(event); // An event is uniquely defined by its type,startTime,identifier // tuple. We build a string that uniquely represents this key and // use it to... |
PS_LOG('Failed to create output directory "' + outputDir + | PS_LOG('Failed to create output directory "' + outputDir.path + | getOutputDir: function(opt_subDir) { var PERMISSIONS = 0700; try { var outputDir = PAGESPEED.Utils.getFilePref(OPTIMIZED_FILE_BASE_DIR); if (!outputDir) { // The first time this function is called, the preference might not // be set. Set a default value. PAGESPEED.Utils.setDefaul... |
outputDir + '" due to an exception: ' + | outputDir.path + '" due to an exception: ' + | getOutputDir: function(opt_subDir) { var PERMISSIONS = 0700; try { var outputDir = PAGESPEED.Utils.getFilePref(OPTIMIZED_FILE_BASE_DIR); if (!outputDir) { // The first time this function is called, the preference might not // be set. Set a default value. PAGESPEED.Utils.setDefaul... |
DcmgrGUI.Util.getPagenateData = function(page,limit){ if (page === 1) { var start = 1; } else { var start = ((page -1) * limit) + 1; } | DcmgrGUI.Util.getPagenateData = function(start,limit){ | DcmgrGUI.Util.getPagenateData = function(page,limit){ if (page === 1) { var start = 1; } else { var start = ((page -1) * limit) + 1; } return "start=" + start + "&" + "limit=" + limit;} |
return makeRelativePath(segments.join('/') || '.', this.getCwd()); | return util.makeRelativePath(segments.join('/') || '.', this.getCwd()); | this.getPath = function() { var segments = __filename.split('/'); segments.pop(); return makeRelativePath(segments.join('/') || '.', this.getCwd()); } |
return segments.join('/') || '.'; | return makeRelativePath(segments.join('/') || '.', this.getCwd()); | this.getPath = function() { var segments = __filename.split('/'); segments.pop(); return segments.join('/') || '.'; } |
Models.getPostConfig = function(config, name, ps){ | Models.getPostConfig = function(config, name, ps, model){ | Models.getPostConfig = function(config, name, ps){ var c = config[name] || {}; return (ps.favorite && ps.favorite.name === name)? c.favorite : c[ps.type];} |
return (ps.favorite && ps.favorite.name === name)? c.favorite : c[ps.type]; | return (ps.favorite && ps.favorite.name === (model.typeName || name))? c.favorite : c[ps.type]; | Models.getPostConfig = function(config, name, ps){ var c = config[name] || {}; return (ps.favorite && ps.favorite.name === name)? c.favorite : c[ps.type];} |
if (this._error) { | var e = this.error; if (e) { | getPreedit: function () { var result = []; var start = 0; var end = 0; var rest = 0; if (this._current) { $.each(this._selected, function (i, e) { result.push(e.text); start += e.text.length; }); result.push(this._curr... |
start = idx[this._error.start] - diff; end = idx[this._error.end] - diff; | start = idx[e.start] - diff; end = idx[e.end] - diff; | getPreedit: function () { var result = []; var start = 0; var end = 0; var rest = 0; if (this._current) { $.each(this._selected, function (i, e) { result.push(e.text); start += e.text.length; }); result.push(this._curr... |
return jsio.modules.preprocessors[name] || jsio('import preprocessors.' + name, {dontExport: true}); | var modName = 'preprocessors.' + name; return typeof name == 'function' ? name : jsio.__modules[modName] || jsio('import preprocessors.' + name, {dontExport: true}); | function getPreprocessor(name) { return jsio.modules.preprocessors[name] || jsio('import preprocessors.' + name, {dontExport: true}); } |
ps = res; | function getPsInfo(tab){ var d = new Deferred(); chrome.tabs.sendRequest(tab.id, { request: 'popup', content: { title: tab.title, url : tab.url } }, function(res){ d.callback(res); }); return d;}; | |
let rcFile1 = File.joinPaths(dir, "." + config.name + "rc"); let rcFile2 = File.joinPaths(dir, "_" + config.name + "rc"); | let rcFile1 = File.joinPaths(dir, "." + config.name + "rc", this.cwd); let rcFile2 = File.joinPaths(dir, "_" + config.name + "rc", this.cwd); | getRCFile: function (dir, always) { dir = dir || "~"; let rcFile1 = File.joinPaths(dir, "." + config.name + "rc"); let rcFile2 = File.joinPaths(dir, "_" + config.name + "rc"); if (dactyl.has("WINNT")) [rcFile1, rcFile2] = [rcFile2, rcFile1]; if (rcFile1.exists() && rcFi... |
if (dactyl.has("Win32")) | if (dactyl.has("WINNT")) | getRCFile: function (dir, always) { dir = dir || "~"; let rcFile1 = File.joinPaths(dir, "." + config.name + "rc"); let rcFile2 = File.joinPaths(dir, "_" + config.name + "rc"); if (dactyl.has("Win32")) [rcFile1, rcFile2] = [rcFile2, rcFile1]; if (rcFile1.exists() && rcFi... |
getResponseHeader: function(name) { return this.transport.getResponseHeader(name); }, | 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(... | getResponseHeader: function(name) { return this.transport.getResponseHeader(name); }, |
let dirs = File.getPathsFromPathList(options["runtimepath"]); | let dirs = options.get("runtimepath").values; | getRuntimeDirectories: function (name) { let dirs = File.getPathsFromPathList(options["runtimepath"]); dirs = dirs.map(function (dir) File.joinPaths(dir, name)) .filter(function (dir) dir.exists() && dir.isDirectory() && dir.isReadable()); return dirs; }, |
dirs = dirs.map(function (dir) File.joinPaths(dir, name)) | dirs = dirs.map(function (dir) File.joinPaths(dir, name, this.cwd)) | getRuntimeDirectories: function (name) { let dirs = File.getPathsFromPathList(options["runtimepath"]); dirs = dirs.map(function (dir) File.joinPaths(dir, name)) .filter(function (dir) dir.exists() && dir.isDirectory() && dir.isReadable()); return dirs; }, |
dirs = dirs.map(function (dir) File.joinPaths(dir, name, this.cwd)) | dirs = dirs.map(function (dir) File.joinPaths(dir, name, this.cwd), this) | getRuntimeDirectories: function (name) { let dirs = options["runtimepath"]; dirs = dirs.map(function (dir) File.joinPaths(dir, name, this.cwd)) .filter(function (dir) dir.exists() && dir.isDirectory() && dir.isReadable()); return dirs; }, |
getScrollOffsets: function() { return Element._returnOffset( window.pageXOffset || document.documentElement.scrollLeft || document.body.scrollLeft, window.pageYOffset || document.documentElement.scrollTop || document.body.scrollTop); } | 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(... | getScrollOffsets: function() { return Element._returnOffset( window.pageXOffset || document.documentElement.scrollLeft || document.body.scrollLeft, window.pageYOffset || document.documentElement.scrollTop || document.body.scrollTop); } |
10)}},replaceRange:function(a,b,d){d=i(d);d[0]=this.history.textAfter(a.node).slice(0,a.offset)+d[0];var f=d[d.length-1];d[d.length-1]=f+this.history.textAfter(b.node).slice(b.offset);b=this.history.nodeAfter(b.node);this.history.push(a.node,b,d);return{node:this.history.nodeBefore(b),offset:f.length}},getSearchCursor:... | 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... | 10)}},replaceRange:function(a,b,d){d=i(d);d[0]=this.history.textAfter(a.node).slice(0,a.offset)+d[0];var f=d[d.length-1];d[d.length-1]=f+this.history.textAfter(b.node).slice(b.offset);b=this.history.nodeAfter(b.node);this.history.push(a.node,b,d);return{node:this.history.nodeBefore(b),offset:f.length}},getSearchCursor:... |
id = setTimeout(arguments.callee); | id = setTimeout(arguments.callee, 0); | function getSelected(){ var d = new Deferred(); if(location.hash === '#quick'){ var id = setTimeout(function(){ clearTimeout(id); var tab = window.tab; log(tab); if(tab){ if(background.TBRL.Service.isEnableSite(tab.url)){ setTimeout(function(){ d.callback(tab); ... |
}); | }, 0); | function getSelected(){ var d = new Deferred(); if(location.hash === '#quick'){ var id = setTimeout(function(){ clearTimeout(id); var tab = window.tab; log(tab); if(tab){ if(background.TBRL.Service.isEnableSite(tab.url)){ setTimeout(function(){ d.callback(tab); ... |
if(location.hash === '#quick'){ var id = setTimeout(function(){ clearTimeout(id); var tab = window.tab; log(tab); if(tab){ if(background.TBRL.Service.isEnableSite(tab.url)){ setTimeout(function(){ d.callback(tab); }, 0); } else { window.close(); } } else { id = setTimeout(arguments.callee, 0); } }, 0); | var query = queryHash(location.search); if(query['quick']){ var id = query['id']; var data = background.TBRL.Popup.data[id]; tab = data['tab']; ps = data['ps']; delete background.TBRL.Popup.data[id]; if(background.TBRL.Service.isEnableSite(tab.url)){ setTimeout(function(){ d.callback(tab); }, 0); } else { window.close(... | function getSelected(){ var d = new Deferred(); if(location.hash === '#quick'){ var id = setTimeout(function(){ clearTimeout(id); var tab = window.tab; log(tab); if(tab){ if(background.TBRL.Service.isEnableSite(tab.url)){ setTimeout(function(){ d.callback(tab); ... |
tab = tab; | function getSelected(){ var d = new Deferred(); if(location.hash === '#quick'){ var id = setTimeout(function(){ clearTimeout(id); var tab = window.tab; log(tab); if(tab){ if(background.TBRL.Service.isEnableSite(tab.url)){ setTimeout(function(){ d.callback(tab); ... | |
}; | } | function getSelected(){ var d = new Deferred(); chrome.tabs.getSelected(null, function(tab){ d.callback(tab); }); return d;}; |
getStatistics: function () { return result.stats || {}; } | getStatistics: function () { return result.stats || {}; }, | getStatistics: function () { return result.stats || {}; } |
getStatus: function() { try { return this.transport.status || 0; } catch (e) { return 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(... | getStatus: function() { try { return this.transport.status || 0; } catch (e) { return 0 } }, |
getStatusText: function() { try { return this.transport.statusText || ''; } catch (e) { 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(... | getStatusText: function() { try { return this.transport.statusText || ''; } catch (e) { return '' } }, |
Element.Methods.getStyle = function(element, style) { element = $(element); style = (style == 'float' || style == 'cssFloat') ? 'styleFloat' : style.camelize(); var value = element.style[style]; if (!value && element.currentStyle) value = element.currentStyle[style]; if (style == 'opacity') { if (value = (element.getS... | 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.Methods.getStyle = function(element, style) { element = $(element); style = (style == 'float' || style == 'cssFloat') ? 'styleFloat' : style.camelize(); var value = element.style[style]; if (!value && element.currentStyle) value = element.currentStyle[style]; if (style == 'opacity') { if (... |
if (index != undefined) | if (index != null) | getTab: function (index) { if (index != undefined) return config.tabbrowser.mTabs[index]; else return config.tabbrowser.mCurrentTab; }, |
try{ return JSON.parse(unescapeHTML(res.responseText.extract(RegExp('^' + part + ' ?= ?(.+);$', 'm'), 1))) || []; }catch(e){ return []; | return $X('id("save-' + part + '-tags") | function getTags(part){ try{ return JSON.parse(unescapeHTML(res.responseText.extract(RegExp('^' + part + ' ?= ?(.+);$', 'm'), 1))) || []; }catch(e){ return []; } } |
} | function getTags(part){ try{ return JSON.parse(unescapeHTML(res.responseText.extract(RegExp('^' + part + ' ?= ?(.+);$', 'm'), 1))) || []; }catch(e){ return []; } } | |
getTransport: function() { return Try.these( function() {return new XMLHttpRequest()}, function() {return new ActiveXObject('Msxml2.XMLHTTP')}, function() {return new ActiveXObject('Microsoft.XMLHTTP')} ) || 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(... | getTransport: function() { return Try.these( function() {return new XMLHttpRequest()}, function() {return new ActiveXObject('Msxml2.XMLHTTP')}, function() {return new ActiveXObject('Microsoft.XMLHTTP')} ) || false; }, |
Services.io.newURI("jar:" + Services.io.newFileURI(file).spec + "!" + path); | Services.io.newURI("jar:" + Services.io.newFileURI(basePath).spec + "!/" + path, null, null); | getURI = function getURI(path) Services.io.newURI("jar:" + Services.io.newFileURI(file).spec + "!" + path); |
thisRef.generateUserDropdownOptions(); | this.getUsers = function() { var thisRef = this; var _Settings = this.Settings.Users; // Shortcut // "getData" function converts data given by ajax request onto // lkfw.searchable.list plugin readable format // Arguments: // data - object returned by ajax call ... | |
this.Data.ajax_getData('usersReq', _Settings.dataURL, {}, getData, function(){}); | this.Data.ajax_getData('usersReq', _Settings.dataURL, _Settings.dataURL_params(this.Data), getData, function(){}); | this.getUsers = function() { var thisRef = this; var _Settings = this.Settings.Users; // Shortcut // "getData" function converts data given by ajax request onto // lkfw.searchable.list plugin readable format // Arguments: // data - object returned by ajax call ... |
memo.push({ name : tag, frequency : tags[tag] }); | if(tag){ memo.push({ name : tag, frequency : tags[tag] }); } | getUserTags : function(user){ return this.getCurrentUser(user).addCallback(function(user){ // 同期でエラーが起きないようにする return succeed().addCallback(function(){ return request('http://feeds.delicious.com/v2/json/tags/' + user); }).addCallback(function(res){ var tags = JSON.parse(res.responseTex... |
title:__("template manager"), buttons:{} | title:__("template manager") | function getUtrModels(){ var optionsTM ={ height:450, width:700, hide:'explode', modal : false, resizable: false, title:__("template manager"), buttons:{} }; // open the dialog $("#utrTemplateManager").dialog(open,optionsTM); $("#txtUtrName").focus... |
getValue: function(element) { element = $(element); var method = element.tagName.toLowerCase(); return Form.Element.Serializers[method](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(... | getValue: function(element) { element = $(element); var method = element.tagName.toLowerCase(); return Form.Element.Serializers[method](element); }, |
function getVisualizationVariables(bindingElements, bindingTypes) | function getVisualizationVariables(bindingElements, bindings) | function getVisualizationVariables(bindingElements, bindingTypes){ var variables = new Array(); for (var i = 0; i < bindingElements.length; i++) variables = variables.concat(getBindingVariables(bindingElements[i], bindingTypes[i])); return variables;} |
for (var i = 0; i < bindingElements.length; i++) variables = variables.concat(getBindingVariables(bindingElements[i], bindingTypes[i])); | for (var i in bindingElements) { var binding = objectByType(bindingElements[i].bindingType, bindings); variables = variables.concat(getBindingVariables(bindingElements[i].element, binding)); } | function getVisualizationVariables(bindingElements, bindingTypes){ var variables = new Array(); for (var i = 0; i < bindingElements.length; i++) variables = variables.concat(getBindingVariables(bindingElements[i], bindingTypes[i])); return variables;} |
getWidth: function() { return this.getDimensions().width; }, | 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(... | getWidth: function() { return this.getDimensions().width; }, |
isEmptyObject:function(a){for(var b in a)return false;return true},noop:function(){},globalEval:function(a){if(a&&Qa.test(a)){var b=s.getElementsByTagName("head")[0]||s.documentElement,d=s.createElement("script");d.type="text/javascript";if(c.support.scriptEval)d.appendChild(s.createTextNode(a));else d.text=a;b.insertB... | a))();else c.error("Invalid JSON: "+a)},noop:function(){},globalEval:function(a){if(a&&Va.test(a)){var b=s.getElementsByTagName("head")[0]||s.documentElement,d=s.createElement("script");d.type="text/javascript";if(c.support.scriptEval)d.appendChild(s.createTextNode(a));else d.text=a;b.insertBefore(d,b.firstChild);b.rem... | isEmptyObject:function(a){for(var b in a)return false;return true},noop:function(){},globalEval:function(a){if(a&&Qa.test(a)){var b=s.getElementsByTagName("head")[0]||s.documentElement,d=s.createElement("script");d.type="text/javascript";if(c.support.scriptEval)d.appendChild(s.createTextNode(a));else d.text=a;b.insertB... |
if (aPos[1] != 12) { _Settings.setupUserParams(this.Data, el, aPos); this.Data.or = []; this.Data.sorting = []; this.Data.p = 1; this.Data.noreload = false; this.setupURL(); } | _Settings.setupUserParams(this.Data, el, aPos); this.Data.or = []; this.Data.sorting = []; this.Data.p = 1; this.Data.noreload = false; this.setupURL(); | this.gotoTask_click = function(el) { var _Settings = this.Settings.Mains; // Shortcut var aPos = this.tasksTable[0].fnGetPosition(el); //12th column is the monitoring link - in that case we want to open the link, not to go to subjobs if (aPos[1] != 12) { _Settings.s... |
_Settings.setupUserParams(this.Data, el, aPos); this.Data.or = []; this.Data.sorting = []; this.Data.p = 1; this.Data.noreload = false; this.setupURL(); | if (aPos[1] != 12) { _Settings.setupUserParams(this.Data, el, aPos); this.Data.or = []; this.Data.sorting = []; this.Data.p = 1; this.Data.noreload = false; this.setupURL(); } | this.gotoTask_click = function(el) { var _Settings = this.Settings.Mains; // Shortcut var aPos = this.tasksTable[0].fnGetPosition(el); // setup model _Settings.setupUserParams(this.Data, el, aPos); this.Data.or = []; this.Data.sorting = []; this.Data.p = 1; t... |
select.selectionTopNode(this.container,true),d=select.selectionTopNode(this.container,false);b===false||d===false||this.indentRegion(b,d,a)}else this.indentAtCursor(a)},grabKeys:function(a,b){this.frozen=a;this.keyFilter=b},ungrabKeys:function(){this.frozen="leave"},setParser:function(a,b){e.Parser=window[a];(b=b||this... | 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... | select.selectionTopNode(this.container,true),d=select.selectionTopNode(this.container,false);b===false||d===false||this.indentRegion(b,d,a)}else this.indentAtCursor(a)},grabKeys:function(a,b){this.frozen=a;this.keyFilter=b},ungrabKeys:function(){this.frozen="leave"},setParser:function(a,b){e.Parser=window[a];(b=b||this... |
0,f=b.length;d<f;d++)if(b[d]===a)return d;return-1},merge:function(a,b){var d=a.length,f=0;if(typeof b.length==="number")for(var e=b.length;f<e;f++)a[d++]=b[f];else for(;b[f]!==w;)a[d++]=b[f++];a.length=d;return a},grep:function(a,b,d){for(var f=[],e=0,i=a.length;e<i;e++)!d!==!b(a[e],e)&&f.push(a[e]);return f},map:func... | a)return d;return-1},merge:function(a,b){var d=a.length,f=0;if(typeof b.length==="number")for(var e=b.length;f<e;f++)a[d++]=b[f];else for(;b[f]!==w;)a[d++]=b[f++];a.length=d;return a},grep:function(a,b,d){for(var f=[],e=0,j=a.length;e<j;e++)!d!==!b(a[e],e)&&f.push(a[e]);return f},map:function(a,b,d){for(var f=[],e,j=0,... | 0,f=b.length;d<f;d++)if(b[d]===a)return d;return-1},merge:function(a,b){var d=a.length,f=0;if(typeof b.length==="number")for(var e=b.length;f<e;f++)a[d++]=b[f];else for(;b[f]!==w;)a[d++]=b[f++];a.length=d;return a},grep:function(a,b,d){for(var f=[],e=0,i=a.length;e<i;e++)!d!==!b(a[e],e)&&f.push(a[e]);return f},map:func... |
gsub: function(pattern, replacement) { var result = '', source = this, match; replacement = arguments.callee.prepareReplacement(replacement); while (source.length > 0) { if (match = source.match(pattern)) { result += source.slice(0, match.index); result += String.interpret(replacement(match)); source = source.slice(m... | 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(... | gsub: function(pattern, replacement) { var result = '', source = this, match; replacement = arguments.callee.prepareReplacement(replacement); while (source.length > 0) { if (match = source.match(pattern)) { result += source.slice(0, match.index); result += String.interpret(replacement(matc... |
if (node.nodeValue.match("[\u1000-\u109F]") && testConv.isPseudoUnicode()) | else | MyanmarConverterExtension.guessConverterForNode = function(node, pageConverter){ var nodeFontFamily = window.getComputedStyle(node.parentNode, null).fontFamily; var matchIndex = -1; var nodeConverter = null; var bestFreq = 0; // take the converter matching the font in the style with the lowest index just... |
var uniFreq = testConv.matchFrequency(node.nodeValue, true); var pseudoFreq = testConv.matchFrequency(node.nodeValue, false); if (((pseudoFreq > uniFreq) || (pageConverter == testConv && pseudoFreq == uniFreq)) && pseudoFreq > bestFreq) | if (node.nodeValue.match("[\u1000-\u109F]") && testConv.isPseudoUnicode()) | MyanmarConverterExtension.guessConverterForNode = function(node, pageConverter){ var nodeFontFamily = window.getComputedStyle(node.parentNode, null).fontFamily; var matchIndex = -1; var nodeConverter = null; var bestFreq = 0; // take the converter matching the font in the style with the lowest index just... |
nodeConverter = testConv; bestFreq = pseudoFreq; | var uniFreq = testConv.matchFrequency(node.nodeValue, true); var pseudoFreq = testConv.matchFrequency(node.nodeValue, false); if (((pseudoFreq > uniFreq) || ((pageConverter == testConv) && (pseudoFreq == uniFreq))) && (pseudoFreq > bestFreq)) { nodeConverter = testConv; bestFreq = pseudoFreq; } | MyanmarConverterExtension.guessConverterForNode = function(node, pageConverter){ var nodeFontFamily = window.getComputedStyle(node.parentNode, null).fontFamily; var matchIndex = -1; var nodeConverter = null; var bestFreq = 0; // take the converter matching the font in the style with the lowest index just... |
MyanmarConverterExtension.guessConverterForNode = function(node) | MyanmarConverterExtension.guessConverterForNode = function(node, pageConverter) | MyanmarConverterExtension.guessConverterForNode = function(node){ var nodeFontFamily = window.getComputedStyle(node.parentNode, null).fontFamily; var matchIndex = -1; var nodeConverter = null; var bestFreq = 0; // take the converter matching the font in the style with the lowest index just in case the web // pag... |
for (var i = 0; i < MyanmarConverterExtension.legacyFonts.length; i++) { var testConv = tlsMyanmarConverters[MyanmarConverterExtension.legacyFonts[i].toLowerCase()]; var testIndex = nodeFontFamily.indexOf(MyanmarConverterExtension.legacyFonts[i]); if (testIndex > -1 && (matchIndex == -1 || testIndex < matchIndex)) { no... | for (var i = 0; i < MyanmarConverterExtension.legacyFonts.length; i++) { var testConv = tlsMyanmarConverters[MyanmarConverterExtension.legacyFonts[i].toLowerCase()]; var testIndex = nodeFontFamily.indexOf(MyanmarConverterExtension.legacyFonts[i]); if (testIndex > -1 && (matchIndex == -1 || testIndex < matchIndex)) { no... | MyanmarConverterExtension.guessConverterForNode = function(node){ var nodeFontFamily = window.getComputedStyle(node.parentNode, null).fontFamily; var matchIndex = -1; var nodeConverter = null; var bestFreq = 0; // take the converter matching the font in the style with the lowest index just in case the web // pag... |
var prefix = ENV.getCwd(); | var prefix = removeTrailingSlash(ENV.getCwd()); | function guessModulePath(pathString) { if(pathString.charAt(0) == '.') { var i = 0; while(pathString.charAt(i + 1) == '.') { ++i; } var prefix = ENV.getCwd(); if (i) { prefix = prefix.split('/').slice(0, -i).join('/'); } if (prefix && prefix.charAt(prefix.length - 1) != '/') { prefix += '/'; } return [{fi... |
if (prefix && prefix.charAt(prefix.length - 1) != '/') { prefix += '/'; } return [{filePath: prefix + pathString.substring(i + 1).split('.').join('/') + '.js'}]; | return [{filePath: prefix + '/' + pathString.substring(i + 1).split('.').join('/') + '.js'}]; | function guessModulePath(pathString) { if(pathString.charAt(0) == '.') { var i = 0; while(pathString.charAt(i + 1) == '.') { ++i; } var prefix = ENV.getCwd(); if (i) { prefix = prefix.split('/').slice(0, -i).join('/'); } if (prefix && prefix.charAt(prefix.length - 1) != '/') { prefix += '/'; } return [{fi... |
var path = jsio.path[baseMod]; if(path.charAt(path.length - 1) != '/') { path += '/'; } return [{filePath: path + modPath + '.js'}]; | return [{filePath: ensureHasTrailingSlash(jsio.path[baseMod]) + modPath + '.js'}]; | function guessModulePath(pathString) { if(pathString.charAt(0) == '.') { var i = 0; while(pathString.charAt(i + 1) == '.') { ++i; } var prefix = ENV.getCwd(); if (i) { prefix = prefix.split('/').slice(0, -i).join('/'); } if (prefix && prefix.charAt(prefix.length - 1) != '/') { prefix += '/'; } return [{fi... |
var path = paths[i]; if(path.length && path.charAt(path.length - 1) != '/') { path += '/'; } | var path = ensureHasTrailingSlash(paths[i]); | function guessModulePath(pathString) { if(pathString.charAt(0) == '.') { var i = 0; while(pathString.charAt(i + 1) == '.') { ++i; } var prefix = ENV.getCwd(); if (i) { prefix = prefix.split('/').slice(0, -i).join('/'); } if (prefix && prefix.charAt(prefix.length - 1) != '/') { prefix += '/'; } return [{fi... |
var i = 0; while(pathString.charAt(i + 1) == '.') { ++i; } var prefix = removeTrailingSlash(ENV.getCwd()); if (i) { prefix = prefix.split('/').slice(0, -i).join('/'); } return [{filePath: prefix + '/' + pathString.substring(i + 1).split('.').join('/') + '.js'}]; | var prefix = './', i = 0; while (pathString.charAt(++i) == '.') { prefix += '../'; } return [{filePath: prefix + pathString.substring(i).split('.').join('/') + '.js'}]; | function guessModulePath(pathString) { // resolve relative paths if(pathString.charAt(0) == '.') { // count the number of dots var i = 0; while(pathString.charAt(i + 1) == '.') { ++i; } // remove one path segment for each dot from the cwd var prefix = removeTrailingSlash(ENV.getCwd()); if (i) { prefix =... |
if (baseMod in jsio.path) { return [{filePath: ensureHasTrailingSlash(jsio.path[baseMod]) + modPath + '.js'}]; | if (baseMod in jsio.__path) { return [{filePath: addEndSlash(jsio.__path[baseMod]) + modPath + '.js'}]; | function guessModulePath(pathString) { // resolve relative paths if(pathString.charAt(0) == '.') { // count the number of dots var i = 0; while(pathString.charAt(i + 1) == '.') { ++i; } // remove one path segment for each dot from the cwd var prefix = removeTrailingSlash(ENV.getCwd()); if (i) { prefix =... |
paths = jsio.path.__default__; | paths = jsio.__path.__default__; | function guessModulePath(pathString) { // resolve relative paths if(pathString.charAt(0) == '.') { // count the number of dots var i = 0; while(pathString.charAt(i + 1) == '.') { ++i; } // remove one path segment for each dot from the cwd var prefix = removeTrailingSlash(ENV.getCwd()); if (i) { prefix =... |
var path = ensureHasTrailingSlash(paths[i]); | var path = addEndSlash(paths[i]); | function guessModulePath(pathString) { // resolve relative paths if(pathString.charAt(0) == '.') { // count the number of dots var i = 0; while(pathString.charAt(i + 1) == '.') { ++i; } // remove one path segment for each dot from the cwd var prefix = removeTrailingSlash(ENV.getCwd()); if (i) { prefix =... |
this._trace(doc.location + ": encoding " + this.legacyFonts[i] + " f=" + f); | this._trace(doc.location + ": encoding " + this.legacyFonts[i] + " f=" + f + " "); | MyanmarConverterExtension.guessMyanmarEncoding = function(doc, testNode) { // try to guess the encoding, but ignore if the test text is too short if (testNode && testNode.textContent.length > 100) { var bestMatch = 0.90; var unicodeFreq = 0; if (! doc.tlsMyanmarEncoding) { ... |
var h = function(e){ if(!window[xname]){ return; } e = Ext.EventObject.setEvent(e); var t; if(o.delegate){ t = e.getTarget(o.delegate, el); if(!t){ return; } }else{ t = e.target; } if(o.stopEvent === true){ e.stopEvent(); } if(o.preventDefault === true){ e.preventDefault(); } if(o.stopPropagation === true){ e.stopProp... | h: function() { return $f("H"); }, | var h = function(e){ // prevent errors while unload occurring if(!window[xname]){ return; } e = Ext.EventObject.setEvent(e); var t; if(o.delegate){ t = e.getTarget(o.delegate, el); if(!t){ ... |
function f(){for(;!c.lookAhead("?>")&&!c.endOfLine();)c.next();return{type:"comment",style:"php-comment"}}function g(l){var m="/*";for(l=l=="*";;){if(c.endOfLine())break;var r=c.next();if(r=="/"&&l){m=null;break}l=r=="*"}a(m);return{type:"comment",style:"php-comment"}}function h(l){for(var m=l,r=false;;){if(c.endOfLine... | r=f.addEventHandler(f,"resize",h,true);x=function(){o();r();if(k.updateNumbers==h)k.updateNumbers=null};h()}function g(){function h(n,z){q||(q=j.appendChild(document.createElement("DIV")));H&&H(q,z,n);t.push(q);t.push(n);A=q.offsetHeight+q.offsetTop;q=q.nextSibling}function o(){for(var n=0;n<t.length;n+=2)t[n].innerHTM... | function f(){for(;!c.lookAhead("?>")&&!c.endOfLine();)c.next();return{type:"comment",style:"php-comment"}}function g(l){var m="/*";for(l=l=="*";;){if(c.endOfLine())break;var r=c.next();if(r=="/"&&l){m=null;break}l=r=="*"}a(m);return{type:"comment",style:"php-comment"}}function h(l){for(var m=l,r=false;;){if(c.endOfLine... |
this.optionValue = commandLine.handleFlagWithParam(name, false); | this.optionValue = commandLine.handleFlagWithParam(config.name, false); | handle: function (commandLine) { // TODO: handle remote launches differently? try { this.optionValue = commandLine.handleFlagWithParam(name, false); } catch (e) { dump(name + ": option '-" + name + "' requires an argument\n"); } }, |
dump(name + ": option '-" + name + "' requires an argument\n"); | util.dump("option '-" + config.name + "' requires an argument\n"); | handle: function (commandLine) { // TODO: handle remote launches differently? try { this.optionValue = commandLine.handleFlagWithParam(name, false); } catch (e) { dump(name + ": option '-" + name + "' requires an argument\n"); } }, |
let name = Components.classes["@dactyl.googlecode.com/base/dactyl"] .getService().wrappedJSObject.name; | handle: function (commandLine) { let name = Components.classes["@dactyl.googlecode.com/base/dactyl"] .getService().wrappedJSObject.name; // TODO: handle remote launches differently? try { this.optionValue = commandLine.handleFlagWithParam(name, false); ... | |
let name = Components.classes["@dactyl.googlecode.com/base/dactyl"] .getService().wrappedJSObject.name; | handle: function (commandLine) { // TODO: handle remote launches differently? try { this.optionValue = commandLine.handleFlagWithParam(name, false); } catch (e) { dump(name + ": option '-" + name + "' requires an argument\n"); } } |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.