rem stringlengths 0 126k | add stringlengths 0 441k | context stringlengths 15 136k |
|---|---|---|
}) }, desc)); | return pop.superapply(this, arguments); } }); this._mainModes = [this.NONE]; this._lastMode = 0; this._modeMap = {}; this.boundProperties = {}; this.addMode("NORMAL", { char: "n", display: function () null }); this.addMode("INSERT", { char: "i", input: true, ownsFocus: true }); this.addMode("VISUAL", { char: ... | init: function (prop) update(this, { get: function () { if (desc.get) var val = desc.get.call(this, value); return val === undefined ? value : val; }, set: function (val) { modes.save... |
if (!this.get("extensionManager")) Components.utils.import("resource: | init: function () { this.classes = {}; this.services = {}; this.add("appStartup", "@mozilla.org/toolkit/app-startup;1", Ci.nsIAppStartup); this.add("autoCompleteSearch", "@mozilla.org/autocomplete/search;1?name=history", Ci.nsIAutoCompleteSearch); this.add... | |
init: function () { this.lastSearchPattern = ""; }, | init: function (range, index) { this.index = index; this.range = range; this.document = range.startContainer.ownerDocument; this.window = this.document.defaultView; this.docShell = this.window.QueryInterface(Ci.nsIInterfaceRequestor) .getInterface(Ci.nsIWebNavigation) .QueryInterface(Ci.nsIDocShell); if (this.selecti... | init: function () { this.lastSearchPattern = ""; }, |
this._qmarks = storage.newMap("quickmarks", { store: true }); | this._qmarks = storage.newMap("quickmarks", { store: true, privateData: true }); | init: function () { this._qmarks = storage.newMap("quickmarks", { store: true }); }, |
this._nullSandbox = Cu.Sandbox("about:blank"); | init: function () { this._stack = []; this._functions = []; this._top = {}; // The element on the top of the stack. this._last = ""; // The last opening char pushed onto the stack. this._lastNonwhite = ""; // Last non-whitespace character we saw. this._lastChar = ""; /... | |
$("#siteTabs").tabs(); | this.Init = function() { var _Settings = this.Settings.Application; // Shortcut thisRef = this; // Remove users drop down box if (!_Settings.userSelection) $('#userDropBox').hide(); $('title').text(_Settings.pageTitle); // Set page title $('#footerTxt').text(_Settings.footerTxt); ... | |
this.addSessionListener(window, "keyup", this.wrapListener(this.onKeyUpOrDown), true); | init: function () { const self = this; this._fullscreen = window.fullScreen; this._lastFocus = null; this._currentMacro = ""; this._lastMacro = ""; this.sessionListeners = []; this._macros = storage.newMap("macros", { privateData: true, store: true }); for (le... | |
this._cwd = this._processDir; | this._cwd = this._processDir.path; | init: function () { this._processDir = services.get("directory").get("CurWorkD", Ci.nsIFile); this._cwd = this._processDir; this._oldcwd = null; this._lastRunCommand = ""; // updated whenever the users runs a command with :! this._scriptNames = []; this.downloadListener = {... |
this.idname = services.get("dactyl:").idname; | init: function () { this.name = services.get("dactyl:").name; this.appname = services.get("dactyl:").appname; this.host = services.get("dactyl:").host; highlight.styleableChrome = this.styleableChrome; highlight.loadCSS(this.CSS); highlight.loadCSS(this.helpCSS); let... | |
if (renderAge === 0 && c.prototype.render !== this.render) renderAge = currentAge; if (rendererAge === 0 && c.prototype.createRenderer !== this.createRenderer) rendererAge = currentAge; if (rendererAge > 0 && renderAge > 0) break; | if (renderAge < 0 && c.prototype.render !== this.render) renderAge = currentAge; if (rendererAge < 0 && c.prototype.createRenderer !== this.createRenderer) rendererAge = currentAge; if (rendererAge >= 0 && renderAge >= 0) break; | init: function() { var parentView, path, root, idx, len, lp, dp ; sc_super() ; // set up theme var theme = this.theme; this.theme = this._themeProperty; this.set("theme", theme); // find render path (to be removed in SC 2.0?) var renderAge = -1, rendererAge = -1, currentAge = 0, c ... |
var tableHeaderView = this.get('parentView'); if (tableHeaderView) { tableHeaderView.addObserver('isInDragMode', this, '_scthv_dragModeDidChange'); } }, | var column = this.get('column'); column.addObserver('width', this, '_scthv_layoutDidChange'); column.addObserver('maxWidth', this, '_scthv_layoutDidChange'); column.addObserver('minWidth', this, '_scthv_layoutDidChange'); column.addObserver('sortState', this, '_scthv_sortStateDidChange'); column.addObserver('tabl... | init: function() { var tableHeaderView = this.get('parentView'); if (tableHeaderView) { tableHeaderView.addObserver('isInDragMode', this, '_scthv_dragModeDidChange'); } }, |
init: function () { manager.registerFactory(this.classID, String(this.classID), this.contractID, this); }, | function init() { dump("dactyl: bootstrap: init: " + addon + "\n"); let manifestURI = addon.getResourceURI("chrome.manifest"); let manifest = httpGet(manifestURI.spec) .responseText .replace(/^\s*|\s*$|#.*/g, "") .replace(/^\s*\n/gm, ""); function url(path) addon.getResourceURI(path).spec; let result = []; for each... | init: function () { manager.registerFactory(this.classID, String(this.classID), this.contractID, this); }, |
this._doSetupIdle = function() { self._setupIdle(); }; | init: function() { var self = this; this._doIdleEntry = function() { self._idleEntry(); }; this._doSetupIdle = function() { self._setupIdle(); }; this._tasks = []; }, | |
this._level = level || logging.DEBUG; | this._level = level || logging.LOG; | this.init = function(name, level) { this._name = name; this._level = level || logging.DEBUG; } |
get globalValue() options.store.get(this.name, {}).value, | get globalValue() { try { return options.store.get(this.name, {}).value } catch (e) { util.reportError(e); throw e; } }, | init: function (names, description, type, defaultValue, extraInfo) { this.name = names[0]; this.names = names; this.realNames = names; this.type = type; this.description = description; if (this.type in Option.getKey) this.getKey = Option.getKey[this.type]; ... |
this._doSetupIdle = function() { self._setupIdle(); }; | init: function() { var self = this; this._doIdleEntry = function() { self._idleEntry(); }; this._tasks = []; }, | |
this.render === SC.ButtonView.prototype.render && | init: function() { // deprecated behavior if you are using renderStyle if (this.get('renderStyle')) { console.warn("renderStyle: image is deprecated. Please use theme: 'icon' instead."); // theme should still be string form this.theme = 'icon'; } if ( this.render === SC.ButtonView.... | |
"either implement your own render() method, or create a renderer " + | "rendering process in render() method, or create a renderer " + | init: function() { // deprecated behavior if you are using renderStyle if (this.get('renderStyle')) { console.warn("renderStyle: image is deprecated. Please use theme: 'icon' instead."); // theme should still be string form this.theme = 'icon'; } if ( this.render === SC.ButtonView.... |
this.render = this._DEPRECATED_render; | this._use_deprecated_render = YES; | init: function() { // deprecated behavior if you are using renderStyle if (this.get('renderStyle')) { console.warn("renderStyle: image is deprecated. Please use theme: 'icon' instead."); // theme should still be string form this.theme = 'icon'; } if ( this.render === SC.ButtonView.... |
Sanitizer.getClearRange = Sanitizer.Sanitizer.getClearRange; | init: function () { const self = this; liberator.loadScript("chrome://browser/content/sanitize.js", Sanitizer); this.__proto__.__proto__ = new Sanitizer.Sanitizer; // Good enough. // TODO: remove this version test if (/^1.9.1/.test(services.get("xulAppInfo").platformVersion)) ... | |
init: function(annotations) { if(!this.disabled) { jQuery(this).datepicker(hjq.getOptions(annotations)); } } | window=this,undefined,_jQuery=window.jQuery,_$=window.$,jQuery=window.jQuery=window.$=function(selector,context){return new jQuery.fn.init(selector,context);},quickExpr=/^[^<]*(<(.|\s)+>)[^>]*$|^#([\w-]+)$/,isSimple=/^.[^:#\[\.,]*$/;jQuery.fn=jQuery.prototype={init:function(selector,context){selector=selector||document... | init: function(annotations) { if(!this.disabled) { jQuery(this).datepicker(hjq.getOptions(annotations)); } } |
init: function () { services.get("observer").addObserver(this, this.CLEAR, false); services.get("observer").addObserver(this, this.QUIT, false); }, | init: function (id) { this._completionElements = []; var iframe = document.getElementById(id); if (!iframe) { liberator.log("No iframe with id: " + id + " found, strange things may happen!"); return; } this._doc = iframe.contentDocument; this._container = iframe.parentNode; this._doc.body.id = id + "-content"; this.... | init: function () { services.get("observer").addObserver(this, this.CLEAR, false); services.get("observer").addObserver(this, this.QUIT, false); }, |
let fragment = dactyl.has("MacUnix") ? "tab-mac" : "tab"; | let fragment = dactyl.has("Darwin") ? "tab-mac" : "tab"; | init: function () { this._alternates = [config.tabbrowser.mCurrentTab, null]; // used for the "gb" and "gB" mappings to remember the last :buffer[!] command this._lastBufferSwitchArgs = ""; this._lastBufferSwitchSpecial = true; let fragment = dactyl.has("MacUnix") ? "tab-mac" : "t... |
alert(bindingTypes); | Report.init = function(visualizationTypes, bindingTypes, dataTypes, optionTypes) // static types (classes){ alert(bindingTypes); Report.visualizationTypes = visualizationTypes; Report.bindingTypes = bindingTypes; Report.dataTypes = dataTypes; Report.optionTypes = optionTypes; //alert(optionTypes.toSou... | |
alert(bindingTypes); | Report.init = function(visualizationTypes, bindingTypes, dataTypes, optionTypes) // static types (classes){ //alert(visualizationTypes.results.toSource()); Report.visualizationTypes = visualizationTypes; Report.bindingTypes = bindingTypes; Report.dataTypes = dataTypes; Report.optionTypes = optionTypes; ... | |
this._controlRenderer = this.theme.control(); | init: function(settings) { this.attr(settings); }, | |
if (this.render !== SC.View.prototype.render) { this.render.base = this.__DEPRECATED__render; } | init: function() { sc_super(); // add support for deprecated render method if (this.render !== SC.View.prototype.render) { // we have a custom render method, freak out! this.render.base = this.__DEPRECATED__render; } }, | |
var text = axsFinance.str.GOOGLE_FINANCE_HOME + ' ' + axsFinance.axsNavObj.currentList().title; axsFinance.axsJAXObj.speakText(text); | axsFinance.axsJAXObj.speakText(axsFinance.str.GOOGLE_FINANCE_HOME); | axsFinance.init = function() { //Initialize AxsJAX object axsFinance.axsJAXObj = new AxsJAX(true); //Initialize AxsNAv object axsFinance.axsNavObj = new AxsNav(axsFinance.axsJAXObj); axsFinance.axsNavObj.navInit(axsFinance.CNR, null); //Initialize AxsLens object axsFinance.axsLensObj = new AxsLens(axsFinance.axs... |
dactyl.registerObserver("modeChange", function (oldMode, newMode, stack) { switch (oldMode[0]) { case modes.TEXTAREA: case modes.INSERT: editor.unselectText(); break; case modes.VISUAL: if (newMode[0] == modes.CARET) { try { let selection = window.content.getSelection(); selection.collapseToStart(); } catch (e) {} } e... | init: function () { // store our last search with f, F, t or T // this._lastFindChar = null; this._lastFindCharFunc = null; }, | |
highlight.set("Logo", String(<> | highlight.loadCSS(<>{"!Logo {"} | init: function () { this.name = services.get("dactyl:").name; this.idName = services.get("dactyl:").idName; this.appName = services.get("dactyl:").appName; this.host = services.get("dactyl:").host; highlight.styleableChrome = this.styleableChrome; highlight.loadCSS(this.CSS... |
</>)); | {"}"}</>); | init: function () { this.name = services.get("dactyl:").name; this.idName = services.get("dactyl:").idName; this.appName = services.get("dactyl:").appName; this.host = services.get("dactyl:").host; highlight.styleableChrome = this.styleableChrome; highlight.loadCSS(this.CSS... |
Calendar.getMessageFor('saturday'), Calendar.getMessageFor('sunday') | Calendar.getMessageFor('saturday') | Calendar.init = function(){ Calendar.DAY_NAMES = new Array( Calendar.getMessageFor('monday'), Calendar.getMessageFor('tuesday'), Calendar.getMessageFor('wednesday'), Calendar.getMessageFor('thursday'), Calendar.getMessageFor('friday'), Calendar.getMessageFor('saturday'), Calendar.getMessageFor('s... |
Calendar.getMessageFor('saturday_short'), Calendar.getMessageFor('sunday_short') | Calendar.getMessageFor('saturday_short') | Calendar.init = function(){ Calendar.DAY_NAMES = new Array( Calendar.getMessageFor('monday'), Calendar.getMessageFor('tuesday'), Calendar.getMessageFor('wednesday'), Calendar.getMessageFor('thursday'), Calendar.getMessageFor('friday'), Calendar.getMessageFor('saturday'), Calendar.getMessageFor('s... |
config.tabbrowser.mTabContainer.collapsed = true; | config.tabStrip.collapsed = true; | init: function () { this._alternates = [config.tabbrowser.mCurrentTab, null]; // used for the "gb" and "gB" mappings to remember the last :buffer[!] command this._lastBufferSwitchArgs = ""; this._lastBufferSwitchSpecial = true; let fragment = dactyl.has("Darwin") ? "tab-mac" : "ta... |
this._previousLayout = this.get('layout'); | init: function() { var parentView, path, root, idx, len, lp, dp ; sc_super() ; // set up theme var baseTheme = this.baseTheme; this.baseTheme = this._baseThemeProperty; this.set("baseTheme", baseTheme); var theme = this.theme; this.theme = this._themeProperty; this.set("theme", ... | |
this._doc.documentElement.id = id + "-top"; | init: function (id) { this._completionElements = []; var iframe = document.getElementById(id); this._doc = iframe.contentDocument; this._win = iframe.contentWindow; this._container = iframe.parentNode; this._doc.body.id = id + "-content"; this._doc.body.className = i... | |
return jQuery.fn.init.call(this, selector, context); | jQuery._isBuffering++; var ret = jQuery.fn.init.call(this, selector, context); jQuery._isBuffering--; return ret; | jQuery.bufferedJQuery.prototype.init = function(selector, context) { return jQuery.fn.init.call(this, selector, context);}; |
if (event == "add") autocommands.trigger("BookmarkAdd", arg); | if (["add", "change", "remove"].indexOf(event) >= 0) autocommands.trigger("Bookmark" + event[0].toUpperCase() + event.substr(1), arg); | init: function () { storage.addObserver("bookmark-cache", function (key, event, arg) { if (event == "add") autocommands.trigger("BookmarkAdd", arg); statusline.updateUrl(); }, window); }, |
get globalValue() { try { return options.store.get(this.name, {}).value } catch (e) { util.reportError(e); throw e; } }, | get globalValue() { try { return options.store.get(this.name, {}).value; } catch (e) { util.reportError(e); throw e; } }, | init: function (names, description, type, defaultValue, extraInfo) { this.name = names[0]; this.names = names; this.realNames = names; this.type = type; this.description = description; if (this.type in Option.getKey) this.getKey = Option.getKey[this.type]; ... |
this._statusBar = document.getElementById("addon-bar") || document.getElementById("status-bar"); | this._statusLine = document.getElementById("status-bar"); this._statusBar = document.getElementById("addon-bar") || this._statusLine; | init: function () { this._statusBar = document.getElementById("addon-bar") || document.getElementById("status-bar"); this._statusBar.collapsed = true; // it is later restored unless the user sets laststatus=0 // our status bar fields this.widgets = array(["status", "url", "inputbuffer", ... |
highlight.highlightNode(this._statusBar, highlightGroup[type]); | highlight.highlightNode(this._statusLine, highlightGroup[type]); | init: function () { this._statusBar = document.getElementById("addon-bar") || document.getElementById("status-bar"); this._statusBar.collapsed = true; // it is later restored unless the user sets laststatus=0 // our status bar fields this.widgets = array(["status", "url", "inputbuffer", ... |
arguments.callee.base.call(this) ; if (SC.browser.isSafari && parseInt(SC.browser.version,0) < 417) { SC.mixin(this,this.browserFuncs.safari) ; } else if (SC.browser.isIE) { SC.mixin(this,this.browserFuncs.ie) ; } else if (SC.browser.isMozilla) { SC.mixin(this,this.browserFuncs.firefox); | arguments.callee.base.call(this) ; this._static = {} ; this._dynamic = {} ; | init: function() { arguments.callee.base.call(this) ; if (SC.browser.isSafari && parseInt(SC.browser.version,0) < 417) { SC.mixin(this,this.browserFuncs.safari) ; } else if (SC.browser.isIE) { SC.mixin(this,this.browserFuncs.ie) ; } else if (SC.browser.isMozilla) { SC.mixin(this,this.br... |
this._didSetupHistory = false ; }, | init: function() { arguments.callee.base.call(this) ; if (SC.browser.isSafari && parseInt(SC.browser.version,0) < 417) { SC.mixin(this,this.browserFuncs.safari) ; } else if (SC.browser.isIE) { SC.mixin(this,this.browserFuncs.ie) ; } else if (SC.browser.isMozilla) { SC.mixin(this,this.br... | |
Ra=/^(\s|\u00A0)+|(\s|\u00A0)+$/g,Sa=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,P=navigator.userAgent,xa=false,Q=[],M,ca=Object.prototype.toString,da=Object.prototype.hasOwnProperty,ea=Array.prototype.push,R=Array.prototype.slice,V=Array.prototype.indexOf;c.fn=c.prototype={init:function(a,b){var d,f;if(!a)return this;if(a.nodeType){... | Wa=/^(\s|\u00A0)+|(\s|\u00A0)+$/g,Xa=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,P=navigator.userAgent,xa=false,Q=[],L,$=Object.prototype.toString,aa=Object.prototype.hasOwnProperty,ba=Array.prototype.push,R=Array.prototype.slice,ya=Array.prototype.indexOf;c.fn=c.prototype={init:function(a,b){var d,f;if(!a)return this;if(a.nodeType){... | Ra=/^(\s|\u00A0)+|(\s|\u00A0)+$/g,Sa=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,P=navigator.userAgent,xa=false,Q=[],M,ca=Object.prototype.toString,da=Object.prototype.hasOwnProperty,ea=Array.prototype.push,R=Array.prototype.slice,V=Array.prototype.indexOf;c.fn=c.prototype={init:function(a,b){var d,f;if(!a)return this;if(a.nodeType){... |
this.addSessionListener(window, "keydown", this.wrapListener(this.onKeyUpOrDown), true); | init: function () { const self = this; this._fullscreen = window.fullScreen; this._lastFocus = null; this._currentMacro = ""; this._lastMacro = ""; this.sessionListeners = []; this._macros = storage.newMap("macros", { privateData: true, store: true }); for (le... | |
this.addSessionListener(window, "keyup", this.wrapListener(this.onKeyUpOrDown), true); | init: function () { const self = this; this._fullscreen = window.fullScreen; this._lastFocus = null; this._currentMacro = ""; this._lastMacro = ""; this.sessionListeners = []; this._macros = storage.newMap("macros", { privateData: true, store: true }); for (le... | |
dactyl.commands["tabs.select"] = function (event) { tabs.select(event.originalTarget.getAttribute("identifier")); }; | init: function () { this._alternates = [config.tabbrowser.mCurrentTab, null]; // used for the "gb" and "gB" mappings to remember the last :buffer[!] command this._lastBufferSwitchArgs = ""; this._lastBufferSwitchSpecial = true; let fragment = dactyl.has("Darwin") ? "tab-mac" : "ta... | |
document.addEventListener('mousedown', TBRL.clickhandler, false); | init : function(config){ TBRL.config = config; document.addEventListener('mousemove', TBRL.mousehandler, false); document.addEventListener('unload', TBRL.unload, false); window.addEventListener('Taberareloo.link', TBRL.link, false); window.addEventListener('Taberareloo.quote', TBRL.quote, false); wi... | |
activeTokens:null,cursorActivity:null,lineNumbers:false,firstLineNumber:1,indentUnit:2,domain:null,noScriptCaching:false});var q=document.selection&&window.ActiveXObject&&/MSIE/.test(navigator.userAgent);o.prototype={init:function(){this.options.initCallback&&this.options.initCallback(this);this.options.lineNumbers&&th... | activeTokens:null,cursorActivity:null,lineNumbers:false,firstLineNumber:1,indentUnit:2,domain:null,noScriptCaching:false});var G=document.selection&&window.ActiveXObject&&/MSIE/.test(navigator.userAgent);s.prototype={init:function(){this.options.initCallback&&this.options.initCallback(this);this.options.lineNumbers&&th... | activeTokens:null,cursorActivity:null,lineNumbers:false,firstLineNumber:1,indentUnit:2,domain:null,noScriptCaching:false});var q=document.selection&&window.ActiveXObject&&/MSIE/.test(navigator.userAgent);o.prototype={init:function(){this.options.initCallback&&this.options.initCallback(this);this.options.lineNumbers&&th... |
#addon-bar { padding: 0 !important; } | #status-bar { margin-top: 0 !important; } #addon-bar { padding: 0 !important; min-height: 18px !important; } | init: function () { this._statusLine = document.getElementById("status-bar"); this._statusBar = document.getElementById("addon-bar") || this._statusLine; this._statusBar.collapsed = true; // it is later restored unless the user sets laststatus=0 // our status bar fields this.widge... |
}, setClass: function setClass(type) { const highlightGroup = { extended: "StatusLineExtended", secure: "StatusLineSecure", broken: "StatusLineBroken", insecure: "StatusLine" }; highlight.highlightNode(this._statusLine, highlightGroup[type]); }, | init: function () { this._statusLine = document.getElementById("status-bar"); this._statusBar = document.getElementById("addon-bar") || this._statusLine; this._statusBar.collapsed = true; // it is later restored unless the user sets laststatus=0 // our status bar fields this.widge... | |
this.push(this.NORMAL, 0, { restore: function (prev) { if (options.getPref("accessibility.browsewithcaret")) options.setPref("accessibility.browsewithcaret", false); statusline.updateUrl(); dactyl.focusContent(true); } }); | init: function () { this.modeChars = {}; this._main = 1; // NORMAL this._extended = 0; // NONE this._lastShown = null; this._passNextKey = false; this._passAllKeys = false; this._isRecording = false; this._isReplaying = false; // playing a macro thi... | |
"", false, true) | (config.tabStrip.id ? "#" + config.tabStrip.id : ".tabbrowser-strip") + "{ visibility: collapse; }", false, true) | init: function () { this._alternates = [config.tabbrowser.mCurrentTab, null]; // used for the "gb" and "gB" mappings to remember the last :buffer[!] command this._lastBufferSwitchArgs = ""; this._lastBufferSwitchSpecial = true; let fragment = dactyl.has("Darwin") ? "tab-mac" : "ta... |
ret.isBuffered = true; | jQuery.bufferedJQuery.prototype.init = function(selector, context) { jQuery._isBuffering++; var ret = jQuery.fn.init.call(this, selector, context); jQuery._isBuffering--; return ret;}; | |
this._statusBar = document.getElementById("status-bar"); | this._statusBar = document.getElementById("addon-bar") || document.getElementById("status-bar"); | init: function () { this._statusBar = document.getElementById("status-bar"); this._statusBar.collapsed = true; // it is later restored unless the user sets laststatus=0 // our status bar fields this.widgets = array(["status", "url", "inputbuffer", "progress", "tabcount", "bufferposition"... |
setClass: function setClass(type) { const highlightGroup = { extended: "StatusLineExtended", secure: "StatusLineSecure", broken: "StatusLineBroken", insecure: "StatusLine" }; highlight.highlightNode(this._statusBar, highlightGroup[type]); }, | init: function () { this._statusBar = document.getElementById("status-bar"); this._statusBar.collapsed = true; // it is later restored unless the user sets laststatus=0 // our status bar fields this.widgets = array(["status", "url", "inputbuffer", "progress", "tabcount", "bufferposition"... | |
this._setTimeoutCall = function() { | this._doIdleEntry = function() { | init: function() { var self = this; this._setTimeoutCall = function() { self._idleEntry(); }; this._tasks = []; }, |
}; this._doSetupIdle = function() { self._setupIdle(); | init: function() { var self = this; this._setTimeoutCall = function() { self._idleEntry(); }; this._tasks = []; }, | |
init: function (message) { update(this, Error(message)); } | init: function (names, description, type, defaultValue, extraInfo) { this.name = names[0]; this.names = names; this.realNames = names; this.type = type; this.description = description; if (this.type in Option.getKey) this.getKey = Option.getKey[this.type]; if (this.type in Option.parse) this.parse = Option.parse[this... | init: function (message) { update(this, Error(message)); } |
if (this.theme && (this.theme === "square" || this.theme === "rounded")) { | if ( this.theme && (this.theme === "square" || this.theme === "capsule" || this.theme === "checkbox" || this.theme === "radio") ) { | init: function() { if (this.theme && (this.theme === "square" || this.theme === "rounded")) { this.set("oldButtonTheme", this.theme); this.theme = ""; } sc_super(); //cache the key equivalent if(this.get("keyEquivalent")) this._defaultKeyEquivalent = this.get("keyEquivalent"); }, |
Cu.import("resource: | function init() { dump("dactyl: bootstrap: init\n"); let manifestURI = getURI("chrome.manifest"); let manifest = httpGet(manifestURI.spec) .responseText .replace(/^\s*|\s*$|#.*/g, "") .replace(/^\s*\n/gm, ""); function url(path) getURI(path).spec; let result = []; for ... | |
sep = virtroot[virtroot.length - 1] === '/' ? '' : '/'; | function init() { signature = dojo.byId('signature'); maincontent = dojo.byId('maincontent'); signatureVisible = false; if (!location.hash) { dojo.byId('search-box').focus(); return; } // hash may have line number, or line number + name separated by / var parts = location.hash.split('#')[1].split('/'); if... | |
var args = window.location.href.split('?'); if(args[1]) { if(args[1].split('=')[0] == "apid") { apid = args[1].split('=')[1]; xmlhttpPost(URL_APSEARCH, apid, "LOAD"); } } | window.onload = function init(){ gt = new Gettext({ 'domain' : 'messages' });} | |
Services.obs.notifyObservers(null, "dactyl-rehash", null); | function init() { dump("dactyl: bootstrap: init\n"); let manifestURI = getURI("chrome.manifest"); let manifest = httpGet(manifestURI.spec) .responseText .replace(/^\s*|\s*$|#.*/g, "") .replace(/^\s*\n/gm, ""); function url(path) getURI(path).spec; let result = []; for ... | |
Services.obs.notifyObservers(null, "dactyl-rehash", null); JSMLoader.load("resource: | function init() { dump("dactyl: bootstrap: init\n"); let manifestURI = getURI("chrome.manifest"); let manifest = httpGet(manifestURI.spec) .responseText .replace(/^\s*|\s*$|#.*/g, "") .replace(/^\s*\n/gm, ""); function url(path) getURI(path).spec; let result = []; for ... | |
dump("dactyl: bootstrap: init: " + addon + "\n"); | dump("dactyl: bootstrap: init\n"); | function init() { dump("dactyl: bootstrap: init: " + addon + "\n"); let manifestURI = addon.getResourceURI("chrome.manifest"); let manifest = httpGet(manifestURI.spec) .responseText .replace(/^\s*|\s*$|#.*/g, "") .replace(/^\s*\n/gm, ""); function url(path) addon.getResource... |
let manifestURI = addon.getResourceURI("chrome.manifest"); | let manifestURI = getURI("chrome.manifest"); | function init() { dump("dactyl: bootstrap: init: " + addon + "\n"); let manifestURI = addon.getResourceURI("chrome.manifest"); let manifest = httpGet(manifestURI.spec) .responseText .replace(/^\s*|\s*$|#.*/g, "") .replace(/^\s*\n/gm, ""); function url(path) addon.getResource... |
function url(path) addon.getResourceURI(path).spec; | function url(path) getURI(path).spec; | function init() { dump("dactyl: bootstrap: init: " + addon + "\n"); let manifestURI = addon.getResourceURI("chrome.manifest"); let manifest = httpGet(manifestURI.spec) .responseText .replace(/^\s*|\s*$|#.*/g, "") .replace(/^\s*\n/gm, ""); function url(path) addon.getResource... |
resourceProto.setSubstitution(fields[1], addon.getResourceURI(fields[2])); | resourceProto.setSubstitution(fields[1], getURI(fields[2])); | function init() { dump("dactyl: bootstrap: init: " + addon + "\n"); let manifestURI = addon.getResourceURI("chrome.manifest"); let manifest = httpGet(manifestURI.spec) .responseText .replace(/^\s*|\s*$|#.*/g, "") .replace(/^\s*\n/gm, ""); function url(path) addon.getResource... |
writeFile(file, result.map(function (line) line.join(" ")).join("\n")); | writeFile(file, manifestText); | function init() { dump("dactyl: bootstrap: init: " + addon + "\n"); let manifestURI = addon.getResourceURI("chrome.manifest"); let manifest = httpGet(manifestURI.spec) .responseText .replace(/^\s*|\s*$|#.*/g, "") .replace(/^\s*\n/gm, ""); function url(path) addon.getResource... |
function initAndDraw(container, visType, bindingTypes, variables) | function initAndDraw(container, visType, bindingTypes, variables, options) | function initAndDraw(container, visType, bindingTypes, variables){ initVis(container, visType); draw(visualizations[visType], visType, bindingTypes, variables);} |
draw(visualizations[visType], visType, bindingTypes, variables); | draw(visualizations[visType], visType, bindingTypes, variables, options); | function initAndDraw(container, visType, bindingTypes, variables){ initVis(container, visType); draw(visualizations[visType], visType, bindingTypes, variables);} |
function initAndDraw(container, visType, variables) | function initAndDraw(container, visType, bindingTypes, variables) | function initAndDraw(container, visType, variables){ initVis(container, visType); draw(visualizations[visType], visType, variables);} |
draw(visualizations[visType], visType, variables); | draw(visualizations[visType], visType, bindingTypes, variables); | function initAndDraw(container, visType, variables){ initVis(container, visType); draw(visualizations[visType], visType, variables);} |
{ | {alert(variables); | function initAndDraw(container, visType, bindingTypes, variables){ initVis(container, visType); draw(visualizations[visType], visType, bindingTypes, variables);} |
{ var buttons_div = this.buttons_div; if (this.options.get("time")) | initButtonsDiv: function() { var buttons_div = this.buttons_div; if (this.options.get("time")) { var blank_time = $A(this.options.get("time")=="mixed" ? [[" - ", ""]] : []); buttons_div.build("span", {innerHTML:"@", className: "at_sign"}); var t = new Date(); this.hour_select = new... | |
var blank_time = $A(this.options.get("time")=="mixed" ? [[" - ", ""]] : []); buttons_div.build("span", {innerHTML:"@", className: "at_sign"}); | var buttons_div = this.buttons_div; if (this.options.get("time")) { var blank_time = $A(this.options.get("time")=="mixed" ? [[" - ", ""]] : []); buttons_div.build("span", {innerHTML:"@", className: "at_sign"}); var t = new Date(); this.hour_select = new SelectBox(buttons_div, blank_time.concat($R(0,23).map(function(x)... | initButtonsDiv: function() { var buttons_div = this.buttons_div; if (this.options.get("time")) { var blank_time = $A(this.options.get("time")=="mixed" ? [[" - ", ""]] : []); buttons_div.build("span", {innerHTML:"@", className: "at_sign"}); var t = new Date(); this.hour_select = new... |
var t = new Date(); this.hour_select = new SelectBox(buttons_div, blank_time.concat($R(0,23).map(function(x) {t.setHours(x); return $A([t.getAMPMHour()+ " " + t.getAMPM(),x])} )), { calendar_date_select: this, onchange: function() { this.calendar_date_select.updateSelectedDate( { hour: this.value });}, className: "hour... | if (this.options.get("buttons")) { buttons_div.build("span", {innerHTML: " "}); if (this.options.get("time")=="mixed" || !this.options.get("time")) b = buttons_div.build("a", { innerHTML: _translations["Today"], href: "#", onclick: function() {this.today(false); return false;}.bindAsEventListener(this) }); if (th... | initButtonsDiv: function() { var buttons_div = this.buttons_div; if (this.options.get("time")) { var blank_time = $A(this.options.get("time")=="mixed" ? [[" - ", ""]] : []); buttons_div.build("span", {innerHTML:"@", className: "at_sign"}); var t = new Date(); this.hour_select = new... |
); buttons_div.build("span", {innerHTML:":", className: "seperator"}); var that = this; this.minute_select = new SelectBox(buttons_div, blank_time.concat($R(0,59).select(function(x){return (x % that.options.get('minute_interval')==0)}).map(function(x){ return $A([ Date.padded2(x), x]); } ) ), { calendar_date_select: th... | initButtonsDiv: function() { var buttons_div = this.buttons_div; if (this.options.get("time")) { var blank_time = $A(this.options.get("time")=="mixed" ? [[" - ", ""]] : []); buttons_div.build("span", {innerHTML:"@", className: "at_sign"}); var t = new Date(); this.hour_select = new... | |
} }, | }, | initButtonsDiv: function() { var buttons_div = this.buttons_div; if (this.options.get("time")) { var blank_time = $A(this.options.get("time")=="mixed" ? [[" - ", ""]] : []); buttons_div.build("span", {innerHTML:"@", className: "at_sign"}); var t = new Date(); this.hour_select = new... |
var visBindingTypes = bindingTypesByVisType(bindingTypes, visType); | var visBindingTypes = objectsByVisType(visType, bindingTypes); | function initControls(visType, bindingElements, bindingTypes, xsdTypes, variables){ var visBindingTypes = bindingTypesByVisType(bindingTypes, visType); //alert(visBindingTypes.toSource()); //alert(variables.toSource()); for (var i in visBindingTypes) { var bindingElement = elementByBindingType(bin... |
var bindingColumns = columnsByBindingType(visBindingTypes[i], xsdTypes); | var bindingColumns = columnsByBindingType(visBindingTypes[i].type, xsdTypes); | function initControls(visType, bindingElements, bindingTypes, xsdTypes, variables){ var visBindingTypes = bindingTypesByVisType(bindingTypes, visType); //alert(visBindingTypes.toSource()); //alert(variables.toSource()); for (var i in visBindingTypes) { var bindingElement = elementByBindingType(bin... |
if (!("cardinality" in visBindingTypes[i]) || ("cardinality" in visBindingTypes[i] && visBindingTypes[i].cardinality > j) || ("minCardinality" in visBindingTypes[i] && visBindingTypes[i].minCardinality > j)) | if (!(("cardinality" in visBindingTypes[i] && visBindingTypes[i].cardinality == 1) || ("maxCardinality" in visBindingTypes[i] && visBindingTypes[i].maxCardinality == 1))) | function initControls(visType, bindingElements, bindingTypes, xsdTypes, variables){ var visBindingTypes = bindingTypesByVisType(bindingTypes, visType); //alert(visBindingTypes.toSource()); //alert(variables.toSource()); for (var i in visBindingTypes) { var bindingElement = elementByBindingType(bin... |
var bindingColumns = columnsByBindingType(visBindingTypes[i], xsdTypes); | function initControls(visType, bindingElements, bindingTypes, xsdTypes, variables){ var visBindingTypes = bindingTypesByVisType(bindingTypes, visType); //alert(visBindingTypes.toSource()); //alert(variables.toSource()); for (var i in visBindingTypes) { var bindingElement = elementByBindingType(bin... | |
this._input = []; | this.clear(); | initialize: function (schema) { this._alphabet = schema.alphabet; this._initial = schema.initial; this._delimiter = schema.delimiter; this._xform = schema.xform; this._input = []; }, |
this.maxKeyLength = Number(this.getConfigValue("MaxKeyLength") || 3); | this.maxKeyLength = Math.max(2, Number(this.getConfigValue("MaxKeyLength") || 2)); | initialize: function (schemaName, data) { this.schemaName = schemaName; this._prefix = "Config/" + schemaName + "/"; $.extend(this, data); // required configuration options this.prefix = this.getConfigValue("Prefix"); this.parser = this.getConfigValue("Parser"); this... |
0;n+=parseFloat(i.borderLeftWidth)||0}f=d;d=b.offsetParent}if(c.offset.subtractsBorderForOverflowNotVisible&&i.overflow!=="visible"){p+=parseFloat(i.borderTopWidth)||0;n+=parseFloat(i.borderLeftWidth)||0}f=i}if(f.position==="relative"||f.position==="static"){p+=o.offsetTop;n+=o.offsetLeft}if(c.offset.supportsFixedPosit... | f.position==="fixed"){k+=Math.max(i.scrollTop,o.scrollTop);n+=Math.max(i.scrollLeft,o.scrollLeft)}return{top:k,left:n}};c.offset={initialize:function(){var a=s.body,b=s.createElement("div"),d,f,e,j=parseFloat(c.curCSS(a,"marginTop",true))||0;c.extend(b.style,{position:"absolute",top:0,left:0,margin:0,border:0,width:"1p... | 0;n+=parseFloat(i.borderLeftWidth)||0}f=d;d=b.offsetParent}if(c.offset.subtractsBorderForOverflowNotVisible&&i.overflow!=="visible"){p+=parseFloat(i.borderTopWidth)||0;n+=parseFloat(i.borderLeftWidth)||0}f=i}if(f.position==="relative"||f.position==="static"){p+=o.offsetTop;n+=o.offsetLeft}if(c.offset.supportsFixedPosit... |
initialize: function(element) { this.element = $(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(... | initialize: function(element) { this.element = $(element); }, |
var promptChar = this.getConfigCharSequence("PromptChar"); if (promptChar) { var xlit = {}; var i; for (i = 0; i < this.alphabet.length && i < promptChar.length; ++i) { xlit[this.alphabet.charAt(i)] = promptChar.charAt(i); } this.translit = function (s) { return $.map(s.split(""), function (c) { return xlit[c] || c; })... | initialize: function (schemaName, data) { this.schemaName = schemaName; $.extend(this, data); // required configuration options this.dict = this.getConfigValue("Dict"); this.parser = this.getConfigValue("Parser"); this.maxKeyLength = Math.max(2, Number(this.getConfigValue("... | |
conv.listener = new MyanmarConverterEventListener(conv); | MyanmarConverterExtension.initialize = function() { try { var prefs = Components.classes["@mozilla.org/preferences-service;1"] .getService(Components.interfaces.nsIPrefService) .getBranch("extensions.myanmarconverter."); this.ena... | |
var list = schema.getConfigList("TransformRule"); this._xformRules = (list.length == 0) ? null : $.map(list, function (r) { var p = r.split(/\s+/); return {pattern: new RegExp(p[0], "g"), repl: p[1]}; }); | initialize: function (schema) { this._alphabet = schema.getConfigCharSequence("Alphabet") || "abcdefghijklmnopqrstuvwxyz"; this._initial = this._alphabet.split (/\s+/, 1)[0]; this._delimiter = schema.delimiter; this._input = []; }, | |
this.document.saveLink = function(anchorElem) { PAGESPEED.Utils.saveLink(anchorElem.href); }; | initializeNode: function(myPanelNode) { PAGESPEED.PageSpeedContext.panel = this; PAGESPEED.curButtonId = ''; // Find mismatched dependencies. var mismatchedDependencies = []; for (var addonName in PAGESPEED.DEPENDENCIES) { var dependency = PAGESPEED.DEPENDENCIES[addonName]; if (!PAGESPEED.Uti... | |
this._invalidIndexes = SC.IndexSet.create(); | initMixin: function() { this._indexMap = []; // these are coresets because they need to be iterated a lot this._curShowing = SC.CoreSet.create(); this._shouldBeShowing = SC.CoreSet.create(); this._viewsForItem = {}; this._tempAttrs = {}; // this is an index set because they handle ranges ... | |
SC.backgroundTaskQueue.runLimit = -1; | initMixin: function() { this._indexMap = {}; // these are coresets because they need to be iterated a lot this._curShowing = SC.CoreSet.create(); this._shouldBeShowing = SC.CoreSet.create(); this._viewsForItem = {}; this._tempAttrs = {}; // this is an index set because they handle ranges ... | |
this._indexMap = []; | initMixin: function() { this._indexMap = []; // these are coresets because they need to be iterated a lot this._curShowing = SC.CoreSet.create(); this._shouldBeShowing = SC.CoreSet.create(); this._viewsForItem = {}; this._tempAttrs = {}; // make the background task queue run more aggressi... | |
this._invalidIndexes = SC.CoreSet.create(); | this._invalidIndexes = SC.IndexSet.create(); | initMixin: function() { this._indexMap = {}; this._curShowing = SC.CoreSet.create(); this._shouldBeShowing = SC.CoreSet.create(); this._viewsForItem = {}; this._tempAttrs = {}; this._invalidIndexes = SC.CoreSet.create(); // temporarily disabled for debugging purposes; re-enable when backgroun... |
this._invalidIndexes = SC.CoreSet.create(); | initMixin: function() { this._indexMap = {}; this._curShowing = SC.CoreSet.create(); this._shouldBeShowing = SC.CoreSet.create(); this._viewsForItem = {}; this._tempAttrs = {}; }, | |
this._animatable_original_hasAcceleratedLayer = this.hasAcceleratedLayer || function(){}; this.hasAcceleratedLayer = this._animatable_hasAcceleratedLayer; | initMixin: function() { this._animatable_original_didCreateLayer = this.didCreateLayer || function(){}; this.didCreateLayer = this._animatable_didCreateLayer; this._animatable_original_willDestroyLayer = this.willDestroyLayer || function(){}; this.willDestroyLayer = this._animatable_willDestroyLayer; ... | |
this._scfl_tile(); | this.invokeOnce("_scfl_tile"); | initMixin: function() { this._scfl_tile(); }, |
this.emptinessDidChangeFor(); | this._SCCE_emptinessDidChangeFor(); | initMixin: function() { this.emptinessDidChangeFor(); }, |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.