rem stringlengths 0 126k | add stringlengths 0 441k | context stringlengths 15 136k |
|---|---|---|
completion.searchEngine = function searchEngine(context, suggest) { | completion.searchEngine = function searchEngine(context, args, suggest) { | completion.searchEngine = function searchEngine(context, suggest) { let engines = services.get("browserSearch").getEngines({}); if (suggest) engines = engines.filter(function (e) e.supportsResponseType("application/x-suggestions+json")); context.title = ["Sugg... |
let engineList = (engineAliases || options["suggestengines"] || "google").split(","); | let engineList = (engineAliases || options["suggestengines"].join(",") || "google").split(","); | completion.searchEngineSuggest = function searchEngineSuggest(context, engineAliases, kludge) { if (!context.filter) return; let engineList = (engineAliases || options["suggestengines"] || "google").split(","); let completions = []; engineList.forEach(f... |
completion.searchEngineSuggest = function searchEngineSuggest(context, engineAliases, kludge) { | completion.searchEngineSuggest = function searchEngineSuggest(context, args, engineAliases, kludge) { | completion.searchEngineSuggest = function searchEngineSuggest(context, engineAliases, kludge) { if (!context.filter) return; let engineList = (engineAliases || options["suggestengines"].join(",") || "google").split(","); let completions = []; engineList... |
switch(SC.typeOf(value)) { | switch(type) { | var searchObject = function(root, object, levels) { levels-- ; // not the fastest, but safe if (seen.indexOf(object) >= 0) return ; seen.push(object) ; for(var key in object) { if (key == '__scope__') continue ; if (key == 'superclass') continue ; if (key == '__SC__') key = 'SC' ; i... |
if(! parent.opener || ! parent.opener.addNewAirport) { guest = true; } else { guest = false; } | function searchResult(str) { var airports = str.split("\n"); var table = "<table width=95% cellspacing=0>"; var offset, sql; var db = document.forms['searchform'].db.value; var disclaimer = ""; if(! parent.opener || ! parent.opener.addNewAirport) { guest = true; } else { guest = false; } if(warning) { ... | |
if(db == DB_OPENFLIGHTS && !guest) { | if(db == DB_OPENFLIGHTS && isEditMode()) { | function searchResult(str) { var airports = str.split("\n"); var table = "<table width=95% cellspacing=0>"; var offset, sql; var db = document.forms['searchform'].db.value; var disclaimer = ""; if(! parent.opener || ! parent.opener.addNewAirport) { guest = true; } else { guest = false; } if(warning) { ... |
if(db != DB_OPENFLIGHTS || col["ap_uid"] == "own" || guest) { | if(db != DB_OPENFLIGHTS || col["ap_uid"] == "own" || ! isEditMode()) { | function searchResult(str) { var airports = str.split("\n"); var table = "<table width=95% cellspacing=0>"; var offset, sql; var db = document.forms['searchform'].db.value; var disclaimer = ""; if(! parent.opener || ! parent.opener.addNewAirport) { guest = true; } else { guest = false; } if(warning) { ... |
var bt_edit_security_group = new DcmgrGUI.Dialog({ target:'.edit_security_group', width:500, height:580, title:'Edit Security Group', path:'/edit_security_group', button:{ "Yes, Update": function() { var name = $('#security_group_name').val(); var description = $('#security_group_description').val(); var rule = $('#se... | DcmgrGUI.prototype.securityGroupPanel = function(){ var total = 0; var maxrow = 10; var page = 1; var list_request = { "url" : DcmgrGUI.Util.getPagePath('/security_groups/list/',page), "data" : DcmgrGUI.Util.getPagenateData(page,maxrow) }; DcmgrGUI.List.prototype.getEmptyData = function(){ return [{ ... | |
$('#detail').find('#config_'+id).html(initialize_config); | $('#security_group_config').html(initialize_config); | DcmgrGUI.prototype.securityGroupPanel = function(){ var list_request = { "url":DcmgrGUI.Util.getPagePath('/security_groups/show/',1) }; DcmgrGUI.List.prototype.getEmptyData = function(){ return [{ "id":'', "group_id":'', "name":'', "description":'' }] } DcmgrGUI.Detail.prototype.getEmp... |
self.element.trigger('dcmgrGUI.configUpdatee',[self.id]); | self.element.trigger('dcmgrGUI.configUpdate',[self.id]); | DcmgrGUI.prototype.securityGroupPanel = function(){ var list_request = { "url":DcmgrGUI.Util.getPagePath('/security_groups/show/',1) }; DcmgrGUI.List.prototype.getEmptyData = function(){ return [{ "id":'', "group_id":'', "name":'', "description":'' }] } DcmgrGUI.Detail.prototype.getEmp... |
}); c_list.element.bind('dcmgrGUI.contentChange',function(event,params){ c_list.setData(params.data); c_list.singleCheckList(c_list.detail_template); | DcmgrGUI.prototype.securityGroupPanel = function(){ var list_request = { "url":DcmgrGUI.Util.getPagePath('/security_groups/show/',1) }; DcmgrGUI.List.prototype.getEmptyData = function(){ return [{ "id":'', "group_id":'', "name":'', "description":'' }] } DcmgrGUI.Detail.prototype.getEmp... | |
width:600, height:220, | width:500, height:580, | DcmgrGUI.prototype.securityGroupPanel = function(){ var total = 0; var maxrow = 10; var page = 1; var list_request = { "url" : DcmgrGUI.Util.getPagePath('/security_groups/list/',page), "data" : DcmgrGUI.Util.getPagenateData(page,maxrow) }; DcmgrGUI.List.prototype.getEmptyData = function(){ return [{ ... |
if(!description){ $('#security_group_description').focus(); | if(!name.match(/[a-z_]+/)){ $('#security_group_name').focus(); | DcmgrGUI.prototype.securityGroupPanel = function(){ var total = 0; var maxrow = 10; var page = 1; var list_request = { "url" : DcmgrGUI.Util.getPagePath('/security_groups/list/',page), "data" : DcmgrGUI.Util.getPagenateData(page,maxrow) }; DcmgrGUI.List.prototype.getEmptyData = function(){ return [{ ... |
if(!rule){ $('#security_group_rule').focus(); return false; } $('#security_group_name').focus(); | DcmgrGUI.prototype.securityGroupPanel = function(){ var total = 0; var maxrow = 10; var page = 1; var list_request = { "url" : DcmgrGUI.Util.getPagePath('/security_groups/list/',page), "data" : DcmgrGUI.Util.getPagenateData(page,maxrow) }; DcmgrGUI.List.prototype.getEmptyData = function(){ return [{ ... | |
var list_request = { "url":DcmgrGUI.Util.getPagePath('/security_groups/show/',1) }; | var maxrow = 10; var page = 1; var list_request = { "url" : DcmgrGUI.Util.getPagePath('/security_groups/list/',1), "data" : DcmgrGUI.Util.getPagenateData(page,maxrow) }; | DcmgrGUI.prototype.securityGroupPanel = function(){ var list_request = { "url":DcmgrGUI.Util.getPagePath('/security_groups/show/',1) }; DcmgrGUI.List.prototype.getEmptyData = function(){ return [{ "id":'', "group_id":'', "name":'', "description":'' }] } DcmgrGUI.Detail.prototype.getE... |
"id":'', "group_id":'', | DcmgrGUI.prototype.securityGroupPanel = function(){ var list_request = { "url":DcmgrGUI.Util.getPagePath('/security_groups/show/',1) }; DcmgrGUI.List.prototype.getEmptyData = function(){ return [{ "id":'', "group_id":'', "name":'', "description":'' }] } DcmgrGUI.Detail.prototype.getE... | |
"group_id":"-", | DcmgrGUI.prototype.securityGroupPanel = function(){ var list_request = { "url":DcmgrGUI.Util.getPagePath('/security_groups/show/',1) }; DcmgrGUI.List.prototype.getEmptyData = function(){ return [{ "id":'', "group_id":'', "name":'', "description":'' }] } DcmgrGUI.Detail.prototype.getE... | |
"config" : "", | "rule":'' | DcmgrGUI.prototype.securityGroupPanel = function(){ var list_request = { "url":DcmgrGUI.Util.getPagePath('/security_groups/show/',1) }; DcmgrGUI.List.prototype.getEmptyData = function(){ return [{ "id":'', "group_id":'', "name":'', "description":'' }] } DcmgrGUI.Detail.prototype.getE... |
DcmgrGUI.Detail.prototype.register_event('dcmgrGUI.configUpdate',function(event,id){ var initialize_config = "" + "# Format\n" + "# Connection Method,Protocol,From Port,To Port,Source(IP or group)\n" + "#\n" + "# Exmaple:\n" + "# ssh,tcp,22,22,0.0.0.0/0\n"; var data = $('#detail').find('#config_'+id).html(); if(!data... | var c_pagenate = new DcmgrGUI.Pagenate({ row:maxrow, total:30 | DcmgrGUI.prototype.securityGroupPanel = function(){ var list_request = { "url":DcmgrGUI.Util.getPagePath('/security_groups/show/',1) }; DcmgrGUI.List.prototype.getEmptyData = function(){ return [{ "id":'', "group_id":'', "name":'', "description":'' }] } DcmgrGUI.Detail.prototype.getE... |
element_id:'#display_volumes', template_id:'#securityGroupsListTemplate' | element_id:'#display_security_groups', template_id:'#securityGroupsListTemplate', maxrow:maxrow, page:page | DcmgrGUI.prototype.securityGroupPanel = function(){ var list_request = { "url":DcmgrGUI.Util.getPagePath('/security_groups/show/',1) }; DcmgrGUI.List.prototype.getEmptyData = function(){ return [{ "id":'', "group_id":'', "name":'', "description":'' }] } DcmgrGUI.Detail.prototype.getE... |
detail_path:'/security_groups/detail/' | detail_path:'/security_groups/show/' | DcmgrGUI.prototype.securityGroupPanel = function(){ var list_request = { "url":DcmgrGUI.Util.getPagePath('/security_groups/show/',1) }; DcmgrGUI.List.prototype.getEmptyData = function(){ return [{ "id":'', "group_id":'', "name":'', "description":'' }] } DcmgrGUI.Detail.prototype.getE... |
}); var c_pagenate = new DcmgrGUI.Pagenate({ row:10, total:30 | DcmgrGUI.prototype.securityGroupPanel = function(){ var list_request = { "url":DcmgrGUI.Util.getPagePath('/security_groups/show/',1) }; DcmgrGUI.List.prototype.getEmptyData = function(){ return [{ "id":'', "group_id":'', "name":'', "description":'' }] } DcmgrGUI.Detail.prototype.getE... | |
list_request.url = DcmgrGUI.Util.getPagePath('/security_groups/show/',c_pagenate.current_page); | c_list.page = c_pagenate.current_page; list_request.url = DcmgrGUI.Util.getPagePath('/security_groups/list/',c_list.page); list_request.data = DcmgrGUI.Util.getPagenateData(c_list.page,c_list.maxrow) | DcmgrGUI.prototype.securityGroupPanel = function(){ var list_request = { "url":DcmgrGUI.Util.getPagePath('/security_groups/show/',1) }; DcmgrGUI.List.prototype.getEmptyData = function(){ return [{ "id":'', "group_id":'', "name":'', "description":'' }] } DcmgrGUI.Detail.prototype.getE... |
url:DcmgrGUI.Util.getPagePath('/security_groups/detail/',check_id) | url:DcmgrGUI.Util.getPagePath('/security_groups/show/',check_id) | DcmgrGUI.prototype.securityGroupPanel = function(){ var list_request = { "url":DcmgrGUI.Util.getPagePath('/security_groups/show/',1) }; DcmgrGUI.List.prototype.getEmptyData = function(){ return [{ "id":'', "group_id":'', "name":'', "description":'' }] } DcmgrGUI.Detail.prototype.getE... |
if(this.get('paused')) media.currentTime=this.get('currentTime'); | if(this.get('paused') && media && media.currentTime) media.currentTime=this.get('currentTime'); | seek:function(){ var timeInSecs, totaltimeInSecs, formattedTime, media=this._getAudioObject(); if(this.loaded==='html5'){ if(this.get('paused')) media.currentTime=this.get('currentTime'); } if(this.loaded==='quicktime'){ if(this.get('paused')) media.SetTime(this.get('currentTime')*media.GetTimeS... |
var zwspWjRegEx = new RegExp("[\u200B\b2060]", "g"); | var zwspWjRegEx = new RegExp("(\u200B[\u1031\u1084])|[\u200B\u2060]", "g"); | MyanmarConverterExtension.segmentInputWords = function(inputElement){ var text = inputElement.value; if (!text.match("[\u1000-\u109F]")) return; var oldSelStart = inputElement.selectionStart; var oldSelEnd = inputElement.selectionEnd; // strip any old ZWSP and redo, since they may be in the wrong ... |
var beforeSelection = text.substring(0, oldSelStart).replace(zwspWjRegEx, ''); var selectionText = text.substring(oldSelStart, oldSelEnd).replace(zwspWjRegEx, ''); text = text.replace(zwspWjRegEx, ""); | var beforeSelection = text.substring(0, oldSelStart).replace(zwspWjRegEx, "$1"); var selectionText = text.substring(oldSelStart, oldSelEnd).replace(zwspWjRegEx, "$1"); text = text.replace(zwspWjRegEx, "$1"); | MyanmarConverterExtension.segmentInputWords = function(inputElement){ var text = inputElement.value; if (!text.match("[\u1000-\u109F]")) return; var oldSelStart = inputElement.selectionStart; var oldSelEnd = inputElement.selectionEnd; // strip any old ZWSP and redo, since they may be in the wrong ... |
converted += "\u200B"; | converted += ""; | MyanmarConverterExtension.segmentWords = function (syllables, wordBreaks){ var converted = ""; for (var i = 0; i < syllables.length; i++) { converted += syllables[i]; if ((wordBreaks.length > 0) && (wordBreaks[0] == i)) { converted += "\u200B"; wordBreaks.s... |
Ext.Element.select = function(selector, unique, root){ var els; if(typeof selector == "string"){ els = Ext.Element.selectorFunction(selector, root); }else if(selector.length !== undefined){ els = selector; }else{ throw "Invalid selector"; } if(unique === true){ return new Ext.CompositeElement(els); }else{ return new Ex... | select: function(m, d){ this.setValue(d); this.fireEvent('select', this, d); }, | Ext.Element.select = function(selector, unique, root){ var els; if(typeof selector == "string"){ els = Ext.Element.selectorFunction(selector, root); }else if(selector.length !== undefined){ els = selector; }else{ throw "Invalid selector"; } if(unique === true){ return new E... |
let index = Tabs.indexFromSpec(spec, wrap); | let index = tabs.indexFromSpec(spec, wrap); | select: function (spec, wrap) { let index = Tabs.indexFromSpec(spec, wrap); // FIXME: if (index == -1) dactyl.beep(); else config.tabbrowser.mTabContainer.selectedIndex = index; }, |
select: function(element, value) { if (Object.isUndefined(value)) return this[element.type == 'select-one' ? 'selectOne' : 'selectMany'](element); else { var opt, currentValue, single = !Object.isArray(value); for (var i = 0, length = element.length; i < length; i++) { opt = element.options[i]; currentValue = this.opti... | 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(... | select: function(element, value) { if (Object.isUndefined(value)) return this[element.type == 'select-one' ? 'selectOne' : 'selectMany'](element); else { var opt, currentValue, single = !Object.isArray(value); for (var i = 0, length = element.length; i < length; i++) { opt = element... |
if(select && (getCurrentPane() == "input" || getCurrentPane() == "multiinput")) { | if(select && isEditMode()) { | function selectAirport(apid, select, quick, code) { var found = false; for(var ap = 0; ap < airportLayer.features.length; ap++) { attrstack = new Array(); if(airportLayer.features[ap].cluster) { for(var c = 0; c < airportLayer.features[ap].cluster.length; c++) { attrstack.push(airportLayer.features[ap].clu... |
let index = tabs.index(tabs.alternate); dactyl.assert(index >= 0, "E86: Buffer does not exist"); | selectAlternateTab: function () { dactyl.assert(tabs.alternate != null && tabs.getTab() != tabs.alternate, "E23: No alternate page"); // NOTE: this currently relies on v.tabs.index() returning the // currently selected tab index when passed null let index = tabs.index(tabs.alt... | |
tabs.select(index); | tabs.select(tabs.alternate); | selectAlternateTab: function () { dactyl.assert(tabs.alternate != null && tabs.getTab() != tabs.alternate, "E23: No alternate page"); // NOTE: this currently relies on v.tabs.index() returning the // currently selected tab index when passed null let index = tabs.index(tabs.alt... |
selectedText: function () { let text = Editor.getEditor().value; return text.substring(Editor.getEditor().selectionStart, Editor.getEditor().selectionEnd); }, | selectedText: function () String(Editor.getEditor(null).selection), | selectedText: function () { let text = Editor.getEditor().value; return text.substring(Editor.getEditor().selectionStart, Editor.getEditor().selectionEnd); }, |
isBR(a);)a=a.nextSibling;if(!a)return false;return Math.floor((window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight)/a.offsetHeight)},selectLines:function(a,b,d,f){this.checkLine(a);a={node:a,offset:b};b=null;if(f!==undefined){this.checkLine(d);b={node:d,offset:f}}select.setCursorPos(th... | lineContent:function(a){return this.editor.lineContent(a)},setLineContent:function(a,b){this.editor.setLineContent(a,b)},removeLine:function(a){this.editor.removeLine(a)},insertIntoLine:function(a,b,c){this.editor.insertIntoLine(a,b,c)},selectLines:function(a,b,c,e){this.win.focus();this.editor.selectLines(a,b,c,e)},nt... | isBR(a);)a=a.nextSibling;if(!a)return false;return Math.floor((window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight)/a.offsetHeight)},selectLines:function(a,b,d,f){this.checkLine(a);a={node:a,offset:b};b=null;if(f!==undefined){this.checkLine(d);b={node:d,offset:f}}select.setCursorPos(th... |
selectMany: function(element) { var values, length = element.length; if (!length) return null; for (var i = 0, values = []; i < length; i++) { var opt = element.options[i]; if (opt.selected) values.push(this.optionValue(opt)); } return values; }, | 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(... | selectMany: function(element) { var values, length = element.length; if (!length) return null; for (var i = 0, values = []; i < length; i++) { var opt = element.options[i]; if (opt.selected) values.push(this.optionValue(opt)); } return values; }, |
selectOne: function(element) { var index = element.selectedIndex; return index >= 0 ? this.optionValue(element.options[index]) : 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(... | selectOne: function(element) { var index = element.selectedIndex; return index >= 0 ? this.optionValue(element.options[index]) : null; }, |
if (!(this.readyState in Set('writeOnly', 'open'))) { | if (!validReadyStates.contains(this.readyState)) { | this.send = function (data, encoding) { if (!(this.readyState in Set('writeOnly', 'open'))) { // XXX make error type for this throw new Error("Socket is not writable in readyState: " + this.readyState); }; encoding = encoding || 'binary'; // default to 'binary' assert(encoding in known_encodings, 'unrecognized... |
assert(encoding in known_encodings, 'unrecognized encoding'); | assert(validEncodings.contains(encoding), 'unrecognized encoding'); | this.send = function (data, encoding) { if (!(this.readyState in Set('writeOnly', 'open'))) { // XXX make error type for this throw new Error("Socket is not writable in readyState: " + this.readyState); }; encoding = encoding || 'binary'; // default to 'binary' assert(encoding in known_encodings, 'unrecognized... |
var xhrFlow = new PAGESPEED.ParallelXhrFlow(); xhrFlow.addRequest('GET', beaconUrl, beaconParams, '', null, function() { PS_LOG('Minimal beacon failed to send results.'); }); xhrFlow.sendRequests(); | var beaconImg = new Image(); beaconImg.src = beaconUrl + '?' + beaconParams; | PAGESPEED.MinimalBeacon.prototype.sendBeacon = function( resultsContainer, checkAutorunPref) { if (!this.beaconTraits_.isBeaconEnabled(checkAutorunPref)) { PS_LOG('Minimal beacon is not enabled.'); return false; } var beaconUrl = this.beaconTraits_.getBeaconUrl(); if (!beaconUrl) { // Error already logg... |
if (action === 'touchStart') { if (!target.get("acceptsMultitouch")) { if (evt.isFirstTouch) { if (target.tryToPerform("touchStart", evt)) break; } | if (action === 'touchStart' && !target.get("acceptsMultitouch")) { if (evt.isFirstTouch) { if (target.tryToPerform("touchStart", evt)) break; | sendEvent: function(action, evt, target) { var handler; // walk up the responder chain looking for a method to handle the event if (!target) target = this.get('firstResponder') ; while(target) { if (action === 'touchStart') { if (!target.get("acceptsMultitouch")) { if (evt.isFirst... |
} else if (action === 'touchEnd') { if (!target.get("acceptsMultitouch")) { if (evt.isLastTouch) { if (target.tryToPerform("touchEnd", evt)) break; } | } else if (action === 'touchEnd' && !target.get("acceptsMultitouch")) { if (evt.isLastTouch) { if (target.tryToPerform("touchEnd", evt)) break; | sendEvent: function(action, evt, target) { var handler; // walk up the responder chain looking for a method to handle the event if (!target) target = this.get('firstResponder') ; while(target) { if (action === 'touchStart') { if (!target.get("acceptsMultitouch")) { if (evt.isFirst... |
if (action === 'touchStart' && !target.get("acceptsMultitouch")) { if (!target.get("hasTouch")) { | if (action === 'touchStart') { if (evt.touchResponder === target) { target = null; break; } if (!target.get("hasTouch") || target.get("acceptsMultitouch")) { | sendEvent: function(action, evt, target) { var handler; // walk up the responder chain looking for a method to handle the event if (!target) target = this.get('firstResponder') ; while(target) { if (action === 'touchStart' && !target.get("acceptsMultitouch")) { if (!target.get("hasTouch"))... |
"' to='4@dev.speeqe.com/3' id='1'><x xmlns='jabber:x:event'><composing/></x></message>"]; var estanza = $(kick_message_ar.join("")); var body_elem = document.createElement("body"); var body_text = document.createTextNode(error_message); body_elem.appendChild(body_text); estanza.append(body_elem); | "' to='4@dev.speeqe.com/3' id='1'><x xmlns='jabber:x:event'><composing/></x><body>",kick_message_ar.join(""),"</body></message>"]; var estanza = Speeqe.text_to_xml(kick_message_ar.join("")); | sendMessage: function(text) { if (this._chat) { //test for valid /me message textm = text.replace(/\s/g,""); if(textm != "/me") { this._chat.sendMessage(text); } else { //create stanza for error message var error_message = "Error: Must send more than just /me."; var kick_message... |
debug('SEND STATIC', path, response) | logger.debug('SEND STATIC', path, response) | var sendStatic = function (path, response) { debug('SEND STATIC', path, response) staticFile('./' + path.join('/')) // defined in util.js .addCallback(function(content){ response.sendHeader(200, {'Content-Type' : 'text/plain', 'Content-Length' : content.length}); response.sendBody(content); r... |
if(!view) debugger; | sendToDOMPool: function(view, background) { //console.log("sending to pool", view.contentIndex, background); var exampleView = view.createdFromExampleView, pool = this.domPoolForExampleView(exampleView), last, curShowing = this._curShowing; if(background) { // if it is being backgroun... | |
if(!view) debugger; | if(!view) "cannot pool null view"; | sendToDOMPool: function(view, background) { if(!view) debugger; //console.log("sending to pool", view.contentIndex, background); var exampleView = view.createdFromExampleView, pool = this.domPoolForExampleView(exampleView), curShowing = this._curShowing; if(background) { // if it is b... |
var index = view.contentIndex, frame, | var index = view.contentIndex, height, rowSpacing, rowPadding, | sendToOffscreenDOMPool: function(view) { var index = view.contentIndex, frame, pool = this.domPoolForExampleView(view.createdFromExampleView); //console.log("sending offscreen " + view.content.get('fullName')); // it is no longer rendering an index, only an item, so remove it from the index map bu... |
frame = view.get("frame"); view.adjust({ top: -frame.height - this.get('rowSpacing')}); | height = view.get("frame").height; if(rowSpacing = this.get('rowSpacing')) height += rowSpacing; if(rowPadding = this.get('rowPadding')) height += rowPadding * 2; view.adjust({ top: -height}); | sendToOffscreenDOMPool: function(view) { var index = view.contentIndex, frame, pool = this.domPoolForExampleView(view.createdFromExampleView); //console.log("sending offscreen " + view.content.get('fullName')); // it is no longer rendering an index, only an item, so remove it from the index map bu... |
serialize: function () [ { command: this.name, literalArg: [opt.type == "boolean" ? (opt.value ? "" : "no") + opt.name : opt.name + "=" + opt.value] } for (opt in options) if (!opt.getter && opt.value !== opt.defaultValue && (opt.scope & Option.SCOPE_GLOBAL)) ] } | serialize: function () [ { command: this.name, bang: true, options: array.toObject( [[v, typeof cmd[k] == "boolean" ? null : cmd[k]] for ([k, v] in Iterator({ argCount: "-nargs", bang: "-bang", count: "-count", description: "-description" })) if (k in cmd && cmd[k] != "0" && cmd[k] != "User-defined command")]), argum... | serialize: function () [ { command: this.name, literalArg: [opt.type == "boolean" ? (opt.value ? "" : "no") + opt.name : opt.name + "=" + opt.value] ... |
serialize: function(element) { element = $(element); if (!element.disabled && element.name) { var value = element.getValue(); if (value != undefined) { var pair = { }; pair[element.name] = value; return Object.toQueryString(pair); } } 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(... | serialize: function(element) { element = $(element); if (!element.disabled && element.name) { var value = element.getValue(); if (value != undefined) { var pair = { }; pair[element.name] = value; return Object.toQueryString(pair); } } return ''; }, |
serializeElements: function(elements, options) { if (typeof options != 'object') options = { hash: !!options }; else if (Object.isUndefined(options.hash)) options.hash = true; var key, value, submitted = false, submit = options.submit; var data = elements.inject({ }, function(result, element) { if (!element.disabled &... | 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(... | serializeElements: function(elements, options) { if (typeof options != 'object') options = { hash: !!options }; else if (Object.isUndefined(options.hash)) options.hash = true; var key, value, submitted = false, submit = options.submit; var data = elements.inject({ }, function(result, element) { if (!... |
this.refresh = function(){ store.reload(); } | WakameGUI.Service = function(){ var sm = new Ext.grid.RowSelectionModel({singleSelect:true}); var store = new Ext.data.SimpleStore({ fields: [ { name: 'wmi-id' }, { name: 'name' }, { name: 'owner-id' }, { name: 'visibility' }, { name: 'architecture' } ], data:[ [ 'WK-2009', 'Blo... | |
console.log("START"); | function Services(){ var container = $('container'); var self = this; this.all = []; var configs = Config['services'] || {}; background.Models.values.forEach(function(model){ if(!model.check) return; var row = [model.name]; row.icon = model.ICON; row.link = model.LINK; var config = configs[model.nam... | |
console.log("END"); | function Services(){ var container = $('container'); var self = this; this.all = []; var configs = Config['services'] || {}; background.Models.values.forEach(function(model){ if(!model.check) return; var row = [model.name]; row.icon = model.ICON; row.link = model.LINK; var config = configs[model.nam... | |
set: function (val) { if (val != null && !isArray(val)) val = [obj.defaultGroup || "", val]; obj.value = val; [this.commandbar, this.statusbar].forEach(function (nodeSet) { let elem = nodeSet[obj.name]; if (val != null) { highlight.highlightNode(elem, (val[0] != null ? val[0] : obj.defaultGroup) .split(/\s/).filter(ut... | set: function (value) { this.widgets.mowContainer.collapsed = !value; } | set: function (val) { if (val != null && !isArray(val)) val = [obj.defaultGroup || "", val]; obj.value = val; [this.commandbar, this.statusbar].forEach(function (nodeSet) { let elem = nodeSet[obj.name]... |
set: function (val) { modes.save(id, this, prop); if (desc.set) value = desc.set.call(this, val); value = !desc.set || value === undefined ? val : value; } | set extended(value) { this.set(null, value); } | set: function (val) { modes.save(id, this, prop); if (desc.set) value = desc.set.call(this, val); value = !desc.set || value === undefined ? val : value; } |
if (mainMode != null && !(stack && stack.pop)) this._modeStack.push([this._main, this._extended, {}]); | set: function (mainMode, extendedMode, silent, stack) { silent = (silent || this._main == mainMode && this._extended == extendedMode); // if a this._main mode is set, the this._extended is always cleared let oldMain = this._main, oldExtended = this._extended; if (typeof extendedMode === ... | |
set: function(name, value, expires, path, domain, secure, httponly) { var result = ''; if (value == undefined || (value instanceof String && !value)) { var expires = new Date(); expires.setTime((new Date()).getTime() - (12 * 30 * 24 * 60 * 60 * 1000)); result = name + '=deleted; expires=' + expires.toUTCString(); } el... | var opCookie={set:function(name,value,expires,path,domain,secure,httponly) {var result='';if(value==undefined||(value instanceof String&&!value)) {var expires=new Date();expires.setTime((new Date()).getTime()-(12*30*24*60*60*1000));result=name+'=deleted; expires='+expires.toUTCString();} else {if(!expires||!(expires in... | set: function(name, value, expires, path, domain, secure, httponly) { var result = ''; if (value == undefined || (value instanceof String && !value)) // deletes cookie { var expires = new Date(); expires.setTime((new Date()).getTime() - (12 * 30 * 24 * 60 * 60 * 1000)); // 1 year result = n... |
set: function (mainMode, extendedMode, silent, stack) { | set: function (mainMode, extendedMode, params, stack) { params = params || {}; | set: function (mainMode, extendedMode, silent, stack) { if (!stack && mainMode != null) this._modeStack = []; let push = mainMode != null && !(stack && stack.pop); if (push && this.topOfStack) for (let [id, { obj, prop }] in Iterator(this.boundProperties)) { ... |
this._modeStack = []; | this.reset(); | set: function (mainMode, extendedMode, silent, stack) { if (!stack && mainMode != null) this._modeStack = []; let push = mainMode != null && !(stack && stack.pop); if (push && this.topOfStack) for (let [id, { obj, prop }] in Iterator(this.boundProperties)) { ... |
let push = mainMode != null && !(stack && stack.pop); if (push && this.topOfStack) | let push = mainMode != null && !(stack && stack.pop) && Modes.StackElem(mainMode, extendedMode || this.NONE, params, {}); if (push && this.topOfStack) { if (this.topOfStack.params.save) this.topOfStack.params.save(push); | set: function (mainMode, extendedMode, silent, stack) { if (!stack && mainMode != null) this._modeStack = []; let push = mainMode != null && !(stack && stack.pop); if (push && this.topOfStack) for (let [id, { obj, prop }] in Iterator(this.boundProperties)) { ... |
this.topOfStack[2][id] = { obj: obj.get(), prop: prop, value: obj.get()[prop] }; | this.topOfStack.saved[id] = { obj: obj.get(), prop: prop, value: obj.get()[prop] }; | set: function (mainMode, extendedMode, silent, stack) { if (!stack && mainMode != null) this._modeStack = []; let push = mainMode != null && !(stack && stack.pop); if (push && this.topOfStack) for (let [id, { obj, prop }] in Iterator(this.boundProperties)) { ... |
silent = (silent || this._main == mainMode && this._extended == extendedMode); | let silent = this._main === mainMode && this._extended === extendedMode; | set: function (mainMode, extendedMode, silent, stack) { if (!stack && mainMode != null) this._modeStack = []; let push = mainMode != null && !(stack && stack.pop); if (push && this.topOfStack) for (let [id, { obj, prop }] in Iterator(this.boundProperties)) { ... |
this._extended = modes.NONE; | this._extended = this.NONE; } | set: function (mainMode, extendedMode, silent, stack) { if (!stack && mainMode != null) this._modeStack = []; let push = mainMode != null && !(stack && stack.pop); if (push && this.topOfStack) for (let [id, { obj, prop }] in Iterator(this.boundProperties)) { ... |
if (this._main != oldMain) this._handleModeChange(oldMain, mainMode, oldExtended); } if (mainMode != null && !(stack && stack.pop)) this._modeStack.push([this._main, this._extended, {}]); | if (push) this._modeStack.push(push); | set: function (mainMode, extendedMode, silent, stack) { if (!stack && mainMode != null) this._modeStack = []; let push = mainMode != null && !(stack && stack.pop); if (push && this.topOfStack) for (let [id, { obj, prop }] in Iterator(this.boundProperties)) { ... |
set: function(className) { this.element.className = className; }, | 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(... | set: function(className) { this.element.className = className; }, |
if (!stack && mainMode != null) | if (!stack && mainMode != null && this._modeStack.length > 1) | set: function (mainMode, extendedMode, params, stack) { params = params || {}; if (!stack && mainMode != null) this.reset(); let push = mainMode != null && !(stack && stack.pop) && Modes.StackElem(mainMode, extendedMode || this.NONE, params, {}); if (push && this.to... |
var obj = {}; | let obj = {}; | function set(ary) { var obj = {}; if (ary) for (var i = 0; i < ary.length; i++) obj[ary[i]] = true; return obj;} |
set fullZoom(value) { Buffer.setZoom(value, true); }, | set focusedWindow(win) { try{ if (win === this.focusedWindow) return; if (win.frames.length) { let html = win.document.documentElement; let selection = win.getSelection(); let ranges = let(it = (function () {for (let i in util.range(0, selection.rangeCount)) yield selection.getRangeAt(i);})()) [r for(r in it)]; htm... | set fullZoom(value) { Buffer.setZoom(value, true); }, |
dir.normalize(); | set cwd(newDir) { newDir = newDir || "~"; if (newDir == "-") { dactyl.assert(this._oldcwd != null, "E186: No previous directory"); [this._cwd, this._oldcwd] = [this._oldcwd, this.cwd]; } else { let dir = io.File(newDir); dactyl.assert(dir.exist... | |
return attrs; | setAttributes: function(index, attrs) { var del = this.get('contentDelegate'), content = this.get("content"), item = content.objectAt(index), isGroupView = this.contentIndexIsGroup(index), ExampleView = this.exampleViewForIndex(index); // // FIGURE OUT "NORMAL" ATTRIBUTES // a... | |
this.setCachedSrc = function(filePath, src) { sourceCache[filePath] = { filePath: filePath, src: src }; } | this.setCachedSrc = function(path, src) { sourceCache[path] = { path: path, src: src }; } | this.setCachedSrc = function(filePath, src) { sourceCache[filePath] = { filePath: filePath, src: src }; } |
this.setCachedSrc = function(pkg, filePath, src) { sourceCache[pkg] = { filePath: filePath, src: src }; } | this.setCachedSrc = function(filePath, src) { sourceCache[filePath] = { filePath: filePath, src: src }; } | this.setCachedSrc = function(pkg, filePath, src) { sourceCache[pkg] = { filePath: filePath, src: src }; } |
setClass: function(classNames, classNameIsOn) { | setClass: function(classNames, shouldBePresent) { if (shouldBePresent !== undefined) { if (shouldBePresent) this.addClass(classNames); else this.removeClass(classNames); return; } | setClass: function(classNames, classNameIsOn) { // class names may be a CoreSet, array, string, or hash if (classNames) { if (SC.typeOf(classNames) === SC.T_HASH && !classNames.isSet) { for (className in classNames) { if (classNames[className]) this.classNames.add(className); else ... |
return this; | setClass: function(classNames, classNameIsOn) { // class names may be a CoreSet, array, string, or hash if (classNames) { if (SC.typeOf(classNames) === SC.T_HASH && !classNames.isSet) { for (className in classNames) { if (classNames[className]) this.classNames.add(className); else ... | |
return completer.call(this, context, obj, args); | return completer.call(obj, context, obj, args); | setCompleter: function (funcs, completers) { funcs = Array.concat(funcs); for (let [, func] in Iterator(funcs)) { func.liberatorCompleter = function (context, func, obj, args) { let completer = completers[args.length - 1]; if (!completer) ret... |
asynchronous: false, | var setContent = function(strContainer, strURL, strMethod) { // fill the lastAJAXcontainer global var lastAJAXcontainer = strContainer; // fill the lastAJAXurl global var ajaxURLhistory[urlNum] = strURL urlNum++; var ajaxParams = ''; var isEvalScript = false; if (arguments[3] != undefined) { ... | |
onComplete: hideLoading | onComplete: hideLoading, requestHeaders: {'Pragma': 'no-cache', 'Cache-Control': 'no-store, no-cache, must-revalidate, post-check=0, pre-check=0', 'Expires': 'Sat, 26 Jul 1997 05:00:00 GMT'} | var setContent = function(strContainer, strURL, strMethod){ // fill the lastAJAXcontainer global var lastAJAXcontainer = strContainer; // fill the lastAJAXurl global var ajaxURLhistory[urlNum] = strURL urlNum++; var ajaxParams = ''; var isEvalScript = false; if (arguments[3] != undefined) { ... |
return self.getCurrentDirectory(); | return this.getCurrentDirectory(); | setCurrentDirectory: function (newDir) { newDir = newDir || "~"; if (newDir == "-") [this._cwd, this._oldcwd] = [this._oldcwd, this.getCurrentDirectory()]; else { let dir = io.File(newDir); if (!dir.exists() || !dir.isDirectory()) { dactyl.echoerr... |
dactyl.echoerr("E344: Can't find directory \"" + dir.path + "\" in path"); | dactyl.echoerr("E344: Can't find directory " + dir.path.quote()); | setCurrentDirectory: function (newDir) { newDir = newDir || "~"; if (newDir == "-") [this._cwd, this._oldcwd] = [this._oldcwd, this.getCurrentDirectory()]; else { let dir = File(newDir); if (!dir.exists() || !dir.isDirectory()) { dactyl.echoerr("E... |
var row = this.element.find('tr').length-1; | var row = this.maxrow || 10; | setData:function(json){ if(!json){ json = this.getEmptyData() } var row = this.element.find('tr').length-1; var data = { rows:DcmgrGUI.Util.setfillData(row,json) }; this.element.html(''); if(data.rows){ $( this.template ) .tmpl( data ) .appendTo( this.element ); ... |
json = this.getEmptyData() | rows = this.getEmptyData() }else{ $.each(json,function(key,value){ rows.push(value.result) }); | setData:function(json){ if(!json){ json = this.getEmptyData() } var row = this.maxrow || 10; var data = { rows:DcmgrGUI.Util.setfillData(row,json) }; this.element.html(''); if(data.rows){ $( this.template ) .tmpl( data ) .appendTo( this.element ); } }, |
rows:DcmgrGUI.Util.setfillData(row,json) | rows:DcmgrGUI.Util.setfillData(row,rows) | setData:function(json){ if(!json){ json = this.getEmptyData() } var row = this.maxrow || 10; var data = { rows:DcmgrGUI.Util.setfillData(row,json) }; this.element.html(''); if(data.rows){ $( this.template ) .tmpl( data ) .appendTo( this.element ); } }, |
.get('TmpD', Ci.nsIFile); | .get('TmpD', Components.interfaces.nsIFile); | setDefaultOutputDir: function() { // Do nothing if the pref exists and has a non-empty value. if (PAGESPEED.Utils.getFilePref(OPTIMIZED_FILE_BASE_DIR)) return; // Get the system temp directory. var tmpDir = PAGESPEED.Utils.CCSV( '@mozilla.org/file/directory_service;1', 'nsIProperties') ... |
true),M=g.addEventHandler(g,"resize",L,true);w=function(){G&&clearTimeout(G);if(r.updateNumbers==L)r.updateNumbers=null;F();M()}}var f=this.frame,g=f.contentWindow,h=g.document,j=h.body,l=this.lineNumbers,m=l.firstChild,r=this,u=null,w=function(){};e();var x=setInterval(e,500);(this.options.textWrapping||this.options.s... | true),K=f.addEventHandler(f,"resize",w,true);x=function(){u&&clearTimeout(u);if(k.updateNumbers==w)k.updateNumbers=null;J();K()}}var d=this.frame,f=d.contentWindow,m=f.document,p=m.body,i=this.lineNumbers,j=i.firstChild,k=this,y=null,x=function(){};a();var I=setInterval(a,500);(this.options.textWrapping||this.options.s... | true),M=g.addEventHandler(g,"resize",L,true);w=function(){G&&clearTimeout(G);if(r.updateNumbers==L)r.updateNumbers=null;F();M()}}var f=this.frame,g=f.contentWindow,h=g.document,j=h.body,l=this.lineNumbers,m=l.firstChild,r=this,u=null,w=function(){};e();var x=setInterval(e,500);(this.options.textWrapping||this.options.s... |
assert(encoding in known_encodings, 'unrecognized encoding'); | assert(validEncodings.contains(encoding), 'unrecognized encoding'); | this.setEncoding = function (encoding) { assert(encoding in known_encodings, 'unrecognized encoding'); if (encoding !== 'utf8') { assert(!(this._utf8buffer), 'cannot switch encodings with dirty utf8 buffer'); }; this._encoding = encoding; }; |
h;this.win.document.getElementsByTagName("head")[0].appendChild(f)}}},setTextWrapping:function(e){if(e!=this.options.textWrapping){this.win.document.body.style.whiteSpace=e?"":"nowrap";this.options.textWrapping=e;if(this.lineNumbers){this.setLineNumbers(false);this.setLineNumbers(true)}}},setIndentUnit:function(e){this... | m;this.win.document.getElementsByTagName("head")[0].appendChild(d)}}},setTextWrapping:function(a){if(a!=this.options.textWrapping){this.win.document.body.style.whiteSpace=a?"":"nowrap";this.options.textWrapping=a;if(this.lineNumbers){this.setLineNumbers(false);this.setLineNumbers(true)}}},setIndentUnit:function(a){this... | h;this.win.document.getElementsByTagName("head")[0].appendChild(f)}}},setTextWrapping:function(e){if(e!=this.options.textWrapping){this.win.document.body.style.whiteSpace=e?"":"nowrap";this.options.textWrapping=e;if(this.lineNumbers){this.setLineNumbers(false);this.setLineNumbers(true)}}},setIndentUnit:function(e){this... |
this.setEnv = function(env) { if(ENV && (env == ENV || env == ENV.name)) { return; } if(typeof env == 'string') { switch(env) { | this.setEnv = function(envCtor) { if(typeof envCtor == 'string') { switch(envCtor) { | this.setEnv = function(env) { if(ENV && (env == ENV || env == ENV.name)) { return; } if(typeof env == 'string') { switch(env) { case 'node': ENV = new ENV_node(); break; case 'browser': default: ENV = new ENV_browser(); break; } } else { ENV = env; } jsio.__env = ENV... |
ENV = new ENV_node(); | ENV = new ENV_node(util); | this.setEnv = function(env) { if(ENV && (env == ENV || env == ENV.name)) { return; } if(typeof env == 'string') { switch(env) { case 'node': ENV = new ENV_node(); break; case 'browser': default: ENV = new ENV_browser(); break; } } else { ENV = env; } jsio.__env = ENV... |
ENV = new ENV_browser(); | ENV = new ENV_browser(util); | this.setEnv = function(env) { if(ENV && (env == ENV || env == ENV.name)) { return; } if(typeof env == 'string') { switch(env) { case 'node': ENV = new ENV_node(); break; case 'browser': default: ENV = new ENV_browser(); break; } } else { ENV = env; } jsio.__env = ENV... |
ENV = env; | ENV = new envCtor(util); | this.setEnv = function(env) { if(ENV && (env == ENV || env == ENV.name)) { return; } if(typeof env == 'string') { switch(env) { case 'node': ENV = new ENV_node(); break; case 'browser': default: ENV = new ENV_browser(); break; } } else { ENV = env; } jsio.__env = ENV... |
jsio.__env = ENV; jsio.__dir = ENV.getCwd(); if(!jsio.__path.__default__.length) { jsio.setPath(ENV.getPath()); } | this.__env = ENV; this.__dir = ENV.getCwd(); this.setPath(ENV.getPath()); | this.setEnv = function(env) { if(ENV && (env == ENV || env == ENV.name)) { return; } if(typeof env == 'string') { switch(env) { case 'node': ENV = new ENV_node(); break; case 'browser': default: ENV = new ENV_browser(); break; } } else { ENV = env; } jsio.__env = ENV... |
if(!jsio.path.__default__.length) { jsio.setPath(ENV.getPath()); } | if(!jsio.__path.__default__.length) { jsio.setPath(ENV.getPath()); } | this.setEnv = function(env) { if(ENV && (env == ENV || env == ENV.name)) { return; } if(typeof env == 'string') { switch(env) { case 'node': ENV = new ENV_node(); break; case 'browser': default: ENV = new ENV_browser(); break; } } else { ENV = env; } jsio.__env = ENV... |
Ci.nsILocalFile, | Components.interfaces.nsILocalFile, | setFilePref: function(prefName, file) { var pageSpeedPrefs = PAGESPEED.Utils.getPrefs(); pageSpeedPrefs.setComplexValue(prefName, Ci.nsILocalFile, file); }, |
h;this.win.document.getElementsByTagName("head")[0].appendChild(f)}}},setTextWrapping:function(e){if(e!=this.options.textWrapping){this.win.document.body.style.whiteSpace=e?"":"nowrap";this.options.textWrapping=e;if(this.lineNumbers){this.setLineNumbers(false);this.setLineNumbers(true)}}},setIndentUnit:function(e){this... | m;this.win.document.getElementsByTagName("head")[0].appendChild(d)}}},setTextWrapping:function(a){if(a!=this.options.textWrapping){this.win.document.body.style.whiteSpace=a?"":"nowrap";this.options.textWrapping=a;if(this.lineNumbers){this.setLineNumbers(false);this.setLineNumbers(true)}}},setIndentUnit:function(a){this... | h;this.win.document.getElementsByTagName("head")[0].appendChild(f)}}},setTextWrapping:function(e){if(e!=this.options.textWrapping){this.win.document.body.style.whiteSpace=e?"":"nowrap";this.options.textWrapping=e;if(this.lineNumbers){this.setLineNumbers(false);this.setLineNumbers(true)}}},setIndentUnit:function(e){this... |
if (cellStylist) { setupList(0, aIndex); } | function setListBoxSelection(aIndex) { let currentIndex; let currentRow; if (beforeSelection || afterSelection) { if (selectorStatus === SELECTOR_STATE_CANDIDATES) { currentIndex = wholeListIndex; currentRow = whole... | |
Element.Methods.setOpacity = function(element, value) { element = $(element); element.style.opacity = (value == 1 || value === '') ? '' : (value < 0.00001) ? 0 : value; if (value == 1) if(element.tagName.toUpperCase() == 'IMG' && element.width) { element.width++; element.width--; } else try { var n = document.createTe... | 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.setOpacity = function(element, value) { element = $(element); element.style.opacity = (value == 1 || value === '') ? '' : (value < 0.00001) ? 0 : value; if (value == 1) if(element.tagName.toUpperCase() == 'IMG' && element.width) { element.width++; element.width--; } else... |
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... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.