rem
stringlengths
0
126k
add
stringlengths
0
441k
context
stringlengths
15
136k
"")).find(e):i.responseText);d&&this.each(d,[i.responseText,j,i])}});return this},serialize:function(){return c.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?c.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||sb....
Na.test(a)?a.replace(Na,b):b}return f.filter&&f.filter.indexOf("opacity=")>=0?parseFloat(Oa.exec(f.filter)[1])/100+"":""}if(ha.test(b))b=Pa;b=b.replace(ia,ja);if(e)f[b]=d;return f[b]},css:function(a,b,d,f){if(b==="width"||b==="height"){var e,j=b==="width"?pb:qb;function i(){e=b==="width"?a.offsetWidth:a.offsetHeight;f!...
"")).find(e):i.responseText);d&&this.each(d,[i.responseText,j,i])}});return this},serialize:function(){return c.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?c.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||sb....
})).addCallback(function(ress){ zip(urls, ress).forEach(function(pair){ var url = pair[0], res = pair[1]; text = text.replace(url, res);
}).addCallback(function(res){ return res[hash].longUrl;
})).addCallback(function(ress){ zip(urls, ress).forEach(function(pair){ var url = pair[0], res = pair[1]; text = text.replace(url, res); }); return text; });
return text; });
})).addCallback(function(ress){ zip(urls, ress).forEach(function(pair){ var url = pair[0], res = pair[1]; text = text.replace(url, res); }); return text; });
return firstByIndex ? firstByIndex : elements.find(function(element) { return ['input', 'select', 'textarea'].include(element.tagName.toLowerCase()); });
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 firstByIndex ? firstByIndex : elements.find(function(element) { return ['input', 'select', 'textarea'].include(element.tagName.toLowerCase()); });
util.timeout(function () { let init = services.get("environment").get(config.idName + "_INIT"); let rcFile = io.getRCFile("~"); try { if (dactyl.commandLineOptions.rcFile) { let filename = dactyl.commandLineOptions.rcFile; if (!/^(NONE|NORC)$/.test(filename)) io.source(io.File(filename).path, false); } else { if (init...
dactyl.commandLineOptions.postCommands.forEach(function (cmd) {
util.timeout(function () { let init = services.get("environment").get(config.idName + "_INIT"); let rcFile = io.getRCFile("~"); try { if (dactyl.commandLineOptions.rcFile) { let filename = dactyl.commandLineOptions.rcFile; if ...
dactyl.triggerObserver("enter", null); autocommands.trigger("Enter", {}); }, 0);
util.timeout(function () { let init = services.get("environment").get(config.idName + "_INIT"); let rcFile = io.getRCFile("~"); try { if (dactyl.commandLineOptions.rcFile) { let filename = dactyl.commandLineOptions.rcFile; if ...
function (count) { buffer.fullZoom = count > 1 ? count : 100; },
function (count) { Buffer.setZoom(count > 1 ? count : 100, true) },
function (count) { buffer.fullZoom = count > 1 ? count : 100; },
return request(url).addCallback(function(res) { var doc = createHTML(res.responseText); var form = $X(' if(form.action === '/bookmarklet/account/login'){ throw new Error(chrome.i18n.getMessage('error_notLoggedin', self.name)); } else { return formContents(form); }
})).forEach(function(pair) { var name = pair[0], value = pair[1]; if (!value) return; form[name] += value;
return request(url).addCallback(function(res) { var doc = createHTML(res.responseText); var form = $X('//form', doc)[0]; if(form.action === '/bookmarklet/account/login'){ throw new Error(chrome.i18n.getMessage('error_notLoggedin', self.name)); } else { return formContents(form); ...
"")).find(e):i.responseText);d&&this.each(d,[i.responseText,j,i])}});return this},serialize:function(){return c.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?c.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||sb....
serialize:function(){return c.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?c.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||ub.test(this.nodeName)||vb.test(this.type))}).map(function(a,b){a=c(this).val();retur...
"")).find(e):i.responseText);d&&this.each(d,[i.responseText,j,i])}});return this},serialize:function(){return c.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?c.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||sb....
zip(urls, ress).forEach(function(pair){ var url = pair[0], res = pair[1]; text = text.replace(url, res);
}).addCallback(function(res){ res = JSON.parse('(' + res.responseText + ')'); if(res.errorCode){ var error = new Error([res.statusCode, res.errorCode, res.errorMessage].join(': ')) error.detail = res; throw error; } return res.results;
zip(urls, ress).forEach(function(pair){ var url = pair[0], res = pair[1]; text = text.replace(url, res); });
Event.Methods = (function() { var isButton; if (Prototype.Browser.IE) { var buttonMap = { 0: 1, 1: 4, 2: 2 }; isButton = function(event, code) { return event.button == buttonMap[code]; }; } else if (Prototype.Browser.WebKit) { isButton = function(event, code) { switch (code) { case 0: return event.which == 1 && !even...
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(...
Event.Methods = (function() { var isButton; if (Prototype.Browser.IE) { var buttonMap = { 0: 1, 1: 4, 2: 2 }; isButton = function(event, code) { return event.button == buttonMap[code]; }; } else if (Prototype.Browser.WebKit) { isButton = function(event, code) { switch (code) { case 0: re...
})).forEach(function(pair) { var name = pair[0], value = pair[1]; if (!value) return; form[name] += value;
return this.postForm(function(){ return request(ps.favorite.endpoint, { sendContent: form });
})).forEach(function(pair) { var name = pair[0], value = pair[1]; if (!value) return; form[name] += value; });
io.source(localRCFile.path, true);
io.source(localRCFile.path, false);
util.timeout(function () { let init = services.get("environment").get(config.idName + "_INIT"); let rcFile = io.getRCFile("~"); try { if (dactyl.commandLineOptions.rcFile) { let filename = dactyl.commandLineOptions.rcFile; if ...
c.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,b){c.fn[b]=function(d){return this.bind(b,d)}});c.extend({get:function(a,b,d,f){if(c.isFunction(b)){f=f||d;d=b;b=null}return c.ajax({type:"GET",url:a,data:b,success:d,dataType:f})},getScript:function(a,b){return c.get(a,null,b...
serialize:function(){return c.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?c.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||ub.test(this.nodeName)||vb.test(this.type))}).map(function(a,b){a=c(this).val();retur...
c.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,b){c.fn[b]=function(d){return this.bind(b,d)}});c.extend({get:function(a,b,d,f){if(c.isFunction(b)){f=f||d;d=b;b=null}return c.ajax({type:"GET",url:a,data:b,success:d,dataType:f})},getScript:function(a,b){return c.get(a,null,b...
return this.values.filter(function(m){ if((ps.favorite && ps.favorite.name === m.name) || (m.check && m.check(ps))) return true; });
return gatherResults(urls.map(function(url){ return model.shorten(url); })).addCallback(function(ress){
return this.values.filter(function(m){ if((ps.favorite && ps.favorite.name === m.name) || (m.check && m.check(ps))) return true; });
Event.extend = (function() { var methods = Object.keys(Event.Methods).inject({ }, function(m, name) { m[name] = Event.Methods[name].methodize(); return m; }); if (Prototype.Browser.IE) { Object.extend(methods, { stopPropagation: function() { this.cancelBubble = true }, preventDefault: function() { this.returnValue = ...
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(...
Event.extend = (function() { var methods = Object.keys(Event.Methods).inject({ }, function(m, name) { m[name] = Event.Methods[name].methodize(); return m; }); if (Prototype.Browser.IE) { Object.extend(methods, { stopPropagation: function() { this.cancelBubble = true }, preventDefault: function() ...
return this.postForm(function(){ return request(ps.favorite.endpoint, { sendContent: form });
d.addCallback(function(res) { var doc = createHTML(res.responseText); if($X('descendant::ul[contains(concat(" ",normalize-space(@class)," ")," error ")]', doc)[0]){ throw new Error('Error posting entry.'); } else if($X(' throw new Error(chrome.i18n.getMessage('error_notLoggedin', self.name)); }
return this.postForm(function(){ return request(ps.favorite.endpoint, { sendContent: form }); });
return this.check(ps).filter(function(m){ return Models.getPostConfig(config, m.name, ps) === 'default';
})).addCallback(function(ress){ zip(urls, ress).forEach(function(pair){ var url = pair[0], res = pair[1]; text = text.replace(url, res); }); return text;
return this.check(ps).filter(function(m){ return Models.getPostConfig(config, m.name, ps) === 'default'; });
var methods = Object.keys(Event.Methods).inject({ }, function(m, name) { m[name] = Event.Methods[name].methodize(); return m; });
var Prototype={Version:"1.6.1",Browser:(function(){var b=navigator.userAgent;var a=Object.prototype.toString.call(window.opera)=="[object Opera]";return{IE:!!window.attachEvent&&!a,Opera:a,WebKit:b.indexOf("AppleWebKit/")>-1,Gecko:b.indexOf("Gecko")>-1&&b.indexOf("KHTML")===-1,MobileSafari:/Apple.*Mobile.*Safari/.test(...
var methods = Object.keys(Event.Methods).inject({ }, function(m, name) { m[name] = Event.Methods[name].methodize(); return m; });
function (count) { Buffer.setZoom(count > 1 ? count : 100, true) },
function (count) { buffer.zoomOut(Math.max(count, 1) * 3, true); },
function (count) { Buffer.setZoom(count > 1 ? count : 100, true) },
function (args) { Buffer.setZoom(args.count > 1 ? count : 100, false); },
function (args) { Buffer.setZoom(args.count > 1 ? args.count : 100, false); },
function (args) { Buffer.setZoom(args.count > 1 ? count : 100, false); },
function (count) { Buffer.setZoom(count > 1 ? count : 100, true); },
function (count) { buffer.zoomOut(Math.max(count, 1) * 3, true); },
function (count) { Buffer.setZoom(count > 1 ? count : 100, true); },
d.addCallback(function(res) {
return request(this.LINK).addCallback(function(res){
d.addCallback(function(res) { var doc = createHTML(res.responseText); if($X('descendant::ul[contains(concat(" ",normalize-space(@class)," ")," error ")]', doc)[0]){ throw new Error('Error posting entry.'); } else if($X('//form[@action="/bookmarklet/account/login"]', doc)[0]){ throw new ...
if($X('descendant::ul[contains(concat(" ",normalize-space(@class)," ")," error ")]', doc)[0]){ throw new Error('Error posting entry.'); } else if($X('
if(!($X('descendant::div[contains(concat(" ",normalize-space(@class)," ")," userbox ")]', doc)[0])){
d.addCallback(function(res) { var doc = createHTML(res.responseText); if($X('descendant::ul[contains(concat(" ",normalize-space(@class)," ")," error ")]', doc)[0]){ throw new Error('Error posting entry.'); } else if($X('//form[@action="/bookmarklet/account/login"]', doc)[0]){ throw new ...
var form = formContents($X('descendant::form[@action="/gists"]', doc)[0]); var content; switch(ps.type){ case 'regular': content = ps.description; break; case 'quote': content = joinText([ps.body, '', ps.itemUrl, '', ps.description], '\n\n'); break; } form['file_contents[gistfile1]'] = content; form['file_name[gistfile...
d.addCallback(function(res) { var doc = createHTML(res.responseText); if($X('descendant::ul[contains(concat(" ",normalize-space(@class)," ")," error ")]', doc)[0]){ throw new Error('Error posting entry.'); } else if($X('//form[@action="/bookmarklet/account/login"]', doc)[0]){ throw new ...
return this.check(ps).filter(function(m){ m.config = (m.config || {}); var val = m.config[ps.type] = Models.getPostConfig(config, m.name, ps); return val === undefined || /default|enabled/.test(val); });
zip(urls, ress).forEach(function(pair){ var url = pair[0], res = pair[1]; text = text.replace(url, res); });
return this.check(ps).filter(function(m){ m.config = (m.config || {}); var val = m.config[ps.type] = Models.getPostConfig(config, m.name, ps); return val === undefined || /default|enabled/.test(val); });
this.timeout(function () { this._container.height -= commandline.getSpaceNeeded(); }, 0);
template.map(util.range(0, options["maxitems"] * 2), function (i) <div highlight="CompItem NonText"> <li>~</li> </div>)
this.timeout(function () { this._container.height -= commandline.getSpaceNeeded(); }, 0);
return function(event) { if (!event) return false; if (event._extendedByPrototype) return event; event._extendedByPrototype = Prototype.emptyFunction; var pointer = Event.pointer(event); Object.extend(event, { target: event.srcElement, relatedTarget: Event.relatedTarget(event), pageX: pointer.x, pageY: pointer.y });...
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(event) { if (!event) return false; if (event._extendedByPrototype) return event; event._extendedByPrototype = Prototype.emptyFunction; var pointer = Event.pointer(event); Object.extend(event, { target: event.srcElement, relatedTarget: Event.relatedTarget(event)...
function (count) { buffer.showPageInfo(false); },
function (count) { Buffer.setZoom(count > 1 ? count : 100, true) },
function (count) { buffer.showPageInfo(false); },
function (count) { buffer.showPageInfo(false); },
function (count) { Buffer.setZoom(count > 1 ? count : 100, true); },
function (count) { buffer.showPageInfo(false); },
return request(this.LINK).addCallback(function(res){ var doc = createHTML(res.responseText); if(!($X('descendant::div[contains(concat(" ",normalize-space(@class)," ")," userbox ")]', doc)[0])){
return request(this.TOKEN_URL, { headers : { 'Accept': 'application/json' }}).addCallback(function(res) { var data = JSON.parse(res.responseText); if (!data['apiToken']) { delete self['apiToken'];
return request(this.LINK).addCallback(function(res){ var doc = createHTML(res.responseText); if(!($X('descendant::div[contains(concat(" ",normalize-space(@class)," ")," userbox ")]', doc)[0])){ throw new Error(chrome.i18n.getMessage('error_notLoggedin', self.name)); } var form = formConte...
var form = formContents($X('descendant::form[@action="/gists"]', doc)[0]); var content; switch(ps.type){ case 'regular': content = ps.description; break; case 'quote': content = joinText([ps.body, '', ps.itemUrl, '', ps.description], '\n\n'); break; } form['file_contents[gistfile1]'] = content; form['file_name[gistfile...
self.apiToken = data['apiToken']; return self.apiToken;
return request(this.LINK).addCallback(function(res){ var doc = createHTML(res.responseText); if(!($X('descendant::div[contains(concat(" ",normalize-space(@class)," ")," userbox ")]', doc)[0])){ throw new Error(chrome.i18n.getMessage('error_notLoggedin', self.name)); } var form = formConte...
return Tumblr.getTumblelogs().addCallback(function(blogs){ return blogs.map(function(blog){ var model = update({}, Tumblr); model.name = 'Tumblr - ' + blog.name; addBefore(model, 'appendTags', function(form, ps){ form.channel_id = blog.id; }); Models.register(model, 'Tumblr', true); Models.multipleTumblelogs.push(model...
return this.values.filter(function(m){ if((ps.favorite && ps.favorite.name === m.name) || (m.check && m.check(ps))) return true; });
return Tumblr.getTumblelogs().addCallback(function(blogs){ return blogs.map(function(blog){ var model = update({}, Tumblr); model.name = 'Tumblr - ' + blog.name; addBefore(model, 'appendTags', function(form, ps){ form.channel_id = blog.id; }); Models.register(model, 'Tumblr', true);...
Object.extend(Event, (function() { var cache = Event.cache; function getEventID(element) { if (element._prototypeEventID) return element._prototypeEventID[0]; arguments.callee.id = arguments.callee.id || 1; return element._prototypeEventID = [++arguments.callee.id]; } function getDOMEventName(eventName) { if (eventNa...
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(...
Object.extend(Event, (function() { var cache = Event.cache; function getEventID(element) { if (element._prototypeEventID) return element._prototypeEventID[0]; arguments.callee.id = arguments.callee.id || 1; return element._prototypeEventID = [++arguments.callee.id]; } function getDOMEventName(eventName) { ...
return request(this.HOME_URL).addCallback(function(res) { var login = res.responseText.extract(/(span class="logout")/); if (!login) {
return request(this.TOKEN_URL, { headers : { 'Accept': 'application/json' }}).addCallback(function(res) { var data = JSON.parse(res.responseText); if (!data['apiToken']) { delete self['apiToken'];
return request(this.HOME_URL).addCallback(function(res) { var login = res.responseText.extract(/(span class="logout")/); if (!login) { throw new Error(chrome.i18n.getMessage('error_notLoggedin', self.name)); } return true; });
return true;
self.apiToken = data['apiToken']; return self.apiToken;
return request(this.HOME_URL).addCallback(function(res) { var login = res.responseText.extract(/(span class="logout")/); if (!login) { throw new Error(chrome.i18n.getMessage('error_notLoggedin', self.name)); } return true; });
return request(this.TOKEN_URL, { headers : { 'Accept': 'application/json' }}).addCallback(function(res) { var data = JSON.parse(res.responseText); if (!data['apiToken']) { delete self['apiToken']; throw new Error(chrome.i18n.getMessage('error_notLoggedin', self.name)); } self.apiToken = data['apiToken']; return self.ap...
return this.getToken().addCallback(function(ok) { return self.update(joinText([ps.body, ps.description], "¥n", true), ps);
return request(this.TOKEN_URL, { headers : { 'Accept': 'application/json' }}).addCallback(function(res) { var data = JSON.parse(res.responseText); if (!data['apiToken']) { delete self['apiToken']; throw new Error(chrome.i18n.getMessage('error_notLoggedin', self.name)); } self.apiTo...
e.traditional);if(e.dataType==="jsonp"){if(n==="GET")O.test(e.url)||(e.url+=(ma.test(e.url)?"&":"?")+(e.jsonp||"callback")+"=?");else if(!e.data||!O.test(e.data))e.data=(e.data?e.data+"&":"")+(e.jsonp||"callback")+"=?";e.dataType="json"}if(e.dataType==="json"&&(e.data&&O.test(e.data)||O.test(e.url))){i=e.jsonpCallback|...
function(a,b){c.fn[b]=function(d){return this.bind(b,d)}});c.extend({get:function(a,b,d,f){if(c.isFunction(b)){f=f||d;d=b;b=null}return c.ajax({type:"GET",url:a,data:b,success:d,dataType:f})},getScript:function(a,b){return c.get(a,null,b,"script")},getJSON:function(a,b,d){return c.get(a,b,d,"json")},post:function(a,b,d...
e.traditional);if(e.dataType==="jsonp"){if(n==="GET")O.test(e.url)||(e.url+=(ma.test(e.url)?"&":"?")+(e.jsonp||"callback")+"=?");else if(!e.data||!O.test(e.data))e.data=(e.data?e.data+"&":"")+(e.jsonp||"callback")+"=?";e.dataType="json"}if(e.dataType==="json"&&(e.data&&O.test(e.data)||O.test(e.url))){i=e.jsonpCallback|...
return blogs.map(function(blog){ var model = update({}, Tumblr); model.name = 'Tumblr - ' + blog.name; addBefore(model, 'appendTags', function(form, ps){ form.channel_id = blog.id; }); Models.register(model, 'Tumblr', true); Models.multipleTumblelogs.push(model); return model; });
return this.check(ps).filter(function(m){ return Models.getPostConfig(config, m.name, ps) === 'default'; });
return blogs.map(function(blog){ var model = update({}, Tumblr); model.name = 'Tumblr - ' + blog.name; addBefore(model, 'appendTags', function(form, ps){ form.channel_id = blog.id; }); Models.register(model, 'Tumblr', true); Models.multipleTumblelogs.push(model); return mod...
return c.find(function(wrapper) { return wrapper.handler == handler });
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 c.find(function(wrapper) { return wrapper.handler == handler });
return this.checkAuth().addCallback(function(ok) { return self.update(joinText([ps.body, ps.description], "\n", true), ps);
return this.getToken().addCallback(function(ok) { return self.update(joinText([ps.body, ps.description], "¥n", true), ps);
return this.checkAuth().addCallback(function(ok) { return self.update(joinText([ps.body, ps.description], "\n", true), ps); });
return this.getToken().addCallback(function(ok) { return self.update(joinText([ps.body, ps.description], "¥n", true), ps); });
).addCallback(function(status) { var typeCode = 'U'; var media = {}; if (ps.type === 'photo') { typeCode = 'I'; media.mediaUrl = ps.pageUrl; media.mediaThumbnailUrl = ps.itemUrl; } else { media.mediaUrl = ps.itemUrl; } return request(self.POST_URL, { method : 'PUT', headers : { 'Accept': 'application/json', 'Content-T...
return this.getToken().addCallback(function(ok) { return self.update(joinText([ps.body, ps.description], "¥n", true), ps); });
addBefore(model, 'appendTags', function(form, ps){ form.channel_id = blog.id; });
return this.check(ps).filter(function(m){ m.config = (m.config || {}); var val = m.config[ps.type] = Models.getPostConfig(config, m.name, ps); return val === undefined || /default|enabled/.test(val); });
addBefore(model, 'appendTags', function(form, ps){ form.channel_id = blog.id; });
getWrappersForEventName(id, eventName).each(function(wrapper) { element.stopObserving(eventName, wrapper.handler); });
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(...
getWrappersForEventName(id, eventName).each(function(wrapper) { element.stopObserving(eventName, wrapper.handler); });
if (ps.type == 'photo') {
if (ps.type === 'photo') {
).addCallback(function(status) { var typeCode = 'U'; var media = {}; if (ps.type == 'photo') { typeCode = 'I'; media.mediaUrl = ps.pageUrl; media.mediaThumbnailUrl = ps.itemUrl; } else { media.mediaUrl = ps.itemUrl; } return request(self.POST_URL, { ...
'Content-Type': 'application/x-www-form-urlencoded; charset=utf-8, application/json'
'Content-Type': 'application/x-www-form-urlencoded; charset=utf-8, application/json', 'Api-Token': self.apiToken
).addCallback(function(status) { var typeCode = 'U'; var media = {}; if (ps.type == 'photo') { typeCode = 'I'; media.mediaUrl = ps.pageUrl; media.mediaThumbnailUrl = ps.itemUrl; } else { media.mediaUrl = ps.itemUrl; } return request(self.POST_URL, { ...
).addCallback(function(status) { var typeCode = 'U'; var media = {}; if (ps.type === 'photo') { typeCode = 'I'; media.mediaUrl = ps.pageUrl; media.mediaThumbnailUrl = ps.itemUrl; } else { media.mediaUrl = ps.itemUrl; } return request(self.POST_URL, { method : 'PUT', headers : { 'Accept': 'application/json', 'Content-T...
}).addCallback(function(res){ });
).addCallback(function(status) { var typeCode = 'U'; var media = {}; if (ps.type === 'photo') { typeCode = 'I'; media.mediaUrl = ps.pageUrl; media.mediaThumbnailUrl = ps.itemUrl; } else { media.mediaUrl = ps.itemUrl; } return request(self.POST_URL, { ...
}).addErrback(function(e){ alert('Multiple Tumblelog'+ ': ' + (e.message.status ? '\n' + ('HTTP Status Code ' + e.message.status).indent(4) : '\n' + e.message.indent(4))); });
return Tumblr.getTumblelogs().addCallback(function(blogs){ return blogs.map(function(blog){ var model = update({}, Tumblr); model.name = 'Tumblr - ' + blog.name; addBefore(model, 'appendTags', function(form, ps){ form.channel_id = blog.id; }); Models.register(model, 'Tumblr', true); Models.multipleTumblelogs.push(model...
}).addErrback(function(e){ alert('Multiple Tumblelog'+ ': ' + (e.message.status ? '\n' + ('HTTP Status Code ' + e.message.status).indent(4) : '\n' + e.message.indent(4))); });
Object.keys(getCacheForID(id)).each(function(eventName) { element.stopObserving(eventName); });
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(...
Object.keys(getCacheForID(id)).each(function(eventName) { element.stopObserving(eventName); });
this.execute(args[0] || "", null, true);
commands.execute(args[0] || "", null, true);
dactyl.withSavedValues(["forceNewTab"], function () { this.forceNewTab = true; this.execute(args[0] || "", null, true); });
equals(view.$('.sc-inner').css("width"), "0%", 'width should be 0%');
equals(view.$('.sc-inner')[0].style.width, "0%", 'width should be 0%');
test("changing value from full -> negative number", function() { var view = pane.view('progress basic value 100'); SC.RunLoop.begin(); view.set('value', 100); SC.RunLoop.end(); SC.RunLoop.begin(); view.set('value', -10); SC.RunLoop.end(); equals(view.$('.sc-inner').css("width"), "0%", 'width should be 0%'); ...
function (arg) { quickmarks.jumpTo(arg, /\bquickmark\b/.test(options["activate"]) ? dactyl.NEW_TAB : dactyl.NEW_BACKGROUND_TAB); },
function (arg) { quickmarks.jumpTo(arg, { from: "quickmark", where: dactyl.NEW_TAB }); },
function (arg) { quickmarks.jumpTo(arg, /\bquickmark\b/.test(options["activate"]) ? dactyl.NEW_TAB : dactyl.NEW_BACKGROUND_TAB); },
if (arg) { if (/^\d+$/.test(arg)) tabs.select("-" + arg, true);
if (arg || count > 0) { let index; if (arg) { dactyl.assert(/^\d+$/.test(arg), "E488: Trailing characters"); index = arg - 1; }
function (args) { let count = args.count; let arg = args[0]; // count is ignored if an arg is specified, as per Vim if (arg) { if (/^\d+$/.test(arg)) tabs.select("-" + arg, true); else ...
dactyl.echoerr("E488: Trailing characters");
index = count - 1; if (index < tabs.count) tabs.select(index, true); else dactyl.beep();
function (args) { let count = args.count; let arg = args[0]; // count is ignored if an arg is specified, as per Vim if (arg) { if (/^\d+$/.test(arg)) tabs.select("-" + arg, true); else ...
else if (count > 0) tabs.select("-" + count, true);
function (args) { let count = args.count; let arg = args[0]; // count is ignored if an arg is specified, as per Vim if (arg) { if (/^\d+$/.test(arg)) tabs.select("-" + arg, true); else ...
tabs.select("-1", true);
tabs.select("+1", true);
function (args) { let count = args.count; let arg = args[0]; // count is ignored if an arg is specified, as per Vim if (arg) { if (/^\d+$/.test(arg)) tabs.select("-" + arg, true); else ...
return binaryRequest(url, opt).addCallback(function(res){ var binary = res.responseText; var charset = null; var header = res.getResponseHeader('Content-Type'); if(header) charset = getCharset(header); if(!charset) charset = getEncoding(binary); if(!charset) charset = 'utf-8'; return request(url, update({ charset: 'te...
posters.forEach(function(p){ try{ ds[p.name] = (ps.favorite && RegExp('^' + ps.favorite.name + '(\\s|$)').test(p.name))? p.favor(ps) : p.post(ps); } catch(e){ ds[p.name] = fail(e); } });
return binaryRequest(url, opt).addCallback(function(res){ var binary = res.responseText; var charset = null; var header = res.getResponseHeader('Content-Type'); if(header) charset = getCharset(header); if(!charset) charset = getEncoding(binary); if(!charset) charset = 'utf-8'; return request(url...
console.log("START");
this.all.forEach(function(service){ var icon = service.icon; var link = service.link; service = $A(service); servicename = service[0]; self.elements[servicename] = {}; var children = []; if(link){ children.push($N('a', { href: link, target: '_blank' }, $N('img', { s...
console.log("END");
this.all.forEach(function(service){ var icon = service.icon; var link = service.link; service = $A(service); servicename = service[0]; self.elements[servicename] = {}; var children = []; if(link){ children.push($N('a', { href: link, target: '_blank' }, $N('img', { s...
$(this).parent().slideUp("fast", function () { $(this).remove(); });
$("a.delete-group").live("click", function () { c = confirm('Are you sure you want to delete this group? This action cannot be undone.'); if (c) { trgt = this; action = $(this).attr("rel"); $.post(action, $.param({'delete': true}), function (data) { if (data['deleted']) { selector = '[rel="' + action + '"]'; containin...
$(this).parent().slideUp("fast", function () { $(this).remove(); });
findHelpFile(file).forEach(function (doc) {
util.Array.flatten(files).forEach(function (file) { findHelpFile(file).forEach(function (doc) {
findHelpFile(file).forEach(function (doc) { addTags(file, doc); });
});
findHelpFile(file).forEach(function (doc) { addTags(file, doc); });
this.Data.ajax_getData('usersReq', _Settings.dataURL, {}, getData, function(){});
this.Data.ajax_getData('usersReq', _Settings.dataURL, _Settings.dataURL_params(this.Data), getData, function(){});
this.Data.ajax_getData('usersReq', _Settings.dataURL, {}, getData, function(){});
rangefinder._found = false; rangefinder.onSubmit(buffer.getCurrentWord(), false);
rangefinder.find(buffer.getCurrentWord(), false); rangefinder.findAgain();
function () { rangefinder._found = false; rangefinder.onSubmit(buffer.getCurrentWord(), false); });
var log = exports.log;
var Logger = exports.Class(function() { this.init = function(name, level) { this._name = name; this._level = level || logging.DEBUG; } this.setLevel = function(level) { this._level = level; } var slice = Array.prototype.slice; function makeLogFunction(level, type) { return function() { if (!production...
function () { dactyl.echomsg(io.getCurrentDirectory().path); },
function () { dactyl.echomsg(io.cwd); },
function () { dactyl.echomsg(io.getCurrentDirectory().path); },
jsio.addCmd(function(context, path, request, opts, imports) {
jsio.addCmd(function(context, request, opts, imports) {
jsio.addCmd(function(context, path, request, opts, imports) { var match = request.match(/^\s*(from|external)\s+([\w.$]+)\s+(import|grab)\s+(.*)$/); if(match) { imports.push({ from: resolveRelativePath(match[2], path), external: match[1] == 'external', grab: match[3] == 'grab', 'import': {} }); matc...
from: resolveRelativePath(match[2], path), external: match[1] == 'external', grab: match[3] == 'grab',
from: match[2], dontAddBase: match[1] == 'external', dontUseExports: match[3] == 'grab' || match[1] == 'external',
jsio.addCmd(function(context, path, request, opts, imports) { var match = request.match(/^\s*(from|external)\s+([\w.$]+)\s+(import|grab)\s+(.*)$/); if(match) { imports.push({ from: resolveRelativePath(match[2], path), external: match[1] == 'external', grab: match[3] == 'grab', 'import': {} }); matc...
rows.each(function(row_obj) { if (skip < int_start_row) { skip++; return; } else { row_obj.setStyle({display: 'none'});
arr_iframe_id.each(function(str_iframe_id) { var iframeObj = $(str_iframe_id); if (iframeObj) { var iframesNum = iframes.length; if (iframesNum < 1) { iframes[0] = iframeObj; } else { iframes[iframes.length] = iframeObj; } iframeObj.src = iframeObj.src + '&block=true';
rows.each(function(row_obj) { if (skip < int_start_row) { skip++; return; } else { row_obj.setStyle({display: 'none'}); } });
jsio.addCmd(function(context, request, opts, imports) { var match = request.match(/^\s*(from|external)\s+([\w.$]+)\s+(import|grab)\s+(.*)$/); if(match) { imports.push({ from: match[2], dontAddBase: match[1] == 'external', dontUseExports: match[3] == 'grab' || match[1] == 'external', 'import': {} }); match[4].replace(/...
ctx.require = ENV.require ? ENV.require : function(request, opts) { opts.dontExport = true; return ctx.jsio(request, opts); };
jsio.addCmd(function(context, request, opts, imports) { var match = request.match(/^\s*(from|external)\s+([\w.$]+)\s+(import|grab)\s+(.*)$/); if(match) { imports.push({ from: match[2], dontAddBase: match[1] == 'external', dontUseExports: match[3] == 'grab' || match[1] == 'external', 'import': {} }); ...
this.element.find("[type='radio']").each(function(key,value){ $(this).click(function(){ var check_id = $(this).val(); if($(this).is(':checked')){ var c_detail = new DcmgrGUI.Detail({ element_id:$('<div></div>'), template_id:params.template_id }); c_detail.element.bind('dcmgrGUI.contentChange',function(event,params){ ...
$.each(this.checked_list,function(id,obj){ obj.element.find('.state').html(state); $('#detail').find('#'+id).find('.state').html(state);
this.element.find("[type='radio']").each(function(key,value){ $(this).click(function(){ var check_id = $(this).val(); if($(this).is(':checked')){ var c_detail = new DcmgrGUI.Detail({ element_id:$('<div></div>'), template_id:params.template_id }); ...
var bindingTypeResults = Report.dataTypes.results.bindings.filter(function(el) { return el.bindingType == bindingType; } )
var bindingTypeDataTypes = Report.dataTypes.results.bindings.filter(function(el) { return el.bindingType.value == bindingType.type.value; } )
var bindingTypeResults = Report.dataTypes.results.bindings.filter(function(el) { return el.bindingType == bindingType; } )
me._registerQuery(r);
me._registerQuery(queries, r);
$.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) ...
this._level = level || logging.DEBUG;
this._level = level || logging.LOG;
var Logger = exports.Class(function() { this.init = function(name, level) { this._name = name; this._level = level || logging.DEBUG; } this.setLevel = function(level) { this._level = level; } var slice = Array.prototype.slice; var log = exports.log; function makeLogFunction(level, type) { return functio...
log.apply(log, [type, this._name].concat(slice.call(arguments, 0)));
return log.apply(log, [type, this._name].concat(slice.call(arguments, 0)));
var Logger = exports.Class(function() { this.init = function(name, level) { this._name = name; this._level = level || logging.DEBUG; } this.setLevel = function(level) { this._level = level; } var slice = Array.prototype.slice; var log = exports.log; function makeLogFunction(level, type) { return functio...
setTimeout(function() { jQuery("body").bind("click", function() { if (!AtD.suggestShow) jQuery('#suggestmenu').fadeOut(200); }); }, 1);
(function(sugg) { suggest.append('<a onclick="AtD.useSuggestion(\'' + sugg.replace(/'/, '\\\'') + '\');">' + sugg + '</a>'); })(errorDescription["suggestions"][i]);
setTimeout(function() { jQuery("body").bind("click", function() { if (!AtD.suggestShow) jQuery('#suggestmenu').fadeOut(200); }); }, 1);
var bindingVariables = this.variables.filter(function(variable) { return variable.binding.value == binding.binding.value; } );
function(visualization) { visualization.hasSufficientColumns = Visualization.prototype.hasSufficientColumns; return !visualization.hasSufficientColumns(); });
var bindingVariables = this.variables.filter(function(variable) { return variable.binding.value == binding.binding.value; } );
.addListener('body', function (chunk) { body.push(chunk); })
.addListener('complete', function () { promise.emitSuccess(body.join('')); });
.addListener('body', function (chunk) { body.push(chunk); // body += chunk })
/\bquickmark\b/.test(options["activate"]) ?
options.get("activate").has("all", "quickmark") ?
function (arg) { quickmarks.jumpTo(arg, /\bquickmark\b/.test(options["activate"]) ? liberator.NEW_TAB : liberator.NEW_BACKGROUND_TAB); },
return fileContents.replace(buildUtil.cssImportRegExp, function(fullMatch, urlStart, importFileName, urlEnd, mediaTypes){ if(mediaTypes && ((mediaTypes.replace(/^\s\s*/, '').replace(/\s\s*$/, '')) != "all")){ return fullMatch;
return resourceContent.replace(buildUtil.interningGlobalDojoUriRegExp, function(matchString){ var parts = matchString.match(buildUtil.interningLocalDojoUriRegExp); var filePath = ""; var resourceNsName = ""; if(!shownFileName){ logger.trace("Interning strings for : " + resourceFile); shownFileName = true;
return fileContents.replace(buildUtil.cssImportRegExp, function(fullMatch, urlStart, importFileName, urlEnd, mediaTypes){ //Only process media type "all" or empty media type rules. if(mediaTypes && ((mediaTypes.replace(/^\s\s*/, '').replace(/\s\s*$/, '')) != "all")){ return fullMatch; } importFileName = buildUti...
importFileName = buildUtil.cleanCssUrlQuotes(importFileName); if(cssImportIgnore && cssImportIgnore.indexOf(importFileName + ",") != -1){ return fullMatch;
filePath = buildUtil.makeResourceUri(parts[6], parts[9], srcRoot, prefixes); resourceNsName = parts[6] + ':' + parts[9]; if(!filePath || buildUtil.isValueInArray(resourceNsName, skiplist)){ logger.trace(" skipping " + filePath); }else{ logger.trace(" " + filePath); var jsEscapedContent = buildUtil.jsEscape(file...
return fileContents.replace(buildUtil.cssImportRegExp, function(fullMatch, urlStart, importFileName, urlEnd, mediaTypes){ //Only process media type "all" or empty media type rules. if(mediaTypes && ((mediaTypes.replace(/^\s\s*/, '').replace(/\s\s*$/, '')) != "all")){ return fullMatch; } importFileName = buildUti...
importFileName = importFileName.replace(buildUtil.backSlashRegExp, "/"); try{ var fullImportFileName = importFileName.charAt(0) == "/" ? importFileName : filePath + importFileName; var importContents = fileUtil.readFile(fullImportFileName); importContents = buildUtil.flattenCss(fullImportFileName, importContents)...
return matchString;
return fileContents.replace(buildUtil.cssImportRegExp, function(fullMatch, urlStart, importFileName, urlEnd, mediaTypes){ //Only process media type "all" or empty media type rules. if(mediaTypes && ((mediaTypes.replace(/^\s\s*/, '').replace(/\s\s*$/, '')) != "all")){ return fullMatch; } importFileName = buildUti...
function () { document.commandDispatcher.advanceFocus(); });
function () { modes.push(modes.PASS_THROUGH); });
function () { document.commandDispatcher.advanceFocus(); });
e.observe("click", function(event) { $$(".upload").each(function(el) { el.disabled = true;
var chip = e.readAttribute("chip"); e.observe("click", function(ev) { uploading = true; $$(".form_hidden").invoke("remove"); var form = $(chip + "_form"); var crateEle = new Element("input", {"class": "form_hidden", name: "crate", value: crateNumber, type: "hidden"}); form.insert(crateEle); var boardEle = new Elemen...
$$(".upload").each(function(e) { // Disable all upload buttons to begin with. The updater will enable them. e.disabled = true; e.observe("click", function(event) { // When firmware is being uploaded, make sure no other firmware can be uploaded by disabling buttons, $$(".upload").each(function(el) { el.di...
var chip = e.readAttribute("chip"); $$("form[chip=\"" + chip + "\"").each(function(el) { el["crate"] = crateNumber; el["chip"] = chip; el["slot"] = new Array(); $$("input[chip=\"" + chip + "\"").each(function(ele) { el["slot"].push(ele.readAttribute("slot")); }); el.submit; }); });
$$(".upload").each(function(e) { // Disable all upload buttons to begin with. The updater will enable them. e.disabled = true; e.observe("click", function(event) { // When firmware is being uploaded, make sure no other firmware can be uploaded by disabling buttons, $$(".upload").each(function(el) { el.di...
main.addCallback(function(ps){ form = new Form(ps); });
connect(window, 'onunload', this, function(ev){ if(!this.posted && isPopup){ this.save(); } });
main.addCallback(function(ps){ form = new Form(ps);});
$.each(this.checked_list,function(id,obj){ obj.element.find('.state').html(state); $('#detail').find('#'+id).find('.state').html(state);
this.element.find("[type='radio']").each(function(key,value){ $(this).click(function(){ var check_id = $(this).val(); if($(this).is(':checked')){ var c_detail = new DcmgrGUI.Detail({ element_id:$('<div></div>'), template_id:params.template_id }); c_detail.element.bind('dcmgrGUI.contentChange',function(event,params){ ...
$.each(this.checked_list,function(id,obj){ obj.element.find('.state').html(state); $('#detail').find('#'+id).find('.state').html(state); });
uploading = true;
$$(".upload").each(function(e) { // Disable all upload buttons to begin with. The updater will enable them. e.disabled = true; var chip = e.readAttribute("chip"); // Intercept clicks, add form data and disable buttons appropriately. e.observe("click", function(ev) { // Make sure the updater knows that we are u...
function () { editor.executeCommand("cmd_deleteWordBackward", 1); });
function (motion, count) { editor.executeCommandWithMotion(key, motion, count); },
function () { editor.executeCommand("cmd_deleteWordBackward", 1); });
return request(embedUrl, {charset : 'utf-8'}).addCallback(function(res){ var doc = createHTML(res.responseText);
return request(ctx.href).addCallback(function(res){ ctx.title = res.responseText.extract(/<title.*?>([\s\S]*?)<\/title>/im).replace(/[\n\r]/g, '').trim() || createURI(itemUrl).fileName;
return request(embedUrl, {charset : 'utf-8'}).addCallback(function(res){ var doc = createHTML(res.responseText); return { type : 'video', item : ctx.title, itemUrl : ctx.href, body : $X('//input[@name="script_code"]/@value', doc)[0] }; });
type : 'video',
type : 'photo',
return request(embedUrl, {charset : 'utf-8'}).addCallback(function(res){ var doc = createHTML(res.responseText); return { type : 'video', item : ctx.title, itemUrl : ctx.href, body : $X('//input[@name="script_code"]/@value', doc)[0] }; });
itemUrl : ctx.href, body : $X(' };
itemUrl : itemUrl }
return request(embedUrl, {charset : 'utf-8'}).addCallback(function(res){ var doc = createHTML(res.responseText); return { type : 'video', item : ctx.title, itemUrl : ctx.href, body : $X('//input[@name="script_code"]/@value', doc)[0] }; });
$$("form[chip=\"" + e.readAttribute("chip") + "\"").invoke("submit");
$$("form[chip=\"" + chip + "\"").each(function(el) { el["crate"] = crateNumber; el["chip"] = chip; el["slot"] = new Array(); $$("input[chip=\"" + chip + "\"").each(function(ele) { el["slot"].push(ele.readAttribute("slot")); }); el.submit; });
$$(".upload").each(function(e) { // Disable all upload buttons to begin with. The updater will enable them. e.disabled = true; e.observe("click", function(event) { // When firmware is being uploaded, make sure no other firmware can be uploaded by disabling buttons, $$(".upload").each(function(el) { el.di...
function () { dactyl.assert(io.sourcing, "E168: :finish used outside of a sourced file"); io.sourcing.finished = true; },
function () { dactyl.echomsg(io.cwd); },
function () { dactyl.assert(io.sourcing, "E168: :finish used outside of a sourced file"); io.sourcing.finished = true; },
{ var country = country_node.get( 'options' ).item( country_node.get( 'selectedIndex' ) ).get( 'value' );
{ var country = country_node.get( 'options' ).item( country_node.get( 'selectedIndex' ) ).get( 'value' ); Y.io.ez( 'xrowecommerce::getSubdivisions::' + country, { arguments: country_node, on: { success: function( id, r, country_node) { YUI().use('node', function(Y) { var data = r.responseJSON.content;
YUI().use( 'node', 'io', 'io-ez', function( Y ) { var country = country_node.get( 'options' ).item( country_node.get( 'selectedIndex' ) ).get( 'value' ); Y.io.ez( 'xrowecommerce::getSubdivisions::' + country, { arguments: country_node, on: { success: function( id, r, country...
Y.io.ez( 'xrowecommerce::getSubdivisions::' + country, { arguments: country_node, on: { success: function( id, r, country_node) { YUI().use('node', function(Y) { var data = r.responseJSON.content; if( country_node.get('id') == 'country' ) { var subdivision_node = Y.Node.get( '#state' ); } else { var subdivision_node =...
if( country_node.get('id') == 'country' ) { var subdivision_node = Y.Node.get( '#state' ); } else { var subdivision_node = Y.Node.get( '#s_state' ); } if ( subdivision_node.get( 'selectedIndex' ) > 0 ) { var stateSelIndex = subdivision_node.get( 'selectedIndex' ); var oldStateValue = subdivision_node.get( 'options' )...
YUI().use( 'node', 'io', 'io-ez', function( Y ) { var country = country_node.get( 'options' ).item( country_node.get( 'selectedIndex' ) ).get( 'value' ); Y.io.ez( 'xrowecommerce::getSubdivisions::' + country, { arguments: country_node, on: { success: function( id, r, country...
let validEvents = config.autocommands.map(function (event) event[0]);
dactyl.assert(events.every(function (event) validEvents.indexOf(event) >= 0),
let validEvents = config.autocommands.map(function (event) event[0]);
args = args[0];
dactyl.dump(args); args = args[0] || "";
function (args) { args = args[0]; // ignore invalid qmark characters unless there are no valid qmark chars dactyl.assert(!args || /[a-zA-Z0-9]/.test(args), "E283: No QuickMarks matching " + args.quote()); let filter = args.replace(/[^a-zA-Z0-9]/g, ...
function () tabs.select("$", false),
dactyl.withSavedValues(["forceNewTab"], function () { this.forceNewTab = true; this.execute(args[0] || "", null, true); });
function () tabs.select("$", false),
$(quickeditor).parent().replaceWith('<div class="content">' + html + '</div>');
$(quickeditor).parent().replaceWith('<div class="content text-content">' + html + '</div>');
$(quickeditor).parent().children('.submit-buttons').children('[name=submit]').click(function() { $(this).parent().hide(); // Ajax time $.ajax({ type: "POST", url: $(quickeditor).parent().attr('action'), data: $(quickeditor).parent().serialize() + '&submit=1', success: function(html){...