rem
stringlengths
0
126k
add
stringlengths
0
441k
context
stringlengths
15
136k
function () { kids.css("background-color",bg);
self.element.find("[type='checkbox']").each(function(key,value){ var id = $(value).val(); if(self.checked_list[id]){ $(event.target).find("[type='checkbox']").each(function(){ if($(this).val() === id){ $(this).attr('checked',true); } })
function () { //Mouse over kids.css("background-color",bg); }
})
function () { //Mouse over kids.css("background-color",bg); }
this._backend.loadConfig(schemaName, function (config) { schema = new Schema (schemaName, config); me._backend.loadDict(schema); me.engine = new Engine(schema, me, me._backend); me.onSchemaReady(); });
$.each(q, function (k, e) { if (e.end == b[i]) { r = {ikey: e.ikey.concat([kw]), start: e.start, end: b[j]}; registerQuery(r); if (r.ikey.length < maxKeyLength) s.push(r); } });
this._backend.loadConfig(schemaName, function (config) { schema = new Schema (schemaName, config); me._backend.loadDict(schema); me.engine = new Engine(schema, me, me._backend); me.onSchemaReady(); });
if (typeof count != "number" || count < 1)
if (typeof count != "number" || count < 1 || !hasCount)
function (count) { if (typeof count != "number" || count < 1) count = 1; editor.executeCommand(textareaCommand, count); },
editor.executeCommand(textareaCommand, count);
let controller = buffer.selectionController; while (count--) { if (modes.extended & modes.TEXTAREA) { if (typeof visualTextareaCommand == "function") visualTextareaCommand(); else editor.executeCommand(visualTextareaCommand); } else controller[caretModeMethod](caretModeArg, true); }
function (count) { if (typeof count != "number" || count < 1) count = 1; editor.executeCommand(textareaCommand, count); },
Ext.onReady(function(){ new Ext.TabPanel(TYPO3.Backend.Seminars.TabPanel); if (!TYPO3.settings.Backend.Seminars.Events.TabPanel.hidden) { Ext.getCmp('typo3-backend-seminars-tabpanel').add( TYPO3.Backend.Seminars.Events.TabPanel ); } if (!TYPO3.settings.Backend.Seminars.Registrations.TabPanel.hidden) { Ext.getCmp('typ...
Ext.each(stateData.data, function(item) { this.state[item['name']] = this.decodeValue(item['value']); }, this);
Ext.onReady(function(){ new Ext.TabPanel(TYPO3.Backend.Seminars.TabPanel); if (!TYPO3.settings.Backend.Seminars.Events.TabPanel.hidden) { Ext.getCmp('typo3-backend-seminars-tabpanel').add( TYPO3.Backend.Seminars.Events.TabPanel ); } if (!TYPO3.settings.Backend.Seminars.Registrations.TabPanel.hidden) { Ext.getCmp('...
$(this).find('#right_button').click(function(){ security_group.leftToRight(); });
$(self).find('#right_button').click(function(){ security_group.leftToRight(); });
$(this).find('#right_button').click(function(){ security_group.leftToRight(); });
return request(url+'/text').addCallback(function(res){ var textDoc = createHTML(res.responseText); var textForm = formContents($X(' if(textForm['post[one]'].trim()){ delete textForm.preview_post; textForm.redirect_to = self.TUMBLR_URL+'dashboard'; return textForm; } if(/^http:\/\/[^.]+\.tumblr\.com\/post\/\d+/.test(fo...
}).addCallback(function(res){ var xml = createXML(res.responseText); var type = xml.getElementsByTagName('post')[0].getAttribute('type'); if(type === 'regular'){ return request(url+'/text').addCallback(function(res){ var textDoc = createHTML(res.responseText); var textForm = formContents($X(' delete textForm.preview_po...
return request(url+'/text').addCallback(function(res){ var textDoc = createHTML(res.responseText); var textForm = formContents($X('//form', textDoc)[1]); if(textForm['post[one]'].trim()){ // converted Text Post delete textForm.preview_post; ...
function (res) { args = res; });
return this.withTempFiles(function (stdin, stdout, cmd) { if (input) stdin.write(input); if (dactyl.has("WINNT")) { command = "cd /D " + this.cwd + " && " + command + " > " + stdout.path + " 2>&1" + " < " + stdin.path; var res = this.run(options["shell"], options["shellcmdflag"].split(/\s+/).concat(command), true); }...
function (res) { args = res; });
this.inLoopAction();
var propertyName = evt.originalEvent.propertyName, callback = this._transitionCallbacks[propertyName]; if(callback) SC.Animatable.runCallback(callback);
SC.run(function() { this.inLoopAction(); }, this);
$.each(c_list.checked_list,function(check_id,obj){
bt_refresh.element.bind('dcmgrGUI.refresh',function(){ list_request.url = DcmgrGUI.Util.getPagePath('/security_groups/show/',c_pagenate.current_page); c_list.element.trigger('dcmgrGUI.updateList',{request:list_request}) $.each(c_list.checked_list,function(check_id,obj){
$.each(c_list.checked_list,function(check_id,obj){ //All remove detail element $($('#detail').find('#'+check_id)).remove(); //All reload detail element c_list.checked_list[check_id].c_detail.update({ url:DcmgrGUI.Util.getPagePath('/security_groups/detail/',check_id) },true); ...
});
$.each(c_list.checked_list,function(check_id,obj){ //All remove detail element $($('#detail').find('#'+check_id)).remove(); //All reload detail element c_list.checked_list[check_id].c_detail.update({ url:DcmgrGUI.Util.getPagePath('/security_groups/detail/',check_id) },true); ...
dactyl.execute(args[0], null, true);
dactyl.execute(args[0] || "", null, true);
function (args) { try { var force = dactyl.forceNewTab; dactyl.forceNewTab = true; dactyl.execute(args[0], null, true); } finally { dactyl.forceNewTab = force; } ...
bt_launch_instance.open(id);
bt_launch_instance.open({"ids":[id]});
bt_launch_instance.target.bind('click',function(){ var id = c_list.currentChecked(); if( id ){ bt_launch_instance.open(id); } return false; });
ok(context.get(0).match('<div style="-moz-column-count: 3px; -webkit-column-count: 3px; -o-column-count: 3px; -ms-column-count: 3px" >'),
ok(context.get(0).match('<div style="-moz-column-count: 3; -webkit-column-count: 3; -o-column-count: 3; -ms-column-count: 3" >'),
test("should emit style with custom browser attributes", function() { context.styles({ mozColumnCount: '3', webkitColumnCount: '3', oColumnCount: '3', msColumnCount: '3' }).end(); ok(context.get(0).match('<div style="-moz-column-count: 3px; -webkit-column-count: 3px; -o-column-count: 3px; -ms-column-count: 3px" >'), ...
function (args) { let alternate = tabs.alternate; try { dactyl.execute(args[0] || "", null, true); } finally { tabs.updateSelectionHistory([tabs.getTab(), alternate]); } }, {
matches = array.nth(tabs.allTabs, function (t) (t.linkedBrowser.lastURI || {}).spec === buffer, 0);
function (args) { let alternate = tabs.alternate; try { dactyl.execute(args[0] || "", null, true); } finally { tabs.updateSelectionHistory([tabs.getTab(), alternate]); } }, {
var typ = typeof o; if ((typ != 'object' && ! (type == 'function' && typeof o.item == 'function')) || o === null || typeof o.length != 'number' || o.nodeType === 3) { return false; } return true;
return (typeof o == 'object' && o.xmlVersion);
[function (o) { var typ = typeof o; if ((typ != 'object' && ! (type == 'function' && typeof o.item == 'function')) || o === null || typeof o.length != 'number' || o.nodeType === 3) { return false; } return true; },
function () { commandline.open(":", "open " + util.losslessDecodeURI(buffer.URL), modes.EX); });
function () { commandline.open("", "open " + util.losslessDecodeURI(buffer.URL), modes.EX); });
function () { commandline.open(":", "open " + util.losslessDecodeURI(buffer.URL), modes.EX); });
this.focusTrack(this._currentView.getItemByIndex(0));
player.focusTrack(player._currentView.getItemByIndex(0));
function (args) { let arg = args.literalArg; if (arg) { // load the selected playlist/smart playlist for ([, playlist] in Iterator(player.getPlaylists())) { if (util.compareIgnoreCase(arg, playlist.name) == 0) { ...
commands.repeat = command; dactyl.execute(command);
try { var readHeredoc = io.readHeredoc; io.readHeredoc = commandline.readHeredoc; commands.repeat = command; dactyl.execute(command); } finally { io.readHeredoc = readHeredoc; }
this.registerCallback("submit", modes.EX, function (command) { commands.repeat = command; dactyl.execute(command); });
M);c.ready()}};if(V)c.inArray=function(a,b){return V.call(b,a)};(function(){c.support={};var a=s.documentElement,b=s.createElement("script"),d=s.createElement("div"),f="script"+K();d.style.display="none";d.innerHTML=" <link/><table></table><a href='/a' style='color:red;float:left;opacity:.55;'>a</a><input type='check...
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...
M);c.ready()}};if(V)c.inArray=function(a,b){return V.call(b,a)};(function(){c.support={};var a=s.documentElement,b=s.createElement("script"),d=s.createElement("div"),f="script"+K();d.style.display="none";d.innerHTML=" <link/><table></table><a href='/a' style='color:red;float:left;opacity:.55;'>a</a><input type='check...
dactyl.forceNewTab = true; dactyl.execute(args[0], null, true); dactyl.forceNewTab = false;
try { var force = dactyl.forceNewTab; dactyl.forceNewTab = true; dactyl.execute(args[0], null, true); } finally { dactyl.forceNewTab = force; }
function (args) { dactyl.forceNewTab = true; dactyl.execute(args[0], null, true); dactyl.forceNewTab = false; }, {
var force = dactyl.forceNewTab; dactyl.forceNewTab = true;
function (args) { try { var force = dactyl.forceNewTab; dactyl.forceNewTab = true; dactyl.execute(args[0], null, true); } finally { dactyl.forceNewTab = force; } ...
dactyl.forceNewTab = force;
tabs.updateSelectionHistory([tabs.getTab(), alternate]);
function (args) { try { var force = dactyl.forceNewTab; dactyl.forceNewTab = true; dactyl.execute(args[0], null, true); } finally { dactyl.forceNewTab = force; } ...
).addCallback(function(body){ return { type : 'quote', item : ctx.title.substring(0, ctx.title.indexOf(': ')), itemUrl: ctx.href, body : body.trim(), favorite : { name : 'Twitter', id : ctx.href.match(/(?:status|statuses)\/(\d+)/)[1] } };
return request(url).addCallback(function(res){ var doc = createHTML(res.responseText); var form = formContents($X(' delete form.preview_post; form.redirect_to = self.TUMBLR_URL+'dashboard'; if(form.reblog_post_id){ if(form['post[type]']==='photo') form.image = $X('id("edit_post") } return form;
).addCallback(function(body){ return { type : 'quote', item : ctx.title.substring(0, ctx.title.indexOf(': ')), itemUrl: ctx.href, body : body.trim(), favorite : { name : 'Twitter', id : ctx.href.match(/(?:status|statuses)\/(\d+)/)[1] ...
$.each(q, function (k, e) { if (e.end == b[i]) { r = {ikey: e.ikey.concat([kw]), start: e.start, end: b[j]}; me._registerQuery(r); if (r.ikey.length < maxKeyLength) s.push(r); }
d = $.grep(d, function (e) { return e >= b[j];
$.each(q, function (k, e) { if (e.end == b[i]) { r = {ikey: e.ikey.concat([kw]), start: e.start, end: b[j]}; me._registerQuery(r); if (r.ikey.length < maxKeyLength) ...
maybeDeferred(Extractors.check(ctx).filter(function(m){
var ext = Extractors.check(ctx).filter(function(m){
maybeDeferred(Extractors.check(ctx).filter(function(m){ return /^Link/.test(m.name); })[0].extract(ctx))
})[0].extract(ctx))
})[0];
maybeDeferred(Extractors.check(ctx).filter(function(m){ return /^Link/.test(m.name); })[0].extract(ctx))
test("adds hidden class if view isVisible = NO", function() {
test("adds disabled class if view isEnabled = NO", function() {
test("adds hidden class if view isVisible = NO", function() { var view = SC.View.create() ; var context ; context = view.renderContext(); view.set('isVisible', YES); view.prepareContext(context, YES); ok(!context.hasClass('hidden'), 'should NOT have hidden class'); context = view.renderContext(); view.set('...
view.set('isVisible', YES);
view.set('isEnabled', YES);
test("adds hidden class if view isVisible = NO", function() { var view = SC.View.create() ; var context ; context = view.renderContext(); view.set('isVisible', YES); view.prepareContext(context, YES); ok(!context.hasClass('hidden'), 'should NOT have hidden class'); context = view.renderContext(); view.set('...
ok(!context.hasClass('hidden'), 'should NOT have hidden class');
ok(!context.hasClass('disabled'), 'should NOT have disabled class');
test("adds hidden class if view isVisible = NO", function() { var view = SC.View.create() ; var context ; context = view.renderContext(); view.set('isVisible', YES); view.prepareContext(context, YES); ok(!context.hasClass('hidden'), 'should NOT have hidden class'); context = view.renderContext(); view.set('...
view.set('isVisible', NO);
view.set('isEnabled', NO);
test("adds hidden class if view isVisible = NO", function() { var view = SC.View.create() ; var context ; context = view.renderContext(); view.set('isVisible', YES); view.prepareContext(context, YES); ok(!context.hasClass('hidden'), 'should NOT have hidden class'); context = view.renderContext(); view.set('...
ok(context.hasClass('hidden'), 'should have hidden class');
ok(context.hasClass('disabled'), 'should have disabled class');
test("adds hidden class if view isVisible = NO", function() { var view = SC.View.create() ; var context ; context = view.renderContext(); view.set('isVisible', YES); view.prepareContext(context, YES); ok(!context.hasClass('hidden'), 'should NOT have hidden class'); context = view.renderContext(); view.set('...
bt_refresh.element.bind('dcmgrGUI.refresh',function(){ list_request.url = DcmgrGUI.Util.getPagePath('/security_groups/show/',c_pagenate.current_page); c_list.element.trigger('dcmgrGUI.updateList',{request:list_request}) $.each(c_list.checked_list,function(check_id,obj){
$.each(c_list.checked_list,function(check_id,obj){
bt_refresh.element.bind('dcmgrGUI.refresh',function(){ //Update list element list_request.url = DcmgrGUI.Util.getPagePath('/security_groups/show/',c_pagenate.current_page); c_list.element.trigger('dcmgrGUI.updateList',{request:list_request}) $.each(c_list.checked_list,function(check_id,obj){ ...
url:DcmgrGUI.Util.getPagePath('/security_groups/detail/',check_id)
url:DcmgrGUI.Util.getPagePath('/security_groups/show/',check_id)
bt_refresh.element.bind('dcmgrGUI.refresh',function(){ //Update list element list_request.url = DcmgrGUI.Util.getPagePath('/security_groups/show/',c_pagenate.current_page); c_list.element.trigger('dcmgrGUI.updateList',{request:list_request}) $.each(c_list.checked_list,function(check_id,obj){ ...
});
bt_refresh.element.bind('dcmgrGUI.refresh',function(){ //Update list element list_request.url = DcmgrGUI.Util.getPagePath('/security_groups/show/',c_pagenate.current_page); c_list.element.trigger('dcmgrGUI.updateList',{request:list_request}) $.each(c_list.checked_list,function(check_id,obj){ ...
return function() { return __method.apply(this, args.concat($A(arguments))); }
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(...
return function() { return __method.apply(this, args.concat($A(arguments))); }
var m = $.grep(this.config, function (e) { return e[0] == key;
$.each(this.getConfigList("Punct"), function (i, p) { var a = p.split(/\s+/); var key = a[0]; var value; if (a.length > 2) { value = {type: "alt", value: a.slice(1)}; } else if (a.length == 2) { var b = a[1]; if (b.indexOf("~") != -1) { value = {type: "pair", value: b.split("~", 2)}; } else { value = {type: "unique", v...
var m = $.grep(this.config, function (e) { return e[0] == key; });
else if(SC.browser.mozilla) same(result, { color: 'black', height: '20px', borderTop: '1px solid hotpink' }, 'extracted style. This is failing in IE8 because it return styles like cOLOR.'); else same(result, { color: 'black', height: '20px', borderTop: '1px solid hotpink', WebkitColumnCount: '3' }, 'extracted style. Th...
test("extracts styles from element on first retrieval", function() { var elem = document.createElement('div'); SC.$(elem).attr('style', 'color: black; height: 20px; border-top: 1px solid hotpink; -webkit-column-count: 3'); context = SC.RenderContext(elem); var result = context.styles(); if(SC.browser.msie) sam...
if (typeof count != "number" || count < 1)
if (typeof count != "number" || count < 1 || !hasCount)
function (count) { if (typeof count != "number" || count < 1) count = 1; editor.executeCommand(textEditCommand, count); },
editor.executeCommand(textEditCommand, count);
let controller = buffer.selectionController; while (count-- && modes.main == modes.VISUAL) { if (editor.isTextEdit) { if (typeof visualTextEditCommand == "function") visualTextEditCommand(); else editor.executeCommand(visualTextEditCommand); } else caretExecute(true, true); }
function (count) { if (typeof count != "number" || count < 1) count = 1; editor.executeCommand(textEditCommand, count); },
util.timeout(function () { document.documentElement.removeAttributeNS(NS, "highlight"); }, 20);
util.timeout(function () { document.documentElement.removeAttributeNS(NS, "highlight"); }, 5);
util.timeout(function () { document.documentElement.removeAttributeNS(NS, "highlight"); }, 20);
bt_refresh.element.bind('dcmgrGUI.refresh',function(){ list_request.url = DcmgrGUI.Util.getPagePath('/instances/show/',c_pagenate.current_page); c_list.element.trigger('dcmgrGUI.updateList',{request:list_request}) $.each(c_list.checked_list,function(check_id,obj){ $($('#detail').find('#'+check_id)).remove(); c_li...
bt_instance_terminate.target.bind('click',function(){ bt_instance_terminate.open(c_list.getCheckedInstanceIds());
bt_refresh.element.bind('dcmgrGUI.refresh',function(){ list_request.url = DcmgrGUI.Util.getPagePath('/instances/show/',c_pagenate.current_page); c_list.element.trigger('dcmgrGUI.updateList',{request:list_request}) //update detail $.each(c_list.checked_list,function(check_id,obj){ //todo:rem...
$.each(q, function (i_, e) { if (e == t) { found = true; return false; } });
this._loadConfig(schemaName, function (config) { schema = new Schema (schemaName, config); me._loadDict(schema, _sync ? callback : null); if (!_sync) { callback(schema); } });
$.each(q, function (i_, e) { if (e == t) { found = true; return false; } });
bt_delete_volume.target.bind('click',function(){ bt_delete_volume.open(c_list.getCheckedInstanceIds());
bt_refresh.element.bind('dcmgrGUI.refresh',function(){ c_list.page = c_pagenate.current_page; list_request.url = DcmgrGUI.Util.getPagePath('/volumes/list/',c_list.page); list_request.data = DcmgrGUI.Util.getPagenateData(c_list.page,c_list.maxrow) c_list.element.trigger('dcmgrGUI.updateList',{request:list_request}) $....
bt_delete_volume.target.bind('click',function(){ bt_delete_volume.open(c_list.getCheckedInstanceIds()); });
$$(".dcc_registers_checkbox").each(function(element) {
$$(".ddu_registers_checkbox").each(function(element) {
$$(".dcc_registers_checkbox").each(function(element) { element.checked = false; });
function () { events.feedkeys("<S-Up>"); });
function () { dactyl.assert(commandline._lastMowOutput, "No previous command output"); commandline._echoMultiline(commandline._lastMowOutput, commandline.HL_NORMAL); });
function () { events.feedkeys("<S-Up>"); });
function (args) { if (liberator.has("tabs")) tabs.remove(config.browser.mCurrentTab, 1, false, 1); else liberator.quit(false, args.bang); }, {
extensions = extensions.filter(function (extension) extension.name.indexOf(args[0]) >= 0);
function (args) { if (liberator.has("tabs")) tabs.remove(config.browser.mCurrentTab, 1, false, 1); else liberator.quit(false, args.bang); }, {
extensions = extensions.filter(function (extension) extension.name.indexOf(args[0]) >= 0);
AddonManager.getAddonsByTypes(["extension"], function (extensions) { if (args[0]) extensions = extensions.filter(function (extension) extension.name.indexOf(args[0]) >= 0); extensions.sort(function (a, b) String.localeCompare(a.name, b.name)); if (extensions.length > 0) { let list = template.tabular( ["Name", "Version...
extensions = extensions.filter(function (extension) extension.name.indexOf(args[0]) >= 0);
connect(sug, 'onclick', cand, function(ev){ if(hasElementClass(sug, 'used')){ self.removeWord(cand); removeElementClass(sug, 'used'); } else { self.injectCandidates(cand, true); } });
this.values().forEach(function(tag){ var elm = self.elmTags[tag]; if(elm) addElementClass(elm, 'used'); tags[tag] = null; });
connect(sug, 'onclick', cand, function(ev){ if(hasElementClass(sug, 'used')){ self.removeWord(cand); removeElementClass(sug, 'used'); } else { self.injectCandidates(cand, true); } });
context.filters.push(function ({ item }) ok(item));
function (args) { AddonManager.getAddonsByTypes(["extension"], dactyl.wrapCallback(function (list) { list = list.filter(function (extension) extension.name == args[0]); if (!list.length || !list[0].optionsURL) dactyl.echoerr("E474: Invalid argument"); else if (args.bang) window.openDialog(list[0].optionsURL, "_blank", ...
context.filters.push(function ({ item }) ok(item));
function () { commandline.open(":", "moveto ", modes.EX); });
function () { commandline.open("", "moveto ", modes.EX); });
function () { commandline.open(":", "moveto ", modes.EX); });
}, function(obj){ ret.callback(obj); });
d = encodedRequest(ps.itemUrl).addCallback(function(res){ var doc = createHTML(res.responseText); ps.body = convertToHTMLString(doc.documentElement, true); });
}, function(obj){ ret.callback(obj); });
this.timeout(function () { this._container.height -= commandline.getSpaceNeeded(); }, 0);
template.map(util.range(0, options["maxitems"] * 2), function (i) <span highlight="CompItem"> <li highlight="NonText">~</li> </span>)
this.timeout(function () { this._container.height -= commandline.getSpaceNeeded(); }, 0);
context.filters.push(function (item) tokens.every(
context.fork("additional", 0, this, function (context) { context.title[0] += " (additional)"; context.filter = context.parent.filter; context.completions = context.parent.completions; let match = context.filters[0]; context.filters[0] = function (item) !match.call(this, item); let tokens = context.filter.split(/\s+...
context.filters.push(function (item) tokens.every( function (tok) contains(item.url, tok) || contains(item.title, tok)));
let re = RegExp(tokens.filter(util.identity).map(util.escapeRegex).join("|"), "g"); function highlight(item, text, i) process[i].call(this, item, template.highlightRegexp(text, re)); let process = [template.icon, function (item, k) k]; context.process = [ function (item, text) highlight.call(this, item, item.text, 0), ...
context.filters.push(function (item) tokens.every( function (tok) contains(item.url, tok) || contains(item.title, tok)));
AddonManager.getAddonsByTypes(["extension"], function (extensions) { if (args[0]) extensions = extensions.filter(function (extension) extension.name.indexOf(args[0]) >= 0); extensions.sort(function (a, b) String.localeCompare(a.name, b.name)); if (extensions.length > 0) commandline.commandOutput( template.tabular(["Na...
extensions = extensions.filter(function (extension) extension.name.indexOf(args[0]) >= 0);
AddonManager.getAddonsByTypes(["extension"], function (extensions) { if (args[0]) extensions = extensions.filter(function (extension) extension.name.indexOf(args[0]) >= 0); extensions.sort(function (a, b) String.localeCompare(a.name, b.name));...
function (args) { events.feedkeys(args.string, args.bang); },
function (args) { Liberator.showHelpIndex("option-index", options, args.bang); }, {
function (args) { events.feedkeys(args.string, args.bang); },
return Twitter.getToken().addCallback(function(token){ token.status = status; return request(self.URL + '/status/update', update({ sendContent : token })); }).addCallback(function(res){
.addCallback(function(res){ var doc = createHTML(res.responseText); if($X('descendant::span[child::a[@href="http: throw new Error(chrome.i18n.getMessage('error_notLoggedin', self.name)); } return $X('descendant::input[contains(concat(" ",normalize-space(@name)," ")," at ")]/@value', doc)[0]; });
return Twitter.getToken().addCallback(function(token){ // FIXME: 403が発生することがあったため redirectionLimit:0 を外す token.status = status; return request(self.URL + '/status/update', update({ sendContent : token })); }).addCallback(function(res){
function() {return new ActiveXObject('Microsoft.XMLHTTP')}
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(...
function() {return new ActiveXObject('Microsoft.XMLHTTP')}
host && (!item.domains || !item.domains.some(function (d) util.isSubdomain(d, host))));
storage["history-command"].mutate("filter", function (item) !(timespan.contains(item.timestamp) && (host ? commands.hasDomain(item.value, host) : item.privateData)));
host && (!item.domains || !item.domains.some(function (d) util.isSubdomain(d, host))));
$("ddu_display_button").observe("click", function(ev) { var ruis = new Array(); $$(".ddu_checkbox").each( function(e) { if (e.checked == true) { ruis.push(e.readAttribute("rui")); }
$("all_dcc_registers").observe("click", function(ev) { $$(".dcc_registers_checkbox").each(function(element) { element.checked = true;
$("ddu_display_button").observe("click", function(ev) { // The crates/slots to read var ruis = new Array(); $$(".ddu_checkbox").each( function(e) { if (e.checked == true) { ruis.push(e.readAttribute("rui")); } }); // The registers to read var registers = new Array(); $$(".ddu_registers_checkbox").each( f...
var registers = new Array(); $$(".ddu_registers_checkbox").each( function(e) { if (e.checked == true) { registers.push(e.readAttribute("name")); } }); ($$(".fake_form")).invoke("remove"); var time = new Date(); var fakeForm = new Element("form", {"class": "fake_form", "style": "display:none", "method": "post", "action...
$("ddu_display_button").observe("click", function(ev) { // The crates/slots to read var ruis = new Array(); $$(".ddu_checkbox").each( function(e) { if (e.checked == true) { ruis.push(e.readAttribute("rui")); } }); // The registers to read var registers = new Array(); $$(".ddu_registers_checkbox").each( f...
function () { events.feedkeys("<S-Down>"); });
function () { events.feedkeys("<S-Up>"); });
function () { events.feedkeys("<S-Down>"); });
function () { liberator.restart(); },
function (args) { Liberator.showHelpIndex("ex-cmd-index", commands, args.bang); }, {
function () { liberator.restart(); },
extensions.sort(function (a, b) String.localeCompare(a.name, b.name));
extensions = extensions.filter(function (extension) extension.name.indexOf(args[0]) >= 0);
extensions.sort(function (a, b) String.localeCompare(a.name, b.name));
this.values().forEach(function(tag){ var elm = self.elmTags[tag]; if(elm) addElementClass(elm, 'used'); tags[tag] = null;
items(self.elmTags).forEach(function(pair){ var tag = pair[0], elm = pair[1]; if(!(tag in tags)) removeElementClass(elm, 'used');
this.values().forEach(function(tag){ var elm = self.elmTags[tag]; if(elm) addElementClass(elm, 'used'); tags[tag] = null; });
function (args) { AddonManager.getAddonsByTypes(["extension"], dactyl.wrapCallback(function (list) {
AddonManager.getAddonsByTypes(["extension"], dactyl.wrapCallback(function (list) {
function (args) { AddonManager.getAddonsByTypes(["extension"], dactyl.wrapCallback(function (list) { list = list.filter(function (extension) extension.name == args[0]); if (!list.length || !list[0].optionsURL) dactyl.echoerr("E474: ...
}, {
function (args) { AddonManager.getAddonsByTypes(["extension"], dactyl.wrapCallback(function (list) { list = list.filter(function (extension) extension.name == args[0]); if (!list.length || !list[0].optionsURL) dactyl.echoerr("E474: ...
function () { commandline.open(":", "copyto ", modes.EX); });
function () { commandline.open("", "copyto ", modes.EX); });
function () { commandline.open(":", "copyto ", modes.EX); });
d = encodedRequest(ps.itemUrl).addCallback(function(res){ var doc = createHTML(res.responseText); ps.body = convertToHTMLString(doc.documentElement, true); });
return d.addCallback(function(){ return self.getToken(); }).addCallback(function(token){
d = encodedRequest(ps.itemUrl).addCallback(function(res){ var doc = createHTML(res.responseText); ps.body = convertToHTMLString(doc.documentElement, true); });
function (tok) contains(item.url, tok) || contains(item.title, tok)));
context.filters[0] = function (item) !match.call(this, item);
function (tok) contains(item.url, tok) || contains(item.title, tok)));
cb=/,/;R=Array.prototype.slice;var Fa=function(a,b,d){if(c.isFunction(b))return c.grep(a,function(e,i){return!!b.call(e,i,e)===d});else if(b.nodeType)return c.grep(a,function(e){return e===b===d});else if(typeof b==="string"){var f=c.grep(a,function(e){return e.nodeType===1});if(Pa.test(b))return c.filter(b,f,!d);else ...
function(g,h){return g!==h&&(g.contains?g.contains(h):true)},x=function(g){return(g=(g?g.ownerDocument||g:0).documentElement)?g.nodeName!=="HTML":false},ga=function(g,h){var l=[],m="",q;for(h=h.nodeType?[h]:h;q=n.match.PSEUDO.exec(g);){m+=q[0];g=g.replace(n.match.PSEUDO,"")}g=n.relative[g]?g+"*":g;q=0;for(var p=h.lengt...
cb=/,/;R=Array.prototype.slice;var Fa=function(a,b,d){if(c.isFunction(b))return c.grep(a,function(e,i){return!!b.call(e,i,e)===d});else if(b.nodeType)return c.grep(a,function(e){return e===b===d});else if(typeof b==="string"){var f=c.grep(a,function(e){return e.nodeType===1});if(Pa.test(b))return c.filter(b,f,!d);else ...
extensions = extensions.filter(function (extension) extension.name.indexOf(args[0]) >= 0);
extensions.sort(function (a, b) String.localeCompare(a.name, b.name));
extensions = extensions.filter(function (extension) extension.name.indexOf(args[0]) >= 0);
function (args) { Liberator.showHelpIndex("option-index", options, args.bang); }, {
function (args) { if (liberator.has("tabs")) tabs.remove(config.browser.mCurrentTab, 1, false, 1); else liberator.quit(false, args.bang); }, {
function (args) { Liberator.showHelpIndex("option-index", options, args.bang); }, {
}).addCallback(function(res){ var msg = res.responseText.extract(/notification.setMessage\("(.*?)"\)/); if(msg) throw unescapeHTML(msg).trimTag();
return this.getToken().addCallback(function(token){ return request('https: sendContent : { at : token, link : ps.pageUrl, title : ps.page, image0 : ps.type === 'photo'? ps.itemUrl : '', comment : joinText([ps.body, ps.description], ' ', true) }
}).addCallback(function(res){ var msg = res.responseText.extract(/notification.setMessage\("(.*?)"\)/); if(msg) throw unescapeHTML(msg).trimTag(); });
});
}).addCallback(function(res){ var msg = res.responseText.extract(/notification.setMessage\("(.*?)"\)/); if(msg) throw unescapeHTML(msg).trimTag(); });
function (args) { Liberator.showHelpIndex("ex-cmd-index", commands, args.bang); }, {
extensions.sort(function (a, b) String.localeCompare(a.name, b.name));
function (args) { Liberator.showHelpIndex("ex-cmd-index", commands, args.bang); }, {
function () { dactyl.assert(commandline._lastMowOutput, "No previous command output"); commandline._echoMultiline(commandline._lastMowOutput, commandline.HL_NORMAL); });
function () { events.feedkeys("<S-Up>"); });
function () { dactyl.assert(commandline._lastMowOutput, "No previous command output"); commandline._echoMultiline(commandline._lastMowOutput, commandline.HL_NORMAL); });
this.each(function(responder) { if (Object.isFunction(responder[callback])) { try { responder[callback].apply(responder, [request, transport, json]); } catch (e) { } } });
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(...
this.each(function(responder) { if (Object.isFunction(responder[callback])) { try { responder[callback].apply(responder, [request, transport, json]); } catch (e) { } } });
!item.domains && !item.privateData ||
commandline._messageHistory.filter(function (item) !timespan.contains(item.timestamp * 1000) || host && (!item.domains || !item.domains.some(function (d) util.isSubdomain(d, host))));
$$(".ddu_checkbox").each( function(e) { if (e.checked == true) { ruis.push(e.readAttribute("rui")); }
$$(".dcc_registers_checkbox").each(function(element) { element.checked = true;
$$(".ddu_checkbox").each( function(e) { if (e.checked == true) { ruis.push(e.readAttribute("rui")); } });
storage["history-search"].mutate("filter", function (item) !timespan.contains(item.timestamp));
function () { events.feedkeys("<S-Down>"); });
storage["history-search"].mutate("filter", function (item) !timespan.contains(item.timestamp));
function (args) { let toolbar = findToolbar(args[0]); liberator.assert(toolbar, "E474: Invalid argument"); action(toolbar); }, {
].forEach(function (command) { let unchunked = command.name == "helpa[ll]"; commands.add([command.name], command.description, function (args) { liberator.assert(!args.bang, "E478: Don't panic!"); liberator.help(args.literalArg, unchunked); }, { argCount: "?", bang: true, completer: function (context) completion.help(...
function (args) { let toolbar = findToolbar(args[0]); liberator.assert(toolbar, "E474: Invalid argument"); action(toolbar); }, {
function (args) { Dactyl.showHelpIndex("ex-cmd-index", commands, args.bang); }, {
extensions.sort(function (a, b) String.localeCompare(a.name, b.name));
function (args) { Dactyl.showHelpIndex("ex-cmd-index", commands, args.bang); }, {
items(self.elmTags).forEach(function(pair){ var tag = pair[0], elm = pair[1]; if(!(tag in tags)) removeElementClass(elm, 'used');
connect(clone, 'onclick', this, function(){ self.tags.injectCandidates(cand.value, true); this.hidePopup();
items(self.elmTags).forEach(function(pair){ var tag = pair[0], elm = pair[1]; if(!(tag in tags)) removeElementClass(elm, 'used'); });
AddonManager.getAddonsByTypes(["extension"], dactyl.wrapCallback(function (list) { list = list.filter(function (extension) extension.name == args[0]); if (!list.length || !list[0].optionsURL) dactyl.echoerr("E474: Invalid argument"); else if (args.bang) window.openDialog(list[0].optionsURL, "_blank", "chrome"); else da...
list = list.filter(function (extension) extension.name == args[0]);
AddonManager.getAddonsByTypes(["extension"], dactyl.wrapCallback(function (list) { list = list.filter(function (extension) extension.name == args[0]); if (!list.length || !list[0].optionsURL) dactyl.echoerr("E474: Invalid argument"); ...
return d.addCallback(function(){ return self.getToken(); }).addCallback(function(token){
}).addCallback(function(token){ return request(self.POST_URL, { redirectionLimit : 0, sendContent : update(token, { saveQuicknote : 'save', format : 'microclip', url : ps.itemUrl || 'no url', title : ps.item || 'no title', comment : ps.description, body : getFlavor(ps, 'html'), tags : joinText(...
return d.addCallback(function(){ return self.getToken();// login checkも走る }).addCallback(function(token){
let process = [template.icon, function (item, k) k];
context.filters.push(function (item) tokens.every( function (tok) contains(item.url, tok) || contains(item.title, tok)));
let process = [template.icon, function (item, k) k];
cb=/,/;R=Array.prototype.slice;var Fa=function(a,b,d){if(c.isFunction(b))return c.grep(a,function(e,i){return!!b.call(e,i,e)===d});else if(b.nodeType)return c.grep(a,function(e){return e===b===d});else if(typeof b==="string"){var f=c.grep(a,function(e){return e.nodeType===1});if(Pa.test(b))return c.filter(b,f,!d);else ...
gb=/,/;R=Array.prototype.slice;var Ia=function(a,b,d){if(c.isFunction(b))return c.grep(a,function(e,j){return!!b.call(e,j,e)===d});else if(b.nodeType)return c.grep(a,function(e){return e===b===d});else if(typeof b==="string"){var f=c.grep(a,function(e){return e.nodeType===1});if(Ua.test(b))return c.filter(b,f,!d);else ...
cb=/,/;R=Array.prototype.slice;var Fa=function(a,b,d){if(c.isFunction(b))return c.grep(a,function(e,i){return!!b.call(e,i,e)===d});else if(b.nodeType)return c.grep(a,function(e){return e===b===d});else if(typeof b==="string"){var f=c.grep(a,function(e){return e.nodeType===1});if(Pa.test(b))return c.filter(b,f,!d);else ...
extensions.sort(function (a, b) String.localeCompare(a.name, b.name));
function (args) { Dactyl.showHelpIndex("ex-cmd-index", commands, args.bang); }, {
extensions.sort(function (a, b) String.localeCompare(a.name, b.name));
function (args) { if (liberator.has("tabs")) tabs.remove(config.browser.mCurrentTab, 1, false, 1); else liberator.quit(false, args.bang); }, {
function () { liberator.restart(); },
function (args) { if (liberator.has("tabs")) tabs.remove(config.browser.mCurrentTab, 1, false, 1); else liberator.quit(false, args.bang); }, {
return request(this.URL + '/account/settings').addCallback(function(res){ var html = res.responseText; if(~html.indexOf('login')) throw new Error(chrome.i18n.getMessage('error_notLoggedin', self.name)); return { authenticity_token : html.extract(/authenticity_token.+value="(.+?)"/), siv : html.extract(/...
).addCallback(function(status){ return Twitter.getToken().addCallback(function(token){ token.status = status; return request(self.URL + '/status/update', update({ sendContent : token })); }).addCallback(function(res){ var msg = res.responseText.extract(/notification.setMessage\("(.*?)"\)/); if(msg) throw unescapeHTML(...
return request(this.URL + '/account/settings').addCallback(function(res){ var html = res.responseText; if(~html.indexOf('login')) throw new Error(chrome.i18n.getMessage('error_notLoggedin', self.name)); return { authenticity_token : html.extract(/authenticity_token.+value="(.+?)"/), ...
].forEach(function (command) { let unchunked = command.name == "helpa[ll]"; commands.add([command.name], command.description, function (args) { liberator.assert(!args.bang, "E478: Don't panic!"); liberator.help(args.literalArg, unchunked); }, { argCount: "?", bang: true, completer: function (context) completion.help(...
function (args) { Liberator.showHelpIndex("ex-cmd-index", commands, args.bang); }, {
].forEach(function (command) { let unchunked = command.name == "helpa[ll]"; commands.add([command.name], command.description, function (args) { liberator.assert(!args.bang, "E478: Don't panic!"); liberator.help(args.litera...
function () { events.feedkeys("<S-Up>"); });
function () { events.feedkeys("<S-Down>"); });
function () { events.feedkeys("<S-Up>"); });
$H(extras).each(function(pair) { headers[pair.key] = pair.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(...
$H(extras).each(function(pair) { headers[pair.key] = pair.value });
$$(".ddu_registers_checkbox").each( function(e) { if (e.checked == true) { registers.push(e.readAttribute("name")); }
$("no_dcc_registers").observe("click", function(ev) { $$(".dcc_registers_checkbox").each(function(element) { element.checked = false;
$$(".ddu_registers_checkbox").each( function(e) { if (e.checked == true) { registers.push(e.readAttribute("name")); } });
});
$$(".ddu_registers_checkbox").each( function(e) { if (e.checked == true) { registers.push(e.readAttribute("name")); } });
function (toolbar) toolbar.collapsed = false,
function (args) { liberator.assert(!args.bang, "E478: Don't panic!"); liberator.help(args.literalArg, unchunked); }, {
function (toolbar) toolbar.collapsed = false,
].forEach(function (command) { let unchunked = command.name == "helpa[ll]"; commands.add([command.name], command.description, function (args) { dactyl.assert(!args.bang, "E478: Don't panic!"); dactyl.help(args.literalArg, unchunked); }, { argCount: "?", bang: true, completer: function (context) completion.help(contex...
function (args) { Dactyl.showHelpIndex("ex-cmd-index", commands, args.bang); }, {
].forEach(function (command) { let unchunked = command.name == "helpa[ll]"; commands.add([command.name], command.description, function (args) { dactyl.assert(!args.bang, "E478: Don't panic!"); dactyl.help(args.literalArg, ...