rem stringlengths 0 126k | add stringlengths 0 441k | context stringlengths 15 136k |
|---|---|---|
function (args) { let arg = args.literalArg; let titles = buffer.alternateStyleSheets.map(function (stylesheet) stylesheet.title); liberator.assert(!arg || titles.indexOf(arg) >= 0, "E475: Invalid argument: " + arg); if (options["usermode"]) options["usermode"] = false; window.stylesheetSwitchAll(window.content, ar... | let titles = buffer.alternateStyleSheets.map(function (stylesheet) stylesheet.title); | function (args) { let arg = args.literalArg; let titles = buffer.alternateStyleSheets.map(function (stylesheet) stylesheet.title); liberator.assert(!arg || titles.indexOf(arg) >= 0, "E475: Invalid argument: " + arg); if (options[... |
l=0,q=b.length;l<q;l++){if(k.indexOf(" "+b[l]+" ")<0)h.className+=" "+b[l]}else h.className=a}return this},removeClass:function(a){if(d.isFunction(a))return this.each(function(p){var o=d(this);o.removeClass(a.call(this,p,o.attr("class")))});if(a&&typeof a==="string"||a===v)for(var b=(a||"").split(W),e=0,g=this.length;e... | b){for(var e=[];a;a=a.nextSibling)a.nodeType===1&&a!==b&&e.push(a);return e}});var ia=/[\n\t]/g,W=/\s+/,Ea=/\r/g,Fa=/href|src|style/,Ga=/(button|input)/i,Ha=/(button|input|object|select|textarea)/i,Ia=/^(a|area)$/i,ja=/radio|checkbox/;c.fn.extend({attr:function(a,b){return S(this,a,b,true,c.attr)},removeAttr:function(a... | l=0,q=b.length;l<q;l++){if(k.indexOf(" "+b[l]+" ")<0)h.className+=" "+b[l]}else h.className=a}return this},removeClass:function(a){if(d.isFunction(a))return this.each(function(p){var o=d(this);o.removeClass(a.call(this,p,o.attr("class")))});if(a&&typeof a==="string"||a===v)for(var b=(a||"").split(W),e=0,g=this.length;e... |
window.setTimeout(function () | run_new_query = (function () | window.setTimeout(function () { BF.include("js/secondary.js", { settings: settings, topBar: viewPort.firstChild, viewPort_num: viewPort_num, page: page }); }, 1000); |
BF.include("js/secondary.js", { settings: settings, topBar: viewPort.firstChild, viewPort_num: viewPort_num, page: page }); }, 1000); | function determine_search_type(search_terms) { var exclude_json = "", grammar_attribute_json = "", grammar_attributes, grammar_json = "", grammar_search_term, split_start, split_pos; if ((split_pos = search_terms.indexOf(BF.lang.grammar_marker)) != -1) { grammar_search_term = search_terms.sli... | window.setTimeout(function () { BF.include("js/secondary.js", { settings: settings, topBar: viewPort.firstChild, viewPort_num: viewPort_num, page: page }); }, 1000); |
mail.selectMessage(function (msg) msg.mime2DecodedAuthor.toLowerCase().indexOf(author) == 0, true, true, false, count); | function (count) { try { let author = gDBView.hdrForFirstSelectedMessage.mime2DecodedAuthor.toLowerCase(); mail.selectMessage(function (msg) msg.mime2DecodedAuthor.toLowerCase().indexOf(author) == 0, true, true, false, count); } catch (e) { liberator.beep(); } }, | mail.selectMessage(function (msg) msg.mime2DecodedAuthor.toLowerCase().indexOf(author) == 0, true, true, false, count); |
var leaveWhisper = new ServerReq('leavewhisper.php',function(response) { whisper.destroy(); $('content').setStyles(contentSize); }); | response.whisperers.each(function(whisperer) { whisperer.uid = whisperer.uid.toInt(); if(me.uid != whisperer.uid) addUser(whisperer,whisper); }); | var leaveWhisper = new ServerReq('leavewhisper.php',function(response) { whisper.destroy(); $('content').setStyles(contentSize); }); |
$.getJSON('cgi-bin/graphdefs.cgi', function(data) { graph_def_values = data.graph_defs for ( var def in graph_def_values) { $('#graphdef-name').append( '<option value="' + def + '">' + def + '</option>'); } }); | $('#hosts a, #plugins a').live('click', function() { $(this).addClass("selected"); }); | $.getJSON('cgi-bin/graphdefs.cgi', function(data) { graph_def_values = data.graph_defs for ( var def in graph_def_values) { $('#graphdef-name').append( '<option value="' + def + '">' + def + '</option>'); } }); |
response.whisperers.each(function(whisperer) { whisperer.uid = whisperer.uid.toInt(); if(me.uid != whisperer.uid) addUser(whisperer,whisper); }); | var leaveWhisper = new ServerReq('leavewhisper.php',function(response) { whisper.destroy(); $('content').setStyles(contentSize); }); | response.whisperers.each(function(whisperer) { whisperer.uid = whisperer.uid.toInt(); if(me.uid != whisperer.uid) addUser(whisperer,whisper); }); |
var request = new ServerReq('demote.php',function (response) { | div.addEvent('click', function(e) { e.stop(); if(e.control && e.alt) { var request = new ServerReq('demote.php',function (response) { | var request = new ServerReq('demote.php',function (response) { MBchat.updateables.poller.pollResponse(response); }).transmit({ |
'lid':MBchat.updateables.poller.getLastId(), 'rid':room.rid}); } }); | var request = new ServerReq('demote.php',function (response) { MBchat.updateables.poller.pollResponse(response); }).transmit({ | |
return this.each(function() { var form = $(this), validator = new Validator(form.find(":input"), form, conf); form.data("validator", validator); }); | inputs.filter(":checkbox, select").filter("[required]").change(function(e) { var el = $(this); if (this.checked || (el.is("select") && $(this).val())) { effects[conf.effect][1].call(self, el, e); } }); | return this.each(function() { var form = $(this), validator = new Validator(form.find(":input"), form, conf); form.data("validator", validator); }); |
let titles = buffer.alternateStyleSheets.map(function (stylesheet) stylesheet.title); | .filter(function (engine) engine.supportsResponseType("application/x-suggestions+json")); | let titles = buffer.alternateStyleSheets.map(function (stylesheet) stylesheet.title); |
var el = new Validator($(this), conf); $(this).data("validator", el); }); | var form = $(this), validator = new Validator(form.find(":input"), form, conf); form.data("validator", validator); }); | return this.each(function() { var el = new Validator($(this), conf); $(this).data("validator", el); }); |
k.length-1)}else h.className=""}return this},toggleClass:function(a,b){var e=typeof a,g=typeof b==="boolean";if(d.isFunction(a))return this.each(function(h){var k=d(this);k.toggleClass(a.call(this,h,k.attr("class"),b),b)});return this.each(function(){if(e==="string")for(var h,k=0,l=d(this),q=b,p=a.split(W);h=p[k++];){q... | p,o.attr("class")))});if(a&&typeof a==="string")for(var b=(a||"").split(W),e=0,f=this.length;e<f;e++){var h=this[e];if(h.nodeType===1)if(h.className)for(var k=" "+h.className+" ",l=0,q=b.length;l<q;l++){if(k.indexOf(" "+b[l]+" ")<0)h.className+=" "+b[l]}else h.className=a}return this},removeClass:function(a){if(c.isFun... | k.length-1)}else h.className=""}return this},toggleClass:function(a,b){var e=typeof a,g=typeof b==="boolean";if(d.isFunction(a))return this.each(function(h){var k=d(this);k.toggleClass(a.call(this,h,k.attr("class"),b),b)});return this.each(function(){if(e==="string")for(var h,k=0,l=d(this),q=b,p=a.split(W);h=p[k++];){q... |
function (count) { try { let author = gDBView.hdrForFirstSelectedMessage.mime2DecodedAuthor.toLowerCase(); mail.selectMessage(function (msg) msg.mime2DecodedAuthor.toLowerCase().indexOf(author) == 0, true, true, true, count); } catch (e) { liberator.beep(); } }, | mail.selectMessage(function (msg) msg.mime2DecodedAuthor.toLowerCase().indexOf(author) == 0, true, true, false, count); | function (count) { try { let author = gDBView.hdrForFirstSelectedMessage.mime2DecodedAuthor.toLowerCase(); mail.selectMessage(function (msg) msg.mime2DecodedAuthor.toLowerCase().indexOf(author) == 0, true, true, true, count); } ... |
closeBox.addEvent('click', function(e) { leaveWhisper.transmit({'wid': wid}); | var leaveWhisper = new ServerReq('leavewhisper.php',function(response) { whisper.destroy(); $('content').setStyles(contentSize); | closeBox.addEvent('click', function(e) { leaveWhisper.transmit({'wid': wid}); }); |
span.addEvent('mousedown',function (e) { MBchat.updateables.whispers.whisperWith(user,span,e); | onlineReq = new ServerReq('client/online.php',function(response) { onlineList.removeClass('loading'); onlineList.addClass(room.type); currentRid = loadingRid; loadingRid = -1; onlineList.empty(); var users = response.online; if (users.length > 0 ) { users.each(function(user) { user.uid = user.uid.toInt(); addUser(user)... | span.addEvent('mousedown',function (e) { MBchat.updateables.whispers.whisperWith(user,span,e); }); |
} lastId = response.lastid; }); | span.addEvent('mousedown',function (e) { MBchat.updateables.whispers.whisperWith(user,span,e); }); | |
$('#graphdef-name').change(function() { var gdef = $(this).val(); var values = graph_def_values[gdef]; $('#graphdef-content').val(values.join('\n')); }); | $(window).scroll(function () { lazy_check(); }); | $('#graphdef-name').change(function() { var gdef = $(this).val(); var values = graph_def_values[gdef]; $('#graphdef-content').val(values.join('\n')); }); |
var leaveWhisper = new ServerReq('leavewhisper.php',function(response) { whisper.destroy(); $('content').setStyles(contentSize); | closeBox.addEvent('click', function(e) { leaveWhisper.transmit({'wid': wid}); | var leaveWhisper = new ServerReq('leavewhisper.php',function(response) { whisper.destroy(); $('content').setStyles(contentSize); }); |
span.addEvent('mousedown',function (e) { MBchat.updateables.whispers.whisperWith(user,span,e); }); | var request = new ServerReq('demote.php',function (response) { MBchat.updateables.poller.pollResponse(response); }).transmit({ | span.addEvent('mousedown',function (e) { MBchat.updateables.whispers.whisperWith(user,span,e); }); |
function (args) { tabs.reload(config.browser.mCurrentTab, args.bang); }, | return engines.map(function (engine) [engine.alias, engine.description]); | function (args) { tabs.reload(config.browser.mCurrentTab, args.bang); }, |
k.length-1)}else h.className=""}return this},toggleClass:function(a,b){var e=typeof a,g=typeof b==="boolean";if(d.isFunction(a))return this.each(function(h){var k=d(this);k.toggleClass(a.call(this,h,k.attr("class"),b),b)});return this.each(function(){if(e==="string")for(var h,k=0,l=d(this),q=b,p=a.split(W);h=p[k++];){q... | this[e];if(h.nodeType===1&&h.className)if(a){for(var k=(" "+h.className+" ").replace(ia," "),l=0,q=b.length;l<q;l++)k=k.replace(" "+b[l]+" "," ");h.className=k.substring(1,k.length-1)}else h.className=""}return this},toggleClass:function(a,b){var e=typeof a,f=typeof b==="boolean";if(c.isFunction(a))return this.each(fun... | k.length-1)}else h.className=""}return this},toggleClass:function(a,b){var e=typeof a,g=typeof b==="boolean";if(d.isFunction(a))return this.each(function(h){var k=d(this);k.toggleClass(a.call(this,h,k.attr("class"),b),b)});return this.each(function(){if(e==="string")for(var h,k=0,l=d(this),q=b,p=a.split(W);h=p[k++];){q... |
var fieldContent = Zotero.Utilities.cleanString(lines[i].substr(6)); | var fieldContent = Zotero.Utilities.trimInternal(lines[i].substr(6)); | Zotero.Utilities.HTTP.doPost(url, post, function(text) { var lines = text.split("\n"); var haveStarted = false; var newItemRe = /^<[0-9]+>/; var newItem = new Zotero.Item("journalArticle"); for(var i in lines) { if(lines[i].substring(0,3) == "<1>") { haveStarted = true; } else if(newItemRe.test(lines[i... |
tokens.each(function(tok) { if (tok.token !== '-') { if (scratch.length > 0) scratch += ' '; scratch += tok.token; } }); | key.accidentals.each(function(acc) { acc.verticalPos -= 14; }); | tokens.each(function(tok) { if (tok.token !== '-') { if (scratch.length > 0) scratch += ' '; scratch += tok.token; } }); |
if (item.values[0].type == "singleValue") | if (item.values[0].type == "singleValue") { | htmlFragment += generateRowFragmentFromArray('Parameters', record.rangeSet.axisDescriptions, 1, function(item) { if (item.values[0].type == "singleValue") return item.label + ': ' + item.values.length + ' singleValue elements'; else return item.label + ': ' + item.values.length... |
else | } else { | htmlFragment += generateRowFragmentFromArray('Parameters', record.rangeSet.axisDescriptions, 1, function(item) { if (item.values[0].type == "singleValue") return item.label + ': ' + item.values.length + ' singleValue elements'; else return item.label + ': ' + item.values.length... |
} | htmlFragment += generateRowFragmentFromArray('Parameters', record.rangeSet.axisDescriptions, 1, function(item) { if (item.values[0].type == "singleValue") return item.label + ': ' + item.values.length + ' singleValue elements'; else return item.label + ': ' + item.values.length... | |
$.each("onBeforeSeek,onSeek,onAddItem".split(","), function(i, name) { | $.each(['onBeforeSeek', 'onSeek', 'onAddItem'], function(i, name) { | $.each("onBeforeSeek,onSeek,onAddItem".split(","), function(i, name) { // configuration if ($.isFunction(conf[name])) { $(self).bind(name, conf[name]); } self[name] = function(fn) { $(self).bind(name, fn); return self; }; }); |
$.post("/studydeck/decks/delete",{id:deckId},function(){$("#userDeckRow"+ deckId).hide("fast");}); | $.post("/decks/delete",{id:deckId},function(){$("#userDeckRow"+ deckId).hide("fast");}); | $.post("/studydeck/decks/delete",{id:deckId},function(){$("#userDeckRow"+ deckId).hide("fast");}); |
return $(this).text().match(/^X:/m); | return $(this).text().match(/^\s*X:/m); | var children = $(elem).children().filter(function() { return $(this).text().match(/^X:/m); }); |
} | }; | return function () { oGeodesyMarker.yearChecked(year, yearChkId, yearHrefId, monthsDivId, datesDivId); } |
var children = $(elem).children().filter(function() { | var newcurrentset = currentset.map(function(i,elem){ var children = $(elem).children().filter(function() { | var children = $(elem).children().filter(function() { var str = getABCText(this); return getABCText(this).match(/^\s*X:/m); }); |
if (children.length===0) { return elem; } else { cont = true; return children.get(); } }); | var children = $(elem).children().filter(function() { var str = getABCText(this); return getABCText(this).match(/^\s*X:/m); }); | |
acc.verticalPos -= 14; | acc.verticalPos -= 7; if (acc.verticalPos >= 11 || (acc.verticalPos === 10 && acc.acc === 'flat')) acc.verticalPos -= 7; | key.accidentals.each(function(acc) { acc.verticalPos -= 14; }); |
a)if(b=="delete"){l.cssRules?l.deleteRule(n):l.removeRule(n);return true}else return o;++n}while(o)}return false};this.removeCssRule=function(a){return g.getCssRule(a,"delete")};this.addStyleSheet=function(a,b){if(document.createStyleSheet)setTimeout(function(){document.createStyleSheet(a)},15);else{var f=document.crea... | do{o=null;if(l.cssRules)o=l.cssRules[n];else if(l.rules)o=l.rules[n];if(o&&o.selectorText)if(o.selectorText.toLowerCase()==a)if(b=="delete"){l.cssRules?l.deleteRule(n):l.removeRule(n);return true}else return o;++n}while(o)}return false};this.removeCssRule=function(a){return g.getCssRule(a,"delete")};this.addStyleSheet=... | a)if(b=="delete"){l.cssRules?l.deleteRule(n):l.removeRule(n);return true}else return o;++n}while(o)}return false};this.removeCssRule=function(a){return g.getCssRule(a,"delete")};this.addStyleSheet=function(a,b){if(document.createStyleSheet)setTimeout(function(){document.createStyleSheet(a)},15);else{var f=document.crea... |
let mailargs = {}; mailargs.to = args.join(", "); mailargs.subject = args["-subject"]; mailargs.bcc = args["-bcc"]; mailargs.cc = args["-cc"]; mailargs.body = args["-text"]; mailargs.attachments = args["-attachment"] || []; | let count = Math.max(0, args.count - 1); let arg = args.literalArg || "Inbox"; | function (args) { let mailargs = {}; mailargs.to = args.join(", "); mailargs.subject = args["-subject"]; mailargs.bcc = args["-bcc"]; mailargs.cc = args["-cc"]; mailargs.body = args... |
let addresses = args; if (mailargs.bcc) addresses = addresses.concat(mailargs.bcc); if (mailargs.cc) addresses = addresses.concat(mailargs.cc); if (addresses.some(function (recipient) !(/\S@\S+\.\S/.test(recipient)))) return void liberator.echoerr("Exxx: Invalid e-mail address"); mail.composeNewMail(mailargs); | let folder = mail.getFolders(arg, true, true)[count]; if (!folder) liberator.echoerr("Exxx: Folder \"" + arg + "\" does not exist"); else if (liberator.forceNewTab) MsgOpenNewTabForFolder(folder.URI); else SelectFolder(folder.URI); | function (args) { let mailargs = {}; mailargs.to = args.join(", "); mailargs.subject = args["-subject"]; mailargs.bcc = args["-bcc"]; mailargs.cc = args["-cc"]; mailargs.body = args... |
$('#addValue-'+ id).live('keypress', function(evt) { | $('#addValue-'+ id).live('keyup', function(evt) { | $('#addValue-'+ id).live('keypress', function(evt) { // grab code var code = (evt.which||evt.charCode||evt.keyCode); // enter of splitchar should add an element if(code == 13 || String.fromCharCode(code) == options.splitChar) { evt.preventDefault(); evt.stopPropagation(); // add elem... |
},commit:function(h,i){if(this.getValue())i.setAttribute('summary',this.getValue());else i.removeAttribute('summary');}}]}]}]};};CKEDITOR.dialog.add('table',function(e){return d(e,'table');});CKEDITOR.dialog.add('tableProperties',function(e){return d(e,'tableProperties');});})(); | },commit:function(i,j){if(this.getValue())j.setAttribute('cellSpacing',this.getValue());else j.removeAttribute('cellSpacing');}},{type:'text',id:'txtCellPad',style:'width:3em',label:e.lang.table.cellPad,'default':1,validate:CKEDITOR.dialog.validate.number(e.lang.table.invalidCellPadding),setup:function(i){this.setValue... | },commit:function(h,i){if(this.getValue())i.setAttribute('summary',this.getValue());else i.removeAttribute('summary');}}]}]}]};};CKEDITOR.dialog.add('table',function(e){return d(e,'table');});CKEDITOR.dialog.add('tableProperties',function(e){return d(e,'tableProperties');});})(); |
$('#metaData p').each(function() | $('input.block_extra_id').each(function() | $('#metaData p').each(function() { // hide if needed if(i >= itemsToShow) $(this).hide(); // show otherwise else $(this).show(); // increment i++; }); |
if(i >= itemsToShow) $(this).hide(); else $(this).show(); i++; | var value = $(this).val(); var id = $(this).attr('id').replace('blockExtraId', ''); jsBackend.pages.extras.changeExtra(value, id); | $('#metaData p').each(function() { // hide if needed if(i >= itemsToShow) $(this).hide(); // show otherwise else $(this).show(); // increment i++; }); |
var url = urls.shift(); var is = isRe.exec(url); var pu = puRe.exec(url); var arnumber = articleRe.exec(url); | translator.setHandler("itemDone", function(obj, item) { var url = urls.shift(); var is = isRe.exec(url); var pu = puRe.exec(url); var arnumber = articleRe.exec(url); if(item.notes[0] && item.notes[0].note) { item.abstractNote = item.notes[0].note; item.notes = new Array(); } var dupes = ... | |
var dupes = new Array(); for (var i = 0 ; i < item.creators.length - 1 ; i++) { if (item.creators[i].lastName + item.creators[i].firstName == item.creators[i+1].lastName + item.creators[i].firstName) { dupes.push(i + 1); } } | if(doi) { item.DOI = doi[1]; } if(ja) { item.journalAbbreviation = ja[1]; } | translator.setHandler("itemDone", function(obj, item) { var url = urls.shift(); var is = isRe.exec(url); var pu = puRe.exec(url); var arnumber = articleRe.exec(url); if(item.notes[0] && item.notes[0].note) { item.abstractNote = item.notes[0].note; item.notes = new Array(); } var dupes = ... |
for (var i in dupes) { delete item.creators[dupes[i]]; } var dupes = []; for (var i = 0 ; i < item.creators.length ; i++) { if (item.creators[i]) { dupes.push(item.creators[i]); } } item.creators = dupes; var newurls = [url]; Zotero.Utilities.processDocuments(newurls, function(newDoc) { var xpath = ' var textElmt = new... | pdfurl = "http: item.attachments.push({url:pdfurl, title:"IEEE Xplore PDF", mimeType:"application/pdf"}); item.complete(); | translator.setHandler("itemDone", function(obj, item) { var url = urls.shift(); var is = isRe.exec(url); var pu = puRe.exec(url); var arnumber = articleRe.exec(url); if(item.notes[0] && item.notes[0].note) { item.abstractNote = item.notes[0].note; item.notes = new Array(); } var dupes = ... |
if (text.match("L3")) { item.DOI = text.match(/L3\s+\-\s*(.*)/)[1]; | if (text.match(/^L3\s+-\s*(.*)/m)) { item.DOI = text.match(/^L3\s+\-\s*(.*)/m)[1]; | translator.setHandler("itemDone", function(obj, item) { if (text.match("L3")) { item.DOI = text.match(/L3\s+\-\s*(.*)/)[1]; } if (text.match("DO")) { item.DOI = text.match(/DO\s+\-\s*(.*)/)[1]; } if (text.match("T1")) { item.title = text.match(/T1\s+-\s*(.*)/)[1]; } item.itemType = "journalArti... |
if (text.match("DO")) { item.DOI = text.match(/DO\s+\-\s*(.*)/)[1]; | if (text.match(/^DO\s+-\s*(.*)/m)) { item.DOI = text.match(/^DO\s+-\s*(.*)/m)[1]; | translator.setHandler("itemDone", function(obj, item) { if (text.match("L3")) { item.DOI = text.match(/L3\s+\-\s*(.*)/)[1]; } if (text.match("DO")) { item.DOI = text.match(/DO\s+\-\s*(.*)/)[1]; } if (text.match("T1")) { item.title = text.match(/T1\s+-\s*(.*)/)[1]; } item.itemType = "journalArti... |
if (text.match("T1")) { item.title = text.match(/T1\s+-\s*(.*)/)[1]; | if (text.match(/^T1\s+-/m)) { item.title = text.match(/^T1\s+-\s*(.*)/m)[1]; | translator.setHandler("itemDone", function(obj, item) { if (text.match("L3")) { item.DOI = text.match(/L3\s+\-\s*(.*)/)[1]; } if (text.match("DO")) { item.DOI = text.match(/DO\s+\-\s*(.*)/)[1]; } if (text.match("T1")) { item.title = text.match(/T1\s+-\s*(.*)/)[1]; } item.itemType = "journalArti... |
item.itemType = "journalArticle"; | translator.setHandler("itemDone", function(obj, item) { if (text.match("L3")) { item.DOI = text.match(/L3\s+\-\s*(.*)/)[1]; } if (text.match("DO")) { item.DOI = text.match(/DO\s+\-\s*(.*)/)[1]; } if (text.match("T1")) { item.title = text.match(/T1\s+-\s*(.*)/)[1]; } item.itemType = "journalArti... | |
k():a.blur()}}else n.refilter()};d.lastChild.onclick=A;d.lastChild.onscroll=function(){if(o){clearTimeout(o);var a=c.getElement(e);a&&a.focus()}};this.delayHide=function(a){o=setTimeout(function(){o=null;if(d&&(a==null||e==a.id))k()},300)}}); | 9)&&d.style.display=="none"))if(b.keyCode==27||b.keyCode==37||b.keyCode==39){d.style.display="none";if(b.keyCode==27){f=null;$(a).hasClass("Wt-suggest-dropdown")?k():a.blur()}}else n.refilter()};d.lastChild.onclick=B;d.lastChild.onscroll=function(){if(o){clearTimeout(o);var a=c.getElement(f);a&&a.focus()}};this.delayHi... | k():a.blur()}}else n.refilter()};d.lastChild.onclick=A;d.lastChild.onscroll=function(){if(o){clearTimeout(o);var a=c.getElement(e);a&&a.focus()}};this.delayHide=function(a){o=setTimeout(function(){o=null;if(d&&(a==null||e==a.id))k()},300)}}); |
if (g_IsIE) | if (g_IsIE) { | GDownloadUrl(scalars_proxy, function(pData, pResponseCode) { if(pResponseCode == 200) { // Call the parse function to read the XML data from the file. var xmlDoc = GXml.parse(pData); if (g_IsIE) xmlDoc.setProperty("SelectionLanguage", "XPath"); var rootNode = xmlDoc.documentEl... |
if (sScalarId != "" && sScalarName != "") { | if (sScalarId !== "" && sScalarName !== "") { | GDownloadUrl(scalars_proxy, function(pData, pResponseCode) { if(pResponseCode == 200) { // Call the parse function to read the XML data from the file. var xmlDoc = GXml.parse(pData); if (g_IsIE) xmlDoc.setProperty("SelectionLanguage", "XPath"); var rootNode = xmlDoc.documentEl... |
while(n<o){m.push('<tr>');for(var r=0;r<k;r++,n++){if(p=l[n]){q='';p=p.replace(/\((.*?)\)/,function(s,t){q=t;return '';});q=q||p;m.push('<td class="cke_dark_background" style="cursor: default" role="presentation"><a href="javascript: void(0);" role="option" aria-posinset="'+(n+1)+'"',' aria-setsize="'+o+'"',' aria-labe... | while(o<p){n.push('<tr>');for(var s=0;s<k;s++,o++){if(q=l[o]){r='';q=q.replace(/\((.*?)\)/,function(u,v){r=v;return '';});r=r||q;var t='cke_specialchar_label_'+o+'_'+CKEDITOR.tools.getNextNumber();n.push('<td class="cke_dark_background" style="cursor: default" role="presentation"><a href="javascript: void(0);" role="op... | while(n<o){m.push('<tr>');for(var r=0;r<k;r++,n++){if(p=l[n]){q='';p=p.replace(/\((.*?)\)/,function(s,t){q=t;return '';});q=q||p;m.push('<td class="cke_dark_background" style="cursor: default" role="presentation"><a href="javascript: void(0);" role="option" aria-posinset="'+(n+1)+'"',' aria-setsize="'+o+'"',' aria-labe... |
el.pitches.each(function(p) { p.duration = p.duration * multilineVars.next_note_duration; }); | tokens.each(function(tok) { scratch += tok.token; }); | el.pitches.each(function(p) { p.duration = p.duration * multilineVars.next_note_duration; }); |
var symbol = (acc.acc === "sharp") ? "#" : (acc.acc === "natural") ? "n" : "b"; | var symbol = (acc.acc === "sharp") ? "accidentals.sharp" : (acc.acc === "natural") ? "accidentals.nat" : "accidentals.flat"; | elem.extraAccidentals.each(function(acc) { var symbol = (acc.acc === "sharp") ? "#" : (acc.acc === "natural") ? "n" : "b"; var notes = { 'A': 5, 'B': 6, 'C': 0, 'D': 1, 'E': 2, 'F': 3, 'G':4, 'a': 12, 'b': 13, 'c': 7, 'd': 8, 'e': 9, 'f': 10, 'g':11 }; abselem.addRight(new ABCRelativeElement(symbol, dx, this.glyp... |
value : 'classname', text : 'Classname Search', | value : 'gav', text : 'GAV Search', | Sonatype.Events.addListener('searchTypeInit', function(searchTypes, panel) { searchTypes.push( { value : 'classname', text : 'Classname Search', scope : panel, // use the default store store : null, handler : panel.switchSearchType, quickSearchCheckHandler : function(panel, value) { return va... |
return value.search(/^[a-z.]*[A-Z]/) == 0; | return value.indexOf(':') > -1; | Sonatype.Events.addListener('searchTypeInit', function(searchTypes, panel) { searchTypes.push( { value : 'classname', text : 'Classname Search', scope : panel, // use the default store store : null, handler : panel.switchSearchType, quickSearchCheckHandler : function(panel, value) { return va... |
panel.getTopToolbar().items.itemAt(1).setRawValue(value); | var parts = value.split(':'); var data = [ 'gav' ]; for ( var i = 0; i < parts.length; i++) { data.push(parts[i]); } gavPopulator(panel, data); | Sonatype.Events.addListener('searchTypeInit', function(searchTypes, panel) { searchTypes.push( { value : 'classname', text : 'Classname Search', scope : panel, // use the default store store : null, handler : panel.switchSearchType, quickSearchCheckHandler : function(panel, value) { return va... |
var value = panel.getTopToolbar().items.itemAt(1).getRawValue(); if (value) { panel.grid.store.baseParams = {}; panel.grid.store.baseParams['cn'] = value; panel.fetchRecords(panel); } }, applyBookmarkHandler : function(panel, data) { panel.getTopToolbar().items.itemAt(1).setRawValue(data[1]); panel.startSearch(panel, ... | var reverseSortResults = false; this.grid.store.baseParams = {}; var v = panel.getTopToolbar().items.itemAt(2).getRawValue(); if (v) { panel.grid.store.baseParams['g'] = v; } v = panel.getTopToolbar().items.itemAt(5).getRawValue(); if (v) { panel.grid.store.baseParams['a'] = v; } v = panel.getTopToolbar().items.ite... | Sonatype.Events.addListener('searchTypeInit', function(searchTypes, panel) { searchTypes.push( { value : 'classname', text : 'Classname Search', scope : panel, // use the default store store : null, handler : panel.switchSearchType, quickSearchCheckHandler : function(panel, value) { return va... |
$(self).bind(name, fn); | if (fn) { $(self).bind(name, fn); } | $.each(['onBeforeSeek', 'onSeek', 'onAddItem'], function(i, name) { // configuration if ($.isFunction(conf[name])) { $(self).bind(name, conf[name]); } self[name] = function(fn) { $(self).bind(name, fn); return self; }; }); |
var a=e.getElement(i);a&&a.focus()}};this.delayHide=function(a){B=setTimeout(function(){B=null;if(f&&(a==null||i==a.id))d()},300)}}); | setTimeout(function(){B=null;if(f&&(a==null||i==a.id))d()},300)}}); | var a=e.getElement(i);a&&a.focus()}};this.delayHide=function(a){B=setTimeout(function(){B=null;if(f&&(a==null||i==a.id))d()},300)}}); |
callback = isClick ? function() { | fn = isClick ? function() { | callback = isClick ? function() { e.type = "change"; fire.trigger(e, [v]); } : null; |
publisher = Zotero.Utilities.cleanString(xml..Publisher[0].text().toString()); | publisher = Zotero.Utilities.trimInternal(xml..Publisher[0].text().toString()); | Zotero.Utilities.HTTP.doGet(uris, function(text) { text = text.replace(/<!DOCTYPE[^>]*>/, "").replace(/<\?xml[^>]*\?>/, ""); var texts = text.split("<Items>"); texts = texts[1].split("</ItemLookupResponse>"); text = "<Items>" + texts[0]; var xml = new XML(text); var publisher = ""; if (!xml..Errors.length()) {... |
$("#lstNewTag").change(function () { checkValidity("lstNewTag", "valNewTag") | $("#lstModGeo").change(function () { checkValidity("lstModGeo", "valModGeo") | $("#lstNewTag").change(function () { checkValidity("lstNewTag", "valNewTag")}) ; |
the journal.*/ match = text.match(/=([^=]+)\">\s*Download citation/); | the journal. TODO We should rewrite this to not use regex! */ match = text.match(/=([^=]+)\">\s*Download (C|c)itation/); | Zotero.Utilities.HTTP.doGet(arts, function(text) { var id, match, newurl, pdfurl, get; /* Here, we have to use three phrasings because they all occur, depending on the journal.*/ match = text.match(/=([^=]+)\">\s*Download citation/); if (!match || match.length < 1) { match = text.match(/=([^=]+)\">\s*Downloa... |
$('#defaultLanguageContainer').show(); | $('#defaultLanguage option').attr('disabled', 'disabled'); $('#languages input:checked').each(function() { $('#defaultLanguage option[value='+ $(this).val() +']').attr('disabled', ''); }); | $('#languageTypeMultiple').bind('click', function() { if($('#languageTypeMultiple').is(':checked')) { $('#languages').show(); $('#language').hide(); $('#defaultLanguageContainer').show(); } }); |
$(document).ready(function() { $("#loading").ajaxStart(function() { $(this).show(); }); $("#loading").ajaxStop(function() { $(this).hide(); $('.sortable').sortable(); }); $.getJSON('cgi-bin/collection.modified.cgi?action=hostlist_json', function(data) { for (i = 0; i < data.length; i++) { $("#hosts ul").append( '<l... | $.getJSON('cgi-bin/collection.modified.cgi?action=pluginlist_json&host=' + $selected_host, function(data){ $("#plugins").html(''); $("#plugins").append(create_plugin_menu($selected_host, data)); $('#plugins ul li a').click(function(){ $('#plugins').data('selected_plugin', $(this).attr('rel')); }); }); | $(document).ready(function() { $("#loading").ajaxStart(function() { $(this).show(); }); $("#loading").ajaxStop(function() { $(this).hide(); $('.sortable').sortable(); }); // $('#hosts').load('cgi-bin/collection.modified.cgi'); $.getJSON('cgi-bin/collection.modified.cgi?action=hostlist_json', function(data) { ... |
i.offsetWidth,-c.parentNode.previousSibling.offsetHeight,c.parentNode.nextSibling.offsetHeight,"Wt-vsh",function(q){f(c,e,q)},i,m,h,0,0)}function o(c,e,h){var i=-c.previousSibling.offsetWidth,q=c.nextSibling.offsetWidth,s=c.firstChild,v=a.pxself(u.rows[0].childNodes[0],"paddingTop"),w=a.pxself(u.rows[u.rows.length-1].c... | l.offsetWidth,-c.parentNode.previousSibling.offsetHeight,c.parentNode.nextSibling.offsetHeight,"Wt-vsh",function(q){h(c,f,q)},l,n,j,0,0)}function m(c,f,j){var l=-c.previousSibling.offsetWidth,q=c.nextSibling.offsetWidth,s=c.firstChild,v=a.pxself(u.rows[0].childNodes[0],"paddingTop"),w=a.pxself(u.rows[u.rows.length-1].c... | i.offsetWidth,-c.parentNode.previousSibling.offsetHeight,c.parentNode.nextSibling.offsetHeight,"Wt-vsh",function(q){f(c,e,q)},i,m,h,0,0)}function o(c,e,h){var i=-c.previousSibling.offsetWidth,q=c.nextSibling.offsetWidth,s=c.firstChild,v=a.pxself(u.rows[0].childNodes[0],"paddingTop"),w=a.pxself(u.rows[u.rows.length-1].c... |
(function(){CKEDITOR.dialog.add('pastetext',function(a){return{title:a.lang.pasteText.title,minWidth:CKEDITOR.env.ie&&CKEDITOR.env.quirks?368:350,minHeight:240,onShow:function(){this.getContentElement('general','content').getInputElement().setValue('');},onOk:function(){var b=this.getContentElement('general','content')... | return{title:i.lang.flash.title,minWidth:420,minHeight:310,onShow:function(){var z=this;z.fakeImage=z.objectNode=z.embedNode=null;l=new CKEDITOR.dom.element('embed',i.document);var n=z.getSelectedElement();if(n&&n.getAttribute('_cke_real_element_type')&&n.getAttribute('_cke_real_element_type')=='flash'){z.fakeImage=n;v... | (function(){CKEDITOR.dialog.add('pastetext',function(a){return{title:a.lang.pasteText.title,minWidth:CKEDITOR.env.ie&&CKEDITOR.env.quirks?368:350,minHeight:240,onShow:function(){this.getContentElement('general','content').getInputElement().setValue('');},onOk:function(){var b=this.getContentElement('general','content')... |
item.complete(); | item.abstractNote = abstractNote; item.complete(); | Zotero.Utilities.HTTP.doGet(biblink, function(text) { var trans = Zotero.loadTranslator("import"); trans.setTranslator("9cb70025-a888-4a29-a210-93ec52da40d4"); trans.setString(text); trans.setHandler("itemDone", function(obj, item) { item.url = newurl; item.attachments = [{url:item.url, title:item.title... |
F;++B){w=v.childNodes[B];if(w.className!="Wt-vrh"){if(w.colSpan==1&&D==e&&w.childNodes.length==1){v=w.firstChild;w=k-d.marginH(v);v.style.width=w+"px";break}D+=w.colSpan}}++r}}}function f(e,k,m){var n=e.firstChild;new a.SizeHandle(a,"v",n.offsetHeight,n.offsetWidth,-e.parentNode.previousSibling.offsetHeight,e.parentNod... | F;++B){w=v.childNodes[B];if(w.className!="Wt-vrh"){if(w.colSpan==1&&D==e&&w.childNodes.length==1){v=w.firstChild;w=k-d.marginH(v);v.style.width=w+"px";break}D+=w.colSpan}}++r}}}function f(e,k,m){var n=e.firstChild;new a.SizeHandle(a,"v",n.offsetHeight,n.offsetWidth,-e.parentNode.previousSibling.offsetHeight,e.parentNod... | F;++B){w=v.childNodes[B];if(w.className!="Wt-vrh"){if(w.colSpan==1&&D==e&&w.childNodes.length==1){v=w.firstChild;w=k-d.marginH(v);v.style.width=w+"px";break}D+=w.colSpan}}++r}}}function f(e,k,m){var n=e.firstChild;new a.SizeHandle(a,"v",n.offsetHeight,n.offsetWidth,-e.parentNode.previousSibling.offsetHeight,e.parentNod... |
/* Here, we have to use two phrasings because they both occur, depending on | /* Here, we have to use three phrasings because they all occur, depending on | Zotero.Utilities.HTTP.doGet(arts, function(text) { var id, match, newurl, pdfurl, get; /* Here, we have to use two phrasings because they both occur, depending on the journal.*/ match = text.match(/=([^=]+)\">\s*Download citation/); if (!match || match.length < 1) { match = text.match(/=([^=]+)\">\s*Download... |
if (!match || match.length < 1) { match = text.match(/=([^=]+)\">\s*Add to Citation Manager/); } | Zotero.Utilities.HTTP.doGet(arts, function(text) { var id, match, newurl, pdfurl, get; /* Here, we have to use two phrasings because they both occur, depending on the journal.*/ match = text.match(/=([^=]+)\">\s*Download citation/); if (!match || match.length < 1) { match = text.match(/=([^=]+)\">\s*Download... | |
}, function () { Zotero.done(); }); | Zotero.done(); }); | Zotero.Utilities.HTTP.doPost(url, post, function(text) { var lines = text.split("\n"); var haveStarted = false; var newItemRe = /^<[0-9]+>/; var newItem = new Zotero.Item("journalArticle"); for(var i in lines) { if(lines[i].substring(0,3) == "<1>") { haveStarted = true; } else if(newItemRe.test(lines[i... |
(function(){var a=CKEDITOR.document;CKEDITOR.dialog.add('templates',function(b){function c(h,i){h.setHtml('');for(var j=0;j<i.length;j++){var k=CKEDITOR.getTemplates(i[j]),l=k.imagesPath,m=k.templates,n=m.length;for(var o=0;o<n;o++){var p=m[o],q=d(p,l);q.setAttribute('aria-posinset',o+1);q.setAttribute('aria-setsize',n... | (function(){var a=CKEDITOR.document;CKEDITOR.dialog.add('templates',function(b){function c(i,j){i.setHtml('');for(var k=0;k<j.length;k++){var l=CKEDITOR.getTemplates(j[k]),m=l.imagesPath,n=l.templates,o=n.length;for(var p=0;p<o;p++){var q=n[p],r=d(q,m);r.setAttribute('aria-posinset',p+1);r.setAttribute('aria-setsize',o... | (function(){var a=CKEDITOR.document;CKEDITOR.dialog.add('templates',function(b){function c(h,i){h.setHtml('');for(var j=0;j<i.length;j++){var k=CKEDITOR.getTemplates(i[j]),l=k.imagesPath,m=k.templates,n=m.length;for(var o=0;o<n;o++){var p=m[o],q=d(p,l);q.setAttribute('aria-posinset',o+1);q.setAttribute('aria-setsize',n... |
$(editor.getContainer()).addClass('tinyActive'); | editor.onActivate.add(function(editor, otherEditor) { // hide click to edit $(editor.getContainer()).siblings('.clickToEdit').hide(); }); | |
F;++B){w=v.childNodes[B];if(w.className!="Wt-vrh"){if(w.colSpan==1&&D==e&&w.childNodes.length==1){v=w.firstChild;w=k-d.marginH(v);v.style.width=w+"px";break}D+=w.colSpan}}++r}}}function h(e,k,m){var n=e.firstChild;new a.SizeHandle(a,"v",n.offsetHeight,n.offsetWidth,-e.parentNode.previousSibling.offsetHeight,e.parentNod... | F;++B){w=v.childNodes[B];if(w.className!="Wt-vrh"){if(w.colSpan==1&&D==e&&w.childNodes.length==1){v=w.firstChild;w=k-d.marginH(v);v.style.width=w+"px";break}D+=w.colSpan}}++r}}}function f(e,k,m){var n=e.firstChild;new a.SizeHandle(a,"v",n.offsetHeight,n.offsetWidth,-e.parentNode.previousSibling.offsetHeight,e.parentNod... | F;++B){w=v.childNodes[B];if(w.className!="Wt-vrh"){if(w.colSpan==1&&D==e&&w.childNodes.length==1){v=w.firstChild;w=k-d.marginH(v);v.style.width=w+"px";break}D+=w.colSpan}}++r}}}function h(e,k,m){var n=e.firstChild;new a.SizeHandle(a,"v",n.offsetHeight,n.offsetWidth,-e.parentNode.previousSibling.offsetHeight,e.parentNod... |
overlay.css("zIndex", opts.zIndex + 1).fadeIn(opts.fadeInSpeed, function() { | overlay.css("zIndex", conf.zIndex + 1).fadeIn(conf.fadeInSpeed, function() { | overlay.css("zIndex", opts.zIndex + 1).fadeIn(opts.fadeInSpeed, function() { if (self.isOpened() && !$(this).index(overlay)) { onLoad.call(); } else { overlay.hide(); } }); |
$(this.form).submit(function() { return !blockSubmit; }) | $('#pageTitleOverwrite').change(function(evt) { if(!$(this).is(':checked')) { $('#pageTitle').val(element.val()); } }); | $(this.form).submit(function() { return !blockSubmit; }) |
9)&&d.style.display=="none"))if(b.keyCode==27||b.keyCode==37||b.keyCode==39){d.style.display="none";if(b.keyCode==27){f=null;$(a).hasClass("Wt-suggest-dropdown")?k():a.blur()}}else n.refilter()};d.lastChild.onclick=B;d.lastChild.onscroll=function(){if(o){clearTimeout(o);var a=c.getElement(f);a&&a.focus()}};this.delayHi... | null)if(m(a))if(!((b.keyCode==13||b.keyCode==9)&&d.style.display=="none"))if(b.keyCode==27||b.keyCode==37||b.keyCode==39){d.style.display="none";if(b.keyCode==27){f=null;$(a).hasClass("Wt-suggest-dropdown")?l():a.blur()}}else if(a.value!=s)n.refilter();else(a=k?c.getElement(k):null)&&v(a)};d.lastChild.onclick=D;d.lastC... | 9)&&d.style.display=="none"))if(b.keyCode==27||b.keyCode==37||b.keyCode==39){d.style.display="none";if(b.keyCode==27){f=null;$(a).hasClass("Wt-suggest-dropdown")?k():a.blur()}}else n.refilter()};d.lastChild.onclick=B;d.lastChild.onscroll=function(){if(o){clearTimeout(o);var a=c.getElement(f);a&&a.focus()}};this.delayHi... |
if (word_list.length !== 0) { if (word_list[0].skip) { switch (word_list[0].to) { case 'next': if (el.el_type === 'note' && el.pitches !== null && !inSlur) word_list.shift(); break; case 'slur': if (el.el_type === 'note' && el.pitches !== null) word_list.shift(); break; case 'bar': if (el.el_type === 'bar') word_list.s... | if (word_list.length !== 0) { if (word_list[0].skip) { switch (word_list[0].to) { case 'next': if (el.el_type === 'note' && el.pitches !== null && !inSlur) word_list.shift(); break; case 'slur': if (el.el_type === 'note' && el.pitches !== null) word_list.shift(); break; case 'bar': if (el.el_type === 'bar') word_list.s... | line.each(function(el) { if (word_list.length !== 0) { if (word_list[0].skip) { switch (word_list[0].to) { case 'next': if (el.el_type === 'note' && el.pitches !== null && !inSlur) word_list.shift(); break; case 'slur': if (el.el_type === 'note' && el.pitches !== null) word_list.shift(); brea... |
item.url = false; | translator.setHandler("itemDone", function(obj, item) { if (text.match("L3")) { item.DOI = text.match(/L3\s+\-\s*(.*)/)[1]; } if (text.match("T1")) { item.title = text.match(/T1\s+-\s*(.*)/)[1]; } item.itemType = "journalArticle"; // RIS translator tries to download the link in "UR" this leads to un... | |
uri = text.match(/&url=([^']+)'/) | uri = text.match(/url=([^']+)'/) | Zotero.Utilities.HTTP.doPost(uri, poststring, function(text) { uri = host+"/us/lnacademic/delivery/refExport.do"; var disb = text.match(/<input type="hidden" name="disb" value="([^"]+)">/); poststring = "delRange="+delRange+"&selDocs=&disb="+disb[1]+"&initializationPage=0"; Zotero.Utilities.HTTP.doPost(uri, postst... |
j+"</div></body></html>";try{o=F.contentWindow.document;o.open();o.write(j);o.close();return true}catch(p){return false}}function k(){var j,o,p,w;if(!F.contentWindow||!F.contentWindow.document)setTimeout(k,10);else{j=F.contentWindow.document;p=(o=j.getElementById("state"))?o.innerText:null;w=a();setInterval(function(){... | j+"</div></body></html>";try{o=F.contentWindow.document;o.open();o.write(j);o.close();return true}catch(p){return false}}function k(){var j,o,p,w;if(!F.contentWindow||!F.contentWindow.document)setTimeout(k,10);else{j=F.contentWindow.document;p=(o=j.getElementById("state"))?o.innerText:null;w=a();setInterval(function(){... | j+"</div></body></html>";try{o=F.contentWindow.document;o.open();o.write(j);o.close();return true}catch(p){return false}}function k(){var j,o,p,w;if(!F.contentWindow||!F.contentWindow.document)setTimeout(k,10);else{j=F.contentWindow.document;p=(o=j.getElementById("state"))?o.innerText:null;w=a();setInterval(function(){... |
var id = text.match(/=([^=]+)\">\s*Download to citation manager/)[1]; var newurl = newurls.shift(); | var id, match, newurl, pdfurl, get; match = text.match(/=([^=]+)\">\s*Download citation/); if (!match || match.length < 1) { match = text.match(/=([^=]+)\">\s*Download to citation manager/); } id = match[1]; newurl = newurls.shift(); | Zotero.Utilities.HTTP.doGet(arts, function(text) { var id = text.match(/=([^=]+)\">\s*Download to citation manager/)[1]; var newurl = newurls.shift(); if (newurl.match("cgi/content")) { var pdfurl = newurl.replace(/cgi\/content\/abstract/, "content") + ".full.pdf"; } else { // This is not ideal...todo: brew ... |
var pdfurl = newurl.replace(/cgi\/content\/abstract/, "content") + ".full.pdf"; | pdfurl = newurl.replace(/cgi\/content\/abstract/, "content") + ".full.pdf"; | Zotero.Utilities.HTTP.doGet(arts, function(text) { var id = text.match(/=([^=]+)\">\s*Download to citation manager/)[1]; var newurl = newurls.shift(); if (newurl.match("cgi/content")) { var pdfurl = newurl.replace(/cgi\/content\/abstract/, "content") + ".full.pdf"; } else { // This is not ideal...todo: brew ... |
var pdfurl = newurl.slice(0, newurl.lastIndexOf(".")) + ".full.pdf"; | pdfurl = newurl.slice(0, newurl.lastIndexOf(".")) + ".full.pdf"; | Zotero.Utilities.HTTP.doGet(arts, function(text) { var id = text.match(/=([^=]+)\">\s*Download to citation manager/)[1]; var newurl = newurls.shift(); if (newurl.match("cgi/content")) { var pdfurl = newurl.replace(/cgi\/content\/abstract/, "content") + ".full.pdf"; } else { // This is not ideal...todo: brew ... |
var get = host + 'citmgr?type=refman&gca=' + id; | get = host + 'citmgr?type=refman&gca=' + id; | Zotero.Utilities.HTTP.doGet(arts, function(text) { var id = text.match(/=([^=]+)\">\s*Download to citation manager/)[1]; var newurl = newurls.shift(); if (newurl.match("cgi/content")) { var pdfurl = newurl.replace(/cgi\/content\/abstract/, "content") + ".full.pdf"; } else { // This is not ideal...todo: brew ... |
hp.gracenotes.each(function(p) { p.verticalPos = p.pitch - mid2; }); | hp.pitches.each(function(p) { p.verticalPos = p.pitch - mid; }); | hp.gracenotes.each(function(p) { p.verticalPos = p.pitch - mid2; }); |
return; | runModalDialog(function() { if ($T(element).hasAction) { element.fire(Tapestry.ACTION_EVENT, event); return; } /* * A submit element (i.e., it has a click() method)? Try that * next. */ if (element.click) { interceptClickEvent = false; element.click(); } /* * Not a z... | |
item.abstractNote = abs; | if (abs) item.abstractNote = abs; | translator.setHandler("itemDone", function(obj, item) { if (item.itemID) { item.DOI = item.itemID; } item.attachments = [ {url:snapurl, title:"PROLA Snapshot", mimeType:"text/html"}, {url:pdfurl, title:"PROLA Full Text PDF", mimeType:"application/pdf"} ]; item.abstractNote = abs; item.c... |
result.prime = NULL_CHECKER; | result.checker = NULL_CHECKER; | function(result) { result.prime = NULL_CHECKER; BigInteger.log( "stepping_fromNumber1.2.1.1: calling stepping_isProbablePrime" ); return self.stepping_isProbablePrime( certainty ); }, |
F;++B){w=v.childNodes[B];if(w.className!="Wt-vrh"){if(w.colSpan==1&&D==e&&w.childNodes.length==1){v=w.firstChild;w=j-g.marginH(v);v.style.width=w+"px";break}D+=w.colSpan}}++r}}}function c(e,j,m){var n=e.firstChild;new a.SizeHandle(a,"v",n.offsetHeight,n.offsetWidth,-e.parentNode.previousSibling.offsetHeight,e.parentNod... | F;++B){x=w.childNodes[B];if(x.className!="Wt-vrh"){if(x.colSpan==1&&D==e&&x.childNodes.length==1){w=x.firstChild;x=j-g.marginH(w);w.style.width=x+"px";break}D+=x.colSpan}}++r}}}function c(e,j,m){var n=e.firstChild;new a.SizeHandle(a,"v",n.offsetHeight,n.offsetWidth,-e.parentNode.previousSibling.offsetHeight,e.parentNod... | F;++B){w=v.childNodes[B];if(w.className!="Wt-vrh"){if(w.colSpan==1&&D==e&&w.childNodes.length==1){v=w.firstChild;w=j-g.marginH(v);v.style.width=w+"px";break}D+=w.colSpan}}++r}}}function c(e,j,m){var n=e.firstChild;new a.SizeHandle(a,"v",n.offsetHeight,n.offsetWidth,-e.parentNode.previousSibling.offsetHeight,e.parentNod... |
c.el.parentNode;c=r(c.el);var d=r(a),k=a.parentNode.childNodes.length,g=a.childNodes.length;b=b.shiftKey;for(var h=false,e=c,l;;){for(;b?e>=0:e<g;e=b?e-1:e+1)for(l=e==c&&!h?b?d-1:d+1:b?k-1:0;b?l>=0:l<k;l=b?l-1:l+1){if(e==c&&l==d)return;a=a.parentNode.childNodes[l];var o=$(a.childNodes[e]).find(":input");if(o.size()>0){... | g=a.childNodes.length;b=b.shiftKey;for(var j=false,e=c,l;;){for(;b?e>=0:e<g;e=b?e-1:e+1)for(l=e==c&&!j?b?d-1:d+1:b?k-1:0;b?l>=0:l<k;l=b?l-1:l+1){if(e==c&&l==d)return;a=a.parentNode.childNodes[l];var o=$(a.childNodes[e]).find(":input");if(o.size()>0){setTimeout(function(){o.focus()},0);return}}e=b?g-1:0;j=true}}}else if... | c.el.parentNode;c=r(c.el);var d=r(a),k=a.parentNode.childNodes.length,g=a.childNodes.length;b=b.shiftKey;for(var h=false,e=c,l;;){for(;b?e>=0:e<g;e=b?e-1:e+1)for(l=e==c&&!h?b?d-1:d+1:b?k-1:0;b?l>=0:l<k;l=b?l-1:l+1){if(e==c&&l==d)return;a=a.parentNode.childNodes[l];var o=$(a.childNodes[e]).find(":input");if(o.size()>0){... |
.filter(function() { return $(this).attr("rel").toLowerCase() == "stylesheet"; }) | setTimeout(function(){ _callPrint(element); }, 50); | .filter(function() { return $(this).attr("rel").toLowerCase() == "stylesheet"; }) |
newItem.title = Zotero.Utilities.cleanString(article.headline.paragraph.text().toString()); newItem.publicationTitle = Zotero.Utilities.cleanString(article.sourceName.text().toString()); | newItem.title = Zotero.Utilities.trimInternal(article.headline.paragraph.text().toString()); newItem.publicationTitle = Zotero.Utilities.trimInternal(article.sourceName.text().toString()); | Zotero.Utilities.HTTP.doPost("http://global.factiva.com/pps/default.aspx?pp=XML", post, function(text) { // Remove xml parse instruction and doctype text = text.replace(/<!DOCTYPE[^>]*>/, "").replace(/<\?xml[^>]*\?>/, ""); // kill the XML namespace, too, because we have no way of knowing what it will be, which pres... |
$(document).ready(function() { jsBackend.users.init(); }); | $('#nickname').keyup(function() { change = false; }); | $(document).ready(function() { jsBackend.users.init(); }); |
rec.set('exposed', true); rec.set('userManaged', true); | Sonatype.Events.addListener('repositoryAddMenuInit', function(menu) { var sp = Sonatype.lib.Permissions; if (sp.checkPermission('nexus:repogroups', sp.CREATE)) { menu.add('-'); menu.add({ text : 'Repository Group', autoCreateNewRecord : true, handler :... | |
return $(this).text().match(/^\s*X:/m); | var str = getABCText(this); return getABCText(this).match(/^\s*X:/m); | var children = $(elem).children().filter(function() { return $(this).text().match(/^\s*X:/m); }); |
h.offsetWidth,-c.parentNode.previousSibling.offsetHeight,c.parentNode.nextSibling.offsetHeight,"Wt-vsh",function(o){m(c,f,o)},h,l,g,0,0)}function k(c,f,g){var h=-c.previousSibling.offsetWidth,o=c.nextSibling.offsetWidth,q=c.firstChild,v=a.pxself(t.rows[0].childNodes[0],"paddingTop"),w=a.pxself(t.rows[t.rows.length-1].c... | j.offsetWidth,-c.parentNode.previousSibling.offsetHeight,c.parentNode.nextSibling.offsetHeight,"Wt-vsh",function(q){o(c,f,q)},j,n,g,0,0)}function m(c,f,g){var j=-c.previousSibling.offsetWidth,q=c.nextSibling.offsetWidth,s=c.firstChild,w=a.pxself(v.rows[0].childNodes[0],"paddingTop"),x=a.pxself(v.rows[v.rows.length-1].c... | h.offsetWidth,-c.parentNode.previousSibling.offsetHeight,c.parentNode.nextSibling.offsetHeight,"Wt-vsh",function(o){m(c,f,o)},h,l,g,0,0)}function k(c,f,g){var h=-c.previousSibling.offsetWidth,o=c.nextSibling.offsetWidth,q=c.firstChild,v=a.pxself(t.rows[0].childNodes[0],"paddingTop"),w=a.pxself(t.rows[t.rows.length-1].c... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.