rem
stringlengths
0
126k
add
stringlengths
0
441k
context
stringlengths
15
136k
optionElements[i].element.value = options[j].value;
if (options[j].name == "hAxis.title" || options[j].name == "vAxis.title") { var wireType = xsdTypeToWireType(options[j].dataType); var columns = columnsByWireType(wireType); }
function initOptions(visType, optionElements, options){//alert(options.toSource()); for (var i in optionElements) for (var j in options) if (optionElements[i].optionType == options[j].type) //alert(optionElements[i].toSource()); //alert(options[j].toSource()); optionElements[i].element.value = options[j].valu...
var suffix = text.substr(word.caret); var delimiter = (terminate && suffix.charAt(0) != this.delimiter)? this.delimiter : '';
var suffix = text.substring(word.caret); var delimiter = (terminate && suffix[0] !== this.delimiter)? this.delimiter : '';
injectCandidates: function(cand, terminate, notify){ notify = (notify===undefined)? terminate : notify; var text = this.tags.value; var word = this.getCurrentWord(); var suffix = text.substr(word.caret); var delimiter = (terminate && suffix.charAt(0) != this.delimiter)? this.delimiter : ''; this.tag...
this.$label().css("opacity", this._oldOpacity);
inlineEditorDidEndEditing: function(inlineEditor, finalValue) { this.set('isEditing', NO) ; var content = this.get('content') ; var del = this.displayDelegate ; var labelKey = this.getDelegateProperty('contentValueKey', del) ; if (labelKey && content && content.set) { content.set(labelKey, fina...
inlineEditorShouldBeginEditing: function(inlineEditor, finalValue) {
inlineEditorShouldBeginEditing: function(inlineEditor) {
inlineEditorShouldBeginEditing: function(inlineEditor, finalValue) { return YES ; },
input: function(element, value) { switch (element.type.toLowerCase()) { case 'checkbox': case 'radio': return Form.Element.Serializers.inputSelector(element, value); default: return Form.Element.Serializers.textarea(element, value); } },
var Prototype={Version:"1.6.1",Browser:(function(){var b=navigator.userAgent;var a=Object.prototype.toString.call(window.opera)=="[object Opera]";return{IE:!!window.attachEvent&&!a,Opera:a,WebKit:b.indexOf("AppleWebKit/")>-1,Gecko:b.indexOf("Gecko")>-1&&b.indexOf("KHTML")===-1,MobileSafari:/Apple.*Mobile.*Safari/.test(...
input: function(element, value) { switch (element.type.toLowerCase()) { case 'checkbox': case 'radio': return Form.Element.Serializers.inputSelector(element, value); default: return Form.Element.Serializers.textarea(element, value); } },
initialinput : aInit,
initialInput : aInit,
function inputPost(aInit) { aInit = aInit || ""; prompt.reader( { message : "add bookmark:", onChange : remainTextLengthWatcher, initialinput : aInit, cursorEnd : aInit.length, callback : function pos...
message : content.document.title
message : title
function inputPost(aInit) { aInit = aInit || ""; prompt.reader( { message : "add bookmark:", onChange : remainTextLengthWatcher, initialinput : aInit, cursorEnd : aInit.length, callback : function pos...
window.alert('error');
display.echoStatusBar(M({ja: "はてなブックマークの追加に失敗しました", en: "Failed to add hatena bookmark"}), 3000);
function inputPost(aInit) { aInit = aInit || ""; prompt.reader( { message : "add bookmark:", onChange : remainTextLengthWatcher, initialinput : aInit, cursorEnd : aInit.length, callback : function pos...
inputSelector: function(element, value) { if (Object.isUndefined(value)) return element.checked ? element.value : null; else element.checked = !!value; },
var Prototype={Version:"1.6.1",Browser:(function(){var b=navigator.userAgent;var a=Object.prototype.toString.call(window.opera)=="[object Opera]";return{IE:!!window.attachEvent&&!a,Opera:a,WebKit:b.indexOf("AppleWebKit/")>-1,Gecko:b.indexOf("Gecko")>-1&&b.indexOf("KHTML")===-1,MobileSafari:/Apple.*Mobile.*Safari/.test(...
inputSelector: function(element, value) { if (Object.isUndefined(value)) return element.checked ? element.value : null; else element.checked = !!value; },
completer : prompt.completer.match.migemo(filteredTags),
completer : prompt.completer.matcher.migemo(filteredTags),
function inputTag() { prompt.reader( { message : "tag: ", completer : prompt.completer.match.migemo(filteredTags), callback : function (tag) { inputPost(tagsToMsg(tag)); } } ); }
insert: function(element, insertions) { element = $(element); if (Object.isString(insertions) || Object.isNumber(insertions) || Object.isElement(insertions) || (insertions && (insertions.toElement || insertions.toHTML))) insertions = {bottom:insertions}; var content, insert, tagName, childNodes; for (var position in...
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(...
insert: function(element, insertions) { element = $(element); if (Object.isString(insertions) || Object.isNumber(insertions) || Object.isElement(insertions) || (insertions && (insertions.toElement || insertions.toHTML))) insertions = {bottom:insertions}; var content, insert, tagName, childNod...
if(!next) debugger;
insertBetween: function(item, prev, next) { prev._next = item; item._prev = prev; next._prev = item; item._next = next; this.length++; return item; },
return cleanText(b.join(""))},setLineContent:function(a,b){this.history.commit();this.replaceRange({node:a,offset:0},{node:a,offset:this.history.textAfter(a).length},b);this.addDirtyNode(a);this.scheduleHighlight()},removeLine:function(a){for(var b=a?a.nextSibling:this.container.firstChild;b;){var d=b.nextSibling;remov...
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...
return cleanText(b.join(""))},setLineContent:function(a,b){this.history.commit();this.replaceRange({node:a,offset:0},{node:a,offset:this.history.textAfter(a).length},b);this.addDirtyNode(a);this.scheduleHighlight()},removeLine:function(a){for(var b=a?a.nextSibling:this.container.firstChild;b;){var d=b.nextSibling;remov...
inspect: function() { return "#<Selector:" + this.expression.inspect() + ">"; }
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(...
inspect: function() { return "#<Selector:" + this.expression.inspect() + ">"; }
function install(data, reason) { dump("dactyl: bootstrap: install " + reasonToString(reason) + "\n") }
function install(data, reason) { dump("dactyl: bootstrap: install " + reasonToString(reason) + "\n"); }
function install(data, reason) { dump("dactyl: bootstrap: install " + reasonToString(reason) + "\n") }
function installPageLoadTimerOnTab(event) {
function installPageLoadTimerOnTab(event, opt_couldHaveMissedStart) {
function installPageLoadTimerOnTab(event) { // browser is the XUL element of the browser that's been added. var browserTab = event.target.linkedBrowser; if (browserTab.pagespeed_ && browserTab.pagespeed_.pageLoadTimer) { // Already installed. This should not happen. PS_LOG('Bug in page load timer: Install fun...
var plt = new PAGESPEED.PageLoadTimer();
var plt = new PAGESPEED.PageLoadTimer(!!opt_couldHaveMissedStart);
function installPageLoadTimerOnTab(event) { // browser is the XUL element of the browser that's been added. var browserTab = event.target.linkedBrowser; if (browserTab.pagespeed_ && browserTab.pagespeed_.pageLoadTimer) { // Already installed. This should not happen. PS_LOG('Bug in page load timer: Install fun...
installPageLoadTimerOnTab({target: {linkedBrowser: browserTab}});
installPageLoadTimerOnTab({target: {linkedBrowser: browserTab}}, true);
function installTabListeners() { var container = gBrowser.tabContainer; container.addEventListener('TabOpen', installPageLoadTimerOnTab, false); container.addEventListener('TabClose', removePageLoadTimerOnTab, false); // For any tab that already exists, call installPageLoadTimerOnTab(). var numTabs = gBrowser.brow...
c_list.element.bind('dcmgrGUI.beforeUpdate',function(){ $("#list_load_mask").mask("Loading..."); });
DcmgrGUI.prototype.instancePanel = function(){ var total = 0; var maxrow = 10; var page = 1; var list_request = { "url":DcmgrGUI.Util.getPagePath('/instances/list/',1), "data" : DcmgrGUI.Util.getPagenateData(page,maxrow) }; DcmgrGUI.List.prototype.getEmptyData = function(){ return [{ "id":'', ...
$("#list_load_mask").unmask();
DcmgrGUI.prototype.instancePanel = function(){ var total = 0; var maxrow = 10; var page = 1; var list_request = { "url":DcmgrGUI.Util.getPagePath('/instances/list/',1), "data" : DcmgrGUI.Util.getPagenateData(page,maxrow) }; DcmgrGUI.List.prototype.getEmptyData = function(){ return [{ "id":'', ...
template_id:'#instancesListTemplate'
template_id:'#instancesListTemplate', maxrow:maxrow, page:page
DcmgrGUI.prototype.instancePanel = function(){ var total = 0; var maxrow = 10; var page = 1; var list_request = { "url":DcmgrGUI.Util.getPagePath('/instances/list/',1), "data" : DcmgrGUI.Util.getPagenateData(page,maxrow) }; DcmgrGUI.List.prototype.getEmptyData = function(){ return [{ "id":'', ...
list_request.url = DcmgrGUI.Util.getPagePath('/instances/list/',c_pagenate.current_page);
c_list.page = c_pagenate.current_page; list_request.url = DcmgrGUI.Util.getPagePath('/instances/list/',c_list.page); list_request.data = DcmgrGUI.Util.getPagenateData(c_pagenate.start,c_pagenate.row);
DcmgrGUI.prototype.instancePanel = function(){ var total = 0; var maxrow = 10; var page = 1; var list_request = { "url":DcmgrGUI.Util.getPagePath('/instances/list/',1), "data" : DcmgrGUI.Util.getPagenateData(page,maxrow) }; DcmgrGUI.List.prototype.getEmptyData = function(){ return [{ "id":'', ...
}); c_list.element.bind('dcmgrGUI.contentChange',function(event,params){ c_list.setData(params.data); c_list.multiCheckList(c_list.detail_template);
DcmgrGUI.prototype.instancePanel = function(){ DcmgrGUI.List.prototype.getEmptyData = function(){ return [{ "id":'', "instance_id":'', "owner":'', "wmi_id":'', "state":'', "private_ip":'', "type":'' }] } DcmgrGUI.Detail.prototype.getEmptyData = function(){ return { ...
var terminate_instances = $('#terminate_instances').find('li');
var terminate_instances = $(this).find('#terminate_instances').find('li');
DcmgrGUI.prototype.instancePanel = function(){ var total = 0; var maxrow = 10; var page = 1; var list_request = { "url":DcmgrGUI.Util.getPagePath('/instances/list/',1), "data" : DcmgrGUI.Util.getPagenateData(page,maxrow) }; DcmgrGUI.List.prototype.getEmptyData = function(){ return [{ "id":'', ...
interpolate: function(object, pattern) { return new Template(this, pattern).evaluate(object); }
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(...
interpolate: function(object, pattern) { return new Template(this, pattern).evaluate(object); }
interpret: function(value) { return value == null ? '' : String(value); },
var Prototype={Version:"1.6.1",Browser:(function(){var b=navigator.userAgent;var a=Object.prototype.toString.call(window.opera)=="[object Opera]";return{IE:!!window.attachEvent&&!a,Opera:a,WebKit:b.indexOf("AppleWebKit/")>-1,Gecko:b.indexOf("Gecko")>-1&&b.indexOf("KHTML")===-1,MobileSafari:/Apple.*Mobile.*Safari/.test(...
interpret: function(value) { return value == null ? '' : String(value); },
intersects: function (range, r) r.compareBoundaryPoints(range.START_TO_END, range) >= 0 && r.compareBoundaryPoints(range.END_TO_START, range) <= 0,
intersects: function (range, r) { try { return r.compareBoundaryPoints(range.START_TO_END, range) >= 0 && r.compareBoundaryPoints(range.END_TO_START, range) <= 0; } catch (e) { dactyl.reportError(e, true); return false; } },
intersects: function (range, r) r.compareBoundaryPoints(range.START_TO_END, range) >= 0 && r.compareBoundaryPoints(range.END_TO_START, range) <= 0,
invalidate: function(start, range) { this._invalidIndexes.add(start, range);
invalidate: function(index) { var view = this._indexMap[index]; if(view) view._SCCFP_dirty = YES;
invalidate: function(start, range) { //console.log("invalidate: " + start + " " + range); this._invalidIndexes.add(start, range); },
invalidate: function(index) { var invalidIndexes = this._invalidIndexes; invalidIndexes.add(index);
invalidate: function(start, range) { this._invalidIndexes.add(start, range);
invalidate: function(index) { var invalidIndexes = this._invalidIndexes; invalidIndexes.add(index); },
if(!invalidIndexes) { this._invalidIndexes = SC.IndexSet.create(); } else if (invalidIndexes === YES) { return invalidIndexes; }
invalidate: function(index) { var invalidIndexes = this._invalidIndexes; if(!invalidIndexes) { this._invalidIndexes = SC.IndexSet.create(); } else if (invalidIndexes === YES) { return invalidIndexes; } invalidIndexes.add(index); },
var that = this, func = f ; f = function() { return func.apply(that, args.slice(1)); } ;
var func = f ; f = function() { return func.apply(this, args.slice(1)); } ;
invokeLater: function(target, interval) { if (interval === undefined) interval = 1 ; var f = this; if (arguments.length > 2) { var args = SC.$A(arguments).slice(2,arguments.length); args.unshift(target); // f = f.bind.apply(f, args) ; var that = this, func = f ; f = function() { retu...
bodyInputStreams.push(PAGESPEED.Utils.getResourceInputStream(url));
var inputStream; try { inputStream = PAGESPEED.Utils.getResourceInputStream(url); } catch (e) { PS_LOG('Could not get input stream for "' + url + '": ' + PAGESPEED.Utils.formatException(e)); continue; } bodyInputStreams.push(inputStream);
invokeNativeLibraryRules: function () { var pagespeedRules = PAGESPEED.Utils.CCIN( '@code.google.com/p/page-speed/PageSpeedRules;1', 'IPageSpeedRules'); if (!pagespeedRules) { return []; } var onloadTime = FirebugContext.window.onloadTime; var resources = []; var bodyInputStreams = []; ...
js_calls: javaScriptCalls,
js_calls: javaScriptCalls
invokeNativeLibraryRules: function () { var pagespeedRules = PAGESPEED.Utils.CCIN( '@code.google.com/p/page-speed/PageSpeedRules;1', 'IPageSpeedRules'); if (!pagespeedRules) { return []; } var onloadTime = FirebugContext.window.onloadTime; var resources = []; var bodyInputStreams = []; ...
(isFilteringOutContent() ? null : PAGESPEED.Utils.getElementsByType('doc')[0]),
PAGESPEED.Utils.getElementsByType('doc')[0],
invokeNativeLibraryRules: function () { var pagespeedRules = PAGESPEED.Utils.CCIN( '@code.google.com/p/page-speed/PageSpeedRules;1', 'IPageSpeedRules'); if (!pagespeedRules) { return []; } var onloadTime = FirebugContext.window.onloadTime; var resources = []; var bodyInputStreams = []; ...
req_cookies: PAGESPEED.Utils.getCookieString(url),
req_cookies: PAGESPEED.Utils.getCookieString(url) || '',
invokeNativeLibraryRules: function () { var pagespeedRules = PAGESPEED.Utils.CCIN( '@code.google.com/p/page-speed/PageSpeedRules;1', 'IPageSpeedRules'); if (!pagespeedRules) { return []; } var onloadTime = FirebugContext.window.onloadTime; var resources = []; var bodyInputStreams = []; ...
c.find(a,this[f],b);if(f>0)for(var i=d;i<b.length;i++)for(var j=0;j<d;j++)if(b[j]===b[i]){b.splice(i--,1);break}}return b},has:function(a){var b=c(a);return this.filter(function(){for(var d=0,f=b.length;d<f;d++)if(c.contains(this,b[d]))return true})},not:function(a){return this.pushStack(Fa(this,a,false),"not",a)},filt...
c.find(a,this[f],b);if(f>0)for(var j=d;j<b.length;j++)for(var i=0;i<d;i++)if(b[i]===b[j]){b.splice(j--,1);break}}return b},has:function(a){var b=c(a);return this.filter(function(){for(var d=0,f=b.length;d<f;d++)if(c.contains(this,b[d]))return true})},not:function(a){return this.pushStack(Ia(this,a,false),"not",a)},filt...
c.find(a,this[f],b);if(f>0)for(var i=d;i<b.length;i++)for(var j=0;j<d;j++)if(b[j]===b[i]){b.splice(i--,1);break}}return b},has:function(a){var b=c(a);return this.filter(function(){for(var d=0,f=b.length;d<f;d++)if(c.contains(this,b[d]))return true})},not:function(a){return this.pushStack(Fa(this,a,false),"not",a)},filt...
M);A.attachEvent("onload",c.ready);var a=false;try{a=A.frameElement==null}catch(b){}s.documentElement.doScroll&&a&&oa()}}},isFunction:function(a){return ca.call(a)==="[object Function]"},isArray:function(a){return ca.call(a)==="[object Array]"},isPlainObject:function(a){if(!a||ca.call(a)!=="[object Object]"||a.nodeType...
L,false);A.addEventListener("load",c.ready,false)}else if(s.attachEvent){s.attachEvent("onreadystatechange",L);A.attachEvent("onload",c.ready);var a=false;try{a=A.frameElement==null}catch(b){}s.documentElement.doScroll&&a&&ma()}}},isFunction:function(a){return $.call(a)==="[object Function]"},isArray:function(a){return...
M);A.attachEvent("onload",c.ready);var a=false;try{a=A.frameElement==null}catch(b){}s.documentElement.doScroll&&a&&oa()}}},isFunction:function(a){return ca.call(a)==="[object Function]"},isArray:function(a){return ca.call(a)==="[object Array]"},isPlainObject:function(a){if(!a||ca.call(a)!=="[object Object]"||a.nodeType...
if (activity.JsEventFetcher.endsWith_(url, '.jsm') && url.indexOf('/modules/' != -1)) { return true; } if (activity.JsEventFetcher.endsWith_(url, '.js') && url.indexOf('/components/') != -1) { return true;
if (activity.JsEventFetcher.endsWith_(url, '.jsm') || activity.JsEventFetcher.endsWith_(url, '.js')) { if (url.indexOf('/modules/' != -1) || url.indexOf('/components/') != -1) { return true; }
activity.JsEventFetcher.isBrowserUrl_ = function(url) { if (activity.JsEventFetcher.startsWith_(url, 'chrome:')) { return true; } if (activity.JsEventFetcher.startsWith_(url, 'file:')) { if (activity.JsEventFetcher.endsWith_(url, '.jsm') && url.indexOf('/modules/' != -1)) { return true; } if ...
return this._input.length == 0;
return this._input.length == 0 && this._keyword.length == 0;
isEmpty: function () { return this._input.length == 0; },
this.throwIfDisposed_();
activity.TimelineView.BarChart_.prototype.isEmpty = function() { this.throwIfDisposed_(); return this.lastEventEndTime_ <= this.startTime_;};
return !this.get('isValue') || !this.get('isVisible') || (!this.get("isEditing") && this.get("isValueEmpty") && this.get('_childrenAreEmpty')); }.property('isValueEmpty', 'isVisible', 'isEditing', '_childrenAreEmpty').cacheable(),
return !this.get('isValue') || !this.get('isVisible') || ((!this.get('isEditingAffectsIsEmpty') || !this.get('isEditing')) && this.get('isValueEmpty') && this.get('_SCCE_childrenAreEmpty')); }.property('isValueEmpty', 'isVisible', '_SCCE_childrenAreEmpty').cacheable(),
isEmpty: function() { // if it's not visible, it counts as empty // if it's editing, it can't be empty return !this.get('isValue') || !this.get('isVisible') || (!this.get("isEditing") && this.get("isValueEmpty") && this.get('_childrenAreEmpty')); }.property('isValueEmpty', 'isVisible', 'isEditing', '_childr...
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...
"isPrototypeOf"))return false;var b;for(b in a);return b===w||aa.call(a,b)},isEmptyObject:function(a){for(var b in a)return false;return true},error:function(a){throw a;},parseJSON:function(a){if(typeof a!=="string"||!a)return null;a=c.trim(a);if(/^[\],:{}\s]*$/.test(a.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@")...
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 (url && url.hostname && url.pathname)
if (url)
MyanmarConverterExtension.isEnabledForUrl = function(url) { var prefs = Components.classes["@mozilla.org/preferences-service;1"] .getService(Components.interfaces.nsIPrefService) .getBranch("extensions.myanmarconverter."); this.enabled = (p...
(pattern.pathnameExact && url.pathname == pattern.pathname) || (url.pathname.indexOf(pattern.pathname) == 0))
((pattern.pathnameExact && url.pathname == pattern.pathname) || (url.pathname.indexOf(pattern.pathname) == 0)))
MyanmarConverterExtension.isEnabledForUrl = function(url) { var prefs = Components.classes["@mozilla.org/preferences-service;1"] .getService(Components.interfaces.nsIPrefService) .getBranch("extensions.myanmarconverter."); this.enabled = (p...
hostMatch = false;
hostMatch = true;
MyanmarConverterExtension.isEnabledForUrl = function(url) { var prefs = Components.classes["@mozilla.org/preferences-service;1"] .getService(Components.interfaces.nsIPrefService) .getBranch("extensions.myanmarconverter."); this.enabled = (p...
if (typeof src[i] == "string") return Object.prototype.toString(targ) == "[object " + src[i] + "]";
function isinstance(targ, src) { const types = { boolean: Boolean, string: String, function: Function, number: Number } src = Array.concat(src); for (var i = 0; i < src.length; i++) { if (targ instanceof src[i]) return true; var type = types[typeof targ];...
return (invalidIndexes && invalidIndexes.isIndexSet && invalidIndexes.contains(index));
return invalidIndexes.contains(index);
isInvalid: function(index) { var invalidIndexes = this._invalidIndexes; return (invalidIndexes && invalidIndexes.isIndexSet && invalidIndexes.contains(index)); },
return channel.QueryInterface(Ci.nsIJARChannel);
return channel.URI.QueryInterface(Ci.nsIJARURI);
isJarURL: function (url) { try { let uri = util.newURI(url); let channel = services.io.newChannelFromURI(uri); channel.cancel(Cr.NS_BINDING_ABORTED); if (channel instanceof Ci.nsIJARChannel) return channel.QueryInterface(Ci.nsIJARChannel); } ...
isJSON: function() { var str = this; if (str.blank()) return false; str = this.replace(/\\./g, '@').replace(/"[^"\\\n\r]*"/g, ''); return (/^[,:{}\[\]0-9.\-+Eaeflnr-u \n\r\t]*$/).test(str); },
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(...
isJSON: function() { var str = this; if (str.blank()) return false; str = this.replace(/\\./g, '@').replace(/"[^"\\\n\r]*"/g, ''); return (/^[,:{}\[\]0-9.\-+Eaeflnr-u \n\r\t]*$/).test(str); },
M);A.attachEvent("onload",c.ready);var a=false;try{a=A.frameElement==null}catch(b){}s.documentElement.doScroll&&a&&oa()}}},isFunction:function(a){return ca.call(a)==="[object Function]"},isArray:function(a){return ca.call(a)==="[object Array]"},isPlainObject:function(a){if(!a||ca.call(a)!=="[object Object]"||a.nodeType...
L,false);A.addEventListener("load",c.ready,false)}else if(s.attachEvent){s.attachEvent("onreadystatechange",L);A.attachEvent("onload",c.ready);var a=false;try{a=A.frameElement==null}catch(b){}s.documentElement.doScroll&&a&&ma()}}},isFunction:function(a){return $.call(a)==="[object Function]"},isArray:function(a){return...
M);A.attachEvent("onload",c.ready);var a=false;try{a=A.frameElement==null}catch(b){}s.documentElement.doScroll&&a&&oa()}}},isFunction:function(a){return ca.call(a)==="[object Function]"},isArray:function(a){return ca.call(a)==="[object Array]"},isPlainObject:function(a){if(!a||ca.call(a)!=="[object Object]"||a.nodeType...
d=function(){a();e.form.submit=b;e.form.submit();e.form.submit=d};e.form.submit=d}e.style.display="none";var f=new o(function(g){e.nextSibling?e.parentNode.insertBefore(g,e.nextSibling):e.parentNode.appendChild(g)},c);f.toTextArea=function(){a();e.parentNode.removeChild(f.wrapping);e.style.display="";if(e.form){e.form....
g=function(){c();a.form.submit=e;a.form.submit();a.form.submit=g};a.form.submit=g}a.style.display="none";var d=new s(function(f){a.nextSibling?a.parentNode.insertBefore(f,a.nextSibling):a.parentNode.appendChild(f)},b);d.toTextArea=function(){c();a.parentNode.removeChild(d.wrapping);a.style.display="";if(a.form){a.form....
d=function(){a();e.form.submit=b;e.form.submit();e.form.submit=d};e.form.submit=d}e.style.display="none";var f=new o(function(g){e.nextSibling?e.parentNode.insertBefore(g,e.nextSibling):e.parentNode.appendChild(g)},c);f.toTextArea=function(){a();e.parentNode.removeChild(f.wrapping);e.style.display="";if(e.form){e.form....
return ((a.port == b.port ) && (a.host == b.host) && (a.protocol = b.protocol));
return ((a.port == b.port ) && (a.host == b.host) && (a.protocol == b.protocol));
exports.isSameDomain = function(urlA, urlB) { var a = exports.parse(urlA); var b = exports.parse(urlB); return ((a.port == b.port ) && (a.host == b.host) && (a.protocol = b.protocol));};
isSameOrigin: function() { var m = this.url.match(/^\s*https?:\/\/[^\/]*/); return !m || (m[0] == '#{protocol} protocol: location.protocol, domain: document.domain, port: location.port ? ':' + location.port : '' })); },
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(...
isSameOrigin: function() { var m = this.url.match(/^\s*https?:\/\/[^\/]*/); return !m || (m[0] == '#{protocol}//#{domain}#{port}'.interpolate({ protocol: location.protocol, domain: document.domain, port: location.port ? ':' + location.port : '' })); },
this.throwIfDisposed_();
activity.TimelineView.Row_.prototype.isVisible = function() { this.throwIfDisposed_(); return this.row_.getAttribute('collapsed') != 'true';};
if (this.overflowIndex) this.overflowIndex = Infinity; this.invokeLast(function() { this.elementWidths = null; this.measureForOverflow(); }, this);
itemContentDidChange: function() { this.set('renderLikeFirstTime', YES); this.notifyPropertyChange('displayItems'); },
this.notifyPropertyChange('_displayItems');
this.notifyPropertyChange('displayItems');
itemContentDidChange: function() { // Force regeneration of buttons this._renderAsFirstTime = YES; this.notifyPropertyChange('_displayItems'); },
this._items.removeObserver('[]',this,this.itemContentDidChange) ;
for (var i = this._items.length - 1; i >= 0; i--){ if (this._items[i] instanceof SC.Object) { var item = this._items[i]; if (this.get('itemTitleKey')) item.removeObserver(this.get('itemTitleKey'), this, this.itemContentDidChange); if (this.get('itemWidthKey')) item.removeObserver(this.get('itemWidthKey'), this, this.i...
itemsDidChange: function() { if (this._items) { this._items.removeObserver('[]',this,this.itemContentDidChange) ; } this._items = this.get('items') ; if (this._items) { this._items.addObserver('[]', this, this.itemContentDidChange) ; } this.itemContentDidChange(); }.observes('items'...
this._items.addObserver('[]', this, this.itemContentDidChange) ;
var value = this.get('value'); var isArray = SC.isArray(value); var newValue = []; var itemType, itemValue; for (i = this._items.length - 1; i >= 0; i--) { item = this._items[i]; itemType = SC.typeOf(item); if (itemType !== SC.T_STRING) { if (!(item instanceof SC.Object)) item = this._items[i] = SC.Object.create(ite...
itemsDidChange: function() { if (this._items) { this._items.removeObserver('[]',this,this.itemContentDidChange) ; } this._items = this.get('items') ; if (this._items) { this._items.addObserver('[]', this, this.itemContentDidChange) ; } this.itemContentDidChange(); }.observes('items'...
}.observes('items'),
}.observes('*items.[]'),
itemsDidChange: function() { if (this._items) { this._items.removeObserver('[]',this,this.itemContentDidChange) ; } this._items = this.get('items') ; if (this._items) { this._items.addObserver('[]', this, this.itemContentDidChange) ; } this.itemContentDidChange(); }.observes('items'...
let saved = ["range", "lastRange", "lastString"].map(this.closure(function (s) [s, this[s]]));
let saved = ["range", "lastRange", "lastString"].map(function (s) [s, this[s]], this);
iter: function (word) { let saved = ["range", "lastRange", "lastString"].map(this.closure(function (s) [s, this[s]])); try { this.range = this.ranges[0]; this.lastRange = null; this.lastString = word; var res; while ((res = this.search(null, this....
completion.file(context, true);
completion.file(context, args, true);
javascript: function () { JavaScript.setCompleter([File, File.expandPath], [function (context, obj, args) { context.quote[2] = ""; completion.file(context, true); }]); },
JavaScript.setCompleter(this.get, [function () ([c.name, c.description] for (c in commands))]);
JavaScript.setCompleter([this.get, this.removeUserCommand], [function () ([c.name, c.description] for (c in commands))]);
javascript: function () { JavaScript.setCompleter(this.get, [function () ([c.name, c.description] for (c in commands))]); },
if(delm===null) delm = ',';
if(!delm) delm = ',';
function joinText(txts, delm, trimTag){ if(!txts) return ''; if(delm===null) delm = ','; txts = [].concat(txts).filter(operator.truth).flatten(); return (trimTag? txts.map(methodcaller('trimTag')) : txts).join(delm);}
this.joy2StrobeState++; if (this.joy2StrobeState == 24) { this.joy2StrobeState = 0; }
joy2Read: function() { var ret; this.joy2StrobeState++; if (this.joy2StrobeState == 24) { this.joy2StrobeState = 0; } switch (this.joy2StrobeState) { case 0: case 1: case 2: case 3: case 4: case 5...
case 18:
case 19:
joy2Read: function() { var ret; this.joy2StrobeState++; if (this.joy2StrobeState == 24) { this.joy2StrobeState = 0; } switch (this.joy2StrobeState) { case 0: case 1: case 2: case 3: case 4: case 5...
resolutionUsec, activityProfiler, callbackWrapper) {
resolutionUsec, aggregateBrowserJS, activityProfiler, callbackWrapper) {
activity.JsEventFetcher = function(timelineModel, resolutionUsec, activityProfiler, callbackWrapper) { goog.Disposable.call(this); this.timelineModel_ = timelineModel; this.resolutionUsec_ = resolutionUsec; this.activity...
this.aggregateBrowserJS_ = aggregateBrowserJS;
activity.JsEventFetcher = function(timelineModel, resolutionUsec, activityProfiler, callbackWrapper) { goog.Disposable.call(this); this.timelineModel_ = timelineModel; this.resolutionUsec_ = resolutionUsec; this.activity...
lineContent:function(e){return this.editor.lineContent(e)},setLineContent:function(e,c){this.editor.setLineContent(e,c)},removeLine:function(e){this.editor.removeLine(e)},insertIntoLine:function(e,c,a){this.editor.insertIntoLine(e,c,a)},selectLines:function(e,c,a,b){this.win.focus();this.editor.selectLines(e,c,a,b)},nt...
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...
lineContent:function(e){return this.editor.lineContent(e)},setLineContent:function(e,c){this.editor.setLineContent(e,c)},removeLine:function(e){this.editor.removeLine(e)},insertIntoLine:function(e,c,a){this.editor.insertIntoLine(e,c,a)},selectLines:function(e,c,a,b){this.win.focus();this.editor.selectLines(e,c,a,b)},nt...
K: function(x) { return x }
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(...
K: function(x) { return x }
e(a[0],b):null}function K(){return(new Date).getTime()}function aa(){return false}function ba(){return true}function pa(a,b,d){d[0].type=a;return c.event.handle.apply(b,d)}function qa(a){var b=true,d=[],f=[],e=arguments,i,j,o,p,n,t=c.extend({},c.data(this,"events").live);for(p in t){j=t[p];if(j.live===a.type||j.altLive...
true;if(j=c.fragments[a[0]])if(j!==1)f=j}if(!f){f=b.createDocumentFragment();c.clean(a,b,f,d)}if(e)c.fragments[a[0]]=j?f:1;return{fragment:f,cacheable:e}}function K(a,b){var d={};c.each(va.concat.apply([],va.slice(0,b)),function(){d[this]=a});return d}function wa(a){return"scrollTo"in a&&a.document?a:a.nodeType===9?a.d...
e(a[0],b):null}function K(){return(new Date).getTime()}function aa(){return false}function ba(){return true}function pa(a,b,d){d[0].type=a;return c.event.handle.apply(b,d)}function qa(a){var b=true,d=[],f=[],e=arguments,i,j,o,p,n,t=c.extend({},c.data(this,"events").live);for(p in t){j=t[p];if(j.live===a.type||j.altLive...
if( isArray ? (value.indexOf(item[1])>=0) : (item[1]===value)){
if( isArray ? (value.indexOf(item.value)>=0) : (item.value===value)){
keyDown: function(evt) { // handle tab key var i, item, items, len, value, isArray; if (evt.which === 9) { var view = evt.shiftKey ? this.get('previousValidKeyView') : this.get('nextValidKeyView'); if(view) view.becomeFirstResponder(); else evt.allowDefault(); return YES ; // handled }...
var i, item, items, len, value, isArray;
var i, item, items, overflowItems, len, value, isArray;
keyDown: function(evt) { // handle tab key var i, item, items, len, value, isArray; if (evt.which === 9 || evt.keyCode === 9) { var view = evt.shiftKey ? this.get('previousValidKeyView') : this.get('nextValidKeyView'); if(view) view.becomeFirstResponder(); else evt.allowDefault(); return ...
items = this.get('displayItems');
items = this.get('displayItems').slice(0); if (this.overflowItems.length > 0) items.removeAt(items.length - 1).pushObjects(this.overflowItems);
keyDown: function(evt) { // handle tab key var i, item, items, len, value, isArray; if (evt.which === 9 || evt.keyCode === 9) { var view = evt.shiftKey ? this.get('previousValidKeyView') : this.get('nextValidKeyView'); if(view) view.becomeFirstResponder(); else evt.allowDefault(); return ...
var val = this.get('value'); if(val && evt.which>47 && (val.length >= this.get('maxLength'))) {
var val = this.get('value'), code = evt.which; if(val && ((!SC.browser.mozilla && code>47) || (SC.browser.mozilla && ((code>32 && code<43) || code>47) && !(evt.keyCode>36 && evt.keyCode<41))) && (val.length >= this.get('maxLength'))) {
keyDown: function(evt) { var value, view; // Handle return and escape. this way they can be passed on to the // responder chain. // If the event is triggered by a return while entering IME input, // don't got through this path. var which = evt.which, maxLengthReached = false; if ((which === 13 &...
i?f:1;return{fragment:f,cacheable:e}}function T(a){for(var b=0,d,f;(d=a[b])!=null;b++)if(!c.noData[d.nodeName.toLowerCase()]&&(f=d[H]))delete c.cache[f]}function L(a,b){var d={};c.each(va.concat.apply([],va.slice(0,b)),function(){d[this]=a});return d}function wa(a){return"scrollTo"in a&&a.document?a:a.nodeType===9?a.de...
true;if(ya)c.inArray=function(a,b){return ya.call(b,a)};T=c(s);if(s.addEventListener)L=function(){s.removeEventListener("DOMContentLoaded",L,false);c.ready()};else if(s.attachEvent)L=function(){if(s.readyState==="complete"){s.detachEvent("onreadystatechange",L);c.ready()}};(function(){c.support={};var a=s.documentEleme...
i?f:1;return{fragment:f,cacheable:e}}function T(a){for(var b=0,d,f;(d=a[b])!=null;b++)if(!c.noData[d.nodeName.toLowerCase()]&&(f=d[H]))delete c.cache[f]}function L(a,b){var d={};c.each(va.concat.apply([],va.slice(0,b)),function(){d[this]=a});return d}function wa(a){return"scrollTo"in a&&a.document?a:a.nodeType===9?a.de...
last: function() { return this[this.length - 1]; },
Ext.DomHelper=function(){var m=null;var g=/^(?:br|frame|hr|img|input|link|meta|range|spacer|wbr|area|param|col)$/i;var b=/^table|tbody|tr|td$/i;var a=function(w){if(typeof w=="string"){return w}var q="";if(Ext.isArray(w)){for(var u=0,r=w.length;u<r;u++){q+=a(w[u])}return q}if(!w.tag){w.tag="div"}q+="<"+w.tag;for(var p ...
last: function() { return this[this.length - 1]; },
if (currentLayout.rotate) { if (!currentLayout.rotateX) {
if (!SC.none(currentLayout.rotate)) { if (SC.none(currentLayout.rotateX)) {
layoutDidChange: function() { // Did our layout change in a way that could cause us to be resized? If // not, then there's no need to invalidate the frames of our child views. var previousLayout = this._previousLayout, currentLayout = this.get('layout'), didResize = YES, previousW...
if (currentLayout.rotateX) {
if (!SC.none(currentLayout.rotateX)) {
layoutDidChange: function() { // Did our layout change in a way that could cause us to be resized? If // not, then there's no need to invalidate the frames of our child views. var previousLayout = this._previousLayout, currentLayout = this.get('layout'), didResize = YES, previousW...
if (currentLayout.animateRotate) { if (!currentLayout.animateRotateX) {
if (!SC.none(currentLayout.animateRotate)) { if (SC.none(currentLayout.animateRotateX)) {
layoutDidChange: function() { // Did our layout change in a way that could cause us to be resized? If // not, then there's no need to invalidate the frames of our child views. var previousLayout = this._previousLayout, currentLayout = this.get('layout'), didResize = YES, previousW...
if (currentLayout.animateRotateX) {
if (!SC.none(currentLayout.animateRotateX)) {
layoutDidChange: function() { // Did our layout change in a way that could cause us to be resized? If // not, then there's no need to invalidate the frames of our child views. var previousLayout = this._previousLayout, currentLayout = this.get('layout'), didResize = YES, previousW...
this.notifyPropertyChange('hasAcceleratedLayer');
layoutDidChange: function() { // Did our layout change in a way that could cause us to be resized? If // not, then there's no need to invalidate the frames of our child views. var previousLayout = this._previousLayout, currentLayout = this.get('layout'), didResize = YES, previousW...
this._previousLayout = currentLayout;
layoutDidChange: function() { // Did our layout change in a way that could cause us to be resized? If // not, then there's no need to invalidate the frames of our child views. var previousLayout = this._previousLayout, currentLayout = this.get('layout'), didResize = YES, previousW...
console.log('layoutDidChange');
layoutDidChange: function() { // Did our layout change in a way that could cause us to be resized? If // not, then there's no need to invalidate the frames of our child views. var previousLayout = this._previousLayout, currentLayout = this.get('layout'), didResize = YES, previousW...
if (c.get("useAbsoluteLayout")) return sc_super();
layoutDidChangeFor: function(c) { // if it is absolute layout (no flowing) then we need to let SC.View handle it if (c.get("useAbsoluteLayout")) return sc_super(); // if we have not flowed yet, ignore as well if (!this._scfl_itemLayouts) return sc_super(); // now, check if anything has changed ...
var l = this._scfl_itemLayouts[SC.guidFor(c)];
var l = this._scfl_itemLayouts[SC.guidFor(c)], cl = c.get('layout'), f = c.get('frame');
layoutDidChangeFor: function(c) { // if it is absolute layout (no flowing) then we need to let SC.View handle it if (c.get("useAbsoluteLayout")) return sc_super(); // if we have not flowed yet, ignore as well if (!this._scfl_itemLayouts) return sc_super(); // now, check if anything has changed ...
if (c.layout.width === l.width && c.layout.height === l.height) return sc_super();
var same = YES; if (l.left && l.left !== cl.left) same = NO; else if (l.top && l.top !== cl.top) same = NO; else if (!c.get('fillWidth') && l.width && l.width !== cl.width) same = NO; else if (!l.width && !c.get('fillWidth') && f.width !== c._scfl_lastFrame.width) same = NO; else if (!c.get('fillHeight') && l.height...
layoutDidChangeFor: function(c) { // if it is absolute layout (no flowing) then we need to let SC.View handle it if (c.get("useAbsoluteLayout")) return sc_super(); // if we have not flowed yet, ignore as well if (!this._scfl_itemLayouts) return sc_super(); // now, check if anything has changed ...
if (c.layout.width !== l.width || c.layout.height !== l.height) return sc_super();
if (c.layout.width === l.width && c.layout.height === l.height) return sc_super(); this.invokeOnce("_scfl_tile"); sc_super();
layoutDidChangeFor: function(c) { if (c.get("useAbsoluteLayout")) return sc_super(); if (!this._scfl_itemLayouts) return sc_super(); var l = this._scfl_itemLayouts[SC.guidFor(c)]; if (!l) return sc_super(); if (c.layout.width !== l.width || c.layout.height !== l.height) return sc_super(); },
view: this,
layoutStyle: function() { var props = { view: this, layout: this.get('layout'), turbo: this.get('hasAcceleratedLayer'), static: this.get('useStaticLayout') } var calculator = this._layoutStyleCalculator ? this._layoutStyleCalculator.set(props) : ...
var calculator = this._layoutStyleCalculator ? this._layoutStyleCalculator.set(props) : SC.View.LayoutStyleCalculator.create(props);
var calculator = this.get('layoutStyleCalculator'); calculator.set(props);
layoutStyle: function() { var props = { view: this, layout: this.get('layout'), turbo: this.get('hasAcceleratedLayer'), static: this.get('useStaticLayout') } var calculator = this._layoutStyleCalculator ? this._layoutStyleCalculator.set(props) : ...
if(controlSize === SC.SMALL_CONTROL_SIZE) val = -14 ; if(controlSize === SC.REGULAR_CONTROL_SIZE) val = -16 ;
if(controlSize === SC.SMALL_CONTROL_SIZE) val = -12; if(controlSize === SC.REGULAR_CONTROL_SIZE) val = -15;
leftAlign: function() { var val = 0, controlSize = this.get('controlSize') ; // what. the. heck? // no, I don't want to shift the menu to the left. Yet. if(controlSize === SC.SMALL_CONTROL_SIZE) val = -14 ; if(controlSize === SC.REGULAR_CONTROL_SIZE) val = -16 ; return val; }.property('cont...
var index = $(this).attr('name');
var index = $(this).attr('id');
leftToRight: function() { var self = this; $(this.left_select_id).find('option:selected').each(function(){ var index = $(this).attr('name'); self.leftSelectionsArray[index] = null; self.rightSelectionsArray[index] = this; $(this).remove(); }); this.refreshOptions(this.right_select_...
return completer.call(this, context, obj, args);
return completer.call(obj, context, obj, args);
func.liberatorCompleter = function (context, func, obj, args) { let completer = completers[args.length - 1]; if (!completer) return []; return completer.call(this, context, obj, args); };
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...
lineContent:function(e){return this.editor.lineContent(e)},setLineContent:function(e,c){this.editor.setLineContent(e,c)},removeLine:function(e){this.editor.removeLine(e)},insertIntoLine:function(e,c,a){this.editor.insertIntoLine(e,c,a)},selectLines:function(e,c,a,b){this.win.focus();this.editor.selectLines(e,c,a,b)},nt...
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...
lineContent:function(e){return this.editor.lineContent(e)},setLineContent:function(e,c){this.editor.setLineContent(e,c)},removeLine:function(e){this.editor.removeLine(e)},insertIntoLine:function(e,c,a){this.editor.insertIntoLine(e,c,a)},selectLines:function(e,c,a,b){this.win.focus();this.editor.selectLines(e,c,a,b)},nt...
callLater(0.1, Form.resize);
callLater(0.5, Form.resize);
link: function(){ var ps = this.ps; var title = this.savers['item'] = this.title = new Title(ps); var link = this.savers['itemUrl'] = this.link = new Link(ps, true); var tags = this.savers['tags'] = this.tags = new Tags(ps); var desc = this.savers['description'] = this.desc = new Desc(ps); ...
return maybeDeferred(Extractors.Link.extract(TBRL.createContext()))
maybeDeferred(Extractors.Link.extract(TBRL.createContext()))
link : function(ev){ return maybeDeferred(Extractors.Link.extract(TBRL.createContext())) .addCallback(function(ps){ TBRL.openQuickPostForm(ps); }); },
maybeDeferred(Extractors.check(ctx).filter(function(m){
var ext = Extractors.check(ctx).filter(function(m){
link : function(ev){ var ctx = TBRL.createContext(document.documentElement); maybeDeferred(Extractors.check(ctx).filter(function(m){ return /^Link/.test(m.name); })[0].extract(ctx)) .addCallback(function(ps){ TBRL.openQuickPostForm(ps); }); },
})[0].extract(ctx)) .addCallback(function(ps){ TBRL.openQuickPostForm(ps); });
})[0]; return TBRL.share(ctx, ext, true);
link : function(ev){ var ctx = TBRL.createContext(document.documentElement); maybeDeferred(Extractors.check(ctx).filter(function(m){ return /^Link/.test(m.name); })[0].extract(ctx)) .addCallback(function(ps){ TBRL.openQuickPostForm(ps); }); },
list = template.tabular(["Mode", "Abbreviation", "Expanded text"], ["padding-left: 1ex",,"width: 100%"], list);
list = template.tabular(["Mode", "Abbreviation", "Expanded text"], ["padding-left: 1ex"], list);
list: function (modes, lhs) { let list = this.merged.filter(function (abbr) (abbr.inModes(modes) && abbr.lhs.indexOf(lhs) == 0)); if (!list.length) liberator.echomsg("No abbreviations found"); else if (list.length == 1) { let head = list[0]; liberator.echo(head....
["", "text-align: right", "text-align: right", "color: green; width: 100%"],
["", "text-align: right", "text-align: right", "color: green;"],
list: function (filter) { let marks = this.all; liberator.assert(marks.length > 0, "No marks set"); if (filter.length > 0) { marks = marks.filter(function (mark) filter.indexOf(mark[0]) >= 0); liberator.assert(marks.length > 0, "E283: No marks matching " + filter.quote());...