rem stringlengths 0 126k | add stringlengths 0 441k | context stringlengths 15 136k |
|---|---|---|
if ($(form).find('form').valid()) { | if ($form.valid()) { | $(document).ready(function() { var validator = null; var title = $(callingButton).text() // Assign title to calling button's text var okButton = localizedButtons[0]; var cancelButton = localizedButtons[1]; var UID = new Date().getTime(); var form = '#' + UID; // Construct action to perform when OK and Cancels b... |
$(form).attr("action"), $(form).serialize(), | $form.attr("action"), $form.serialize(), | $(document).ready(function() { var validator = null; var title = $(callingButton).text() // Assign title to calling button's text var okButton = localizedButtons[0]; var cancelButton = localizedButtons[1]; var UID = new Date().getTime(); var form = '#' + UID; // Construct action to perform when OK and Cancels b... |
clearFormFields(form); | clearFormFields($(formContainer).find('form')); | $(document).ready(function() { var validator = null; var title = $(callingButton).text() // Assign title to calling button's text var okButton = localizedButtons[0]; var cancelButton = localizedButtons[1]; var UID = new Date().getTime(); var form = '#' + UID; // Construct action to perform when OK and Cancels b... |
WT_DECLARE_WT_MEMBER(1,"StdLayout",function(a,t,g){var n=this;this.getId=function(){return t};this.WT=a;this.marginH=function(d){var k=d.parentNode;return a.px(d,"marginLeft")+a.px(d,"marginRight")+a.px(d,"borderLeftWidth")+a.px(d,"borderRightWidth")+a.px(k,"paddingLeft")+a.px(k,"paddingRight")};this.marginV=function(d... | WT_DECLARE_WT_MEMBER(1,"StdLayout",function(a,t,i){var o=this;this.getId=function(){return t};this.WT=a;this.marginH=function(d){var e=d.parentNode,g=a.px(d,"marginLeft");g+=a.px(d,"marginRight");g+=a.px(d,"borderLeftWidth");g+=a.px(d,"borderRightWidth");g+=a.px(e,"paddingLeft");g+=a.px(e,"paddingRight");return g};this... | WT_DECLARE_WT_MEMBER(1,"StdLayout",function(a,t,g){var n=this;this.getId=function(){return t};this.WT=a;this.marginH=function(d){var k=d.parentNode;return a.px(d,"marginLeft")+a.px(d,"marginRight")+a.px(d,"borderLeftWidth")+a.px(d,"borderRightWidth")+a.px(k,"paddingLeft")+a.px(k,"paddingRight")};this.marginV=function(d... |
(function(){if(!window.CKEDITOR)window.CKEDITOR=(function(){var a={timestamp:'A39E',version:'3.2.1',revision:'5372',_:{},status:'unloaded',basePath:(function(){var d=window.CKEDITOR_BASEPATH||'';if(!d){var e=document.getElementsByTagName('script');for(var f=0;f<e.length;f++){var g=e[f].src.match(/(^|.*[\\\/])ckeditor(?... | (function(){if(!window.CKEDITOR)window.CKEDITOR=(function(){var a={timestamp:'A8LE4JO',version:'3.4.1',revision:'5892',_:{},status:'unloaded',basePath:(function(){var d=window.CKEDITOR_BASEPATH||'';if(!d){var e=document.getElementsByTagName('script');for(var f=0;f<e.length;f++){var g=e[f].src.match(/(^|.*[\\\/])ckedito... | (function(){if(!window.CKEDITOR)window.CKEDITOR=(function(){var a={timestamp:'A39E',version:'3.2.1',revision:'5372',_:{},status:'unloaded',basePath:(function(){var d=window.CKEDITOR_BASEPATH||'';if(!d){var e=document.getElementsByTagName('script');for(var f=0;f<e.length;f++){var g=e[f].src.match(/(^|.*[\\\/])ckeditor(?... |
prev.toggleClass(conf.disabledClass, i <= 0); next.toggleClass(conf.disabledClass, i >= self.getSize() -1); | setTimeout(function() { if (!e.isDefaultPrevented()) { prev.toggleClass(conf.disabledClass, i <= 0); next.toggleClass(conf.disabledClass, i >= self.getSize() -1); } }, 1); | (function($) { // static constructs $.tools = $.tools || {version: '@VERSION'}; $.tools.scrollable = { conf: { activeClass: 'active', circular: false, clonedClass: 'cloned', disabledClass: 'disabled', easing: 'swing', initialIndex: 0, item: null, items: '.items', keyboard: true, mousewheel: fa... |
isWidget = isInput && trigger.is(":checkbox, :radio, select, :button"), | isWidget = isInput && trigger.is(":checkbox, :radio, select, :button, :submit"), | (function($) { /* removed: oneInstance, lazy, tip must next to the trigger isShown(fully), layout, tipClass, layout */ // static constructs $.tools = $.tools || {version: '@VERSION'}; $.tools.tooltip = { conf: { // default effect variables effect: 'toggle', fadeOutSpeed: "fast", predelay: 0, ... |
var ajax = new XMLHttpRequest(), | var ajax = new window.XMLHttpRequest(), | BF.include = (function (){ /// Stores files that have already been loaded so that they do not have to be downloaded more than once. ///TODO: Use this, and maybe make a way to ignore the cache is needed. var files = []; return function (path, context, timeout, retry) { var ajax = new XMLHttpReq... |
WT_DECLARE_WT_MEMBER(1,"StdLayout",function(a,s,h){var p=this;this.getId=function(){return s};this.WT=a;this.marginH=function(c){var f=a.px(c,"marginLeft");f+=a.px(c,"marginRight");f+=a.px(c,"borderLeftWidth");f+=a.px(c,"borderRightWidth");f+=a.px(c,"paddingLeft");f+=a.px(c,"paddingRight");return f};this.marginV=functi... | WT_DECLARE_WT_MEMBER(1,"StdLayout",function(a,s,i){var o=this;this.getId=function(){return s};this.WT=a;this.marginH=function(b){var f=b.parentNode,g=a.px(b,"marginLeft");g+=a.px(b,"marginRight");g+=a.px(b,"borderLeftWidth");g+=a.px(b,"borderRightWidth");g+=a.px(b,"paddingLeft");g+=a.px(b,"paddingRight");g+=a.pxself(f,... | WT_DECLARE_WT_MEMBER(1,"StdLayout",function(a,s,h){var p=this;this.getId=function(){return s};this.WT=a;this.marginH=function(c){var f=a.px(c,"marginLeft");f+=a.px(c,"marginRight");f+=a.px(c,"borderLeftWidth");f+=a.px(c,"borderRightWidth");f+=a.px(c,"paddingLeft");f+=a.px(c,"paddingRight");return f};this.marginV=functi... |
WT_DECLARE_WT_MEMBER(1,"WSpinBox",function(m,b,g,h,f){function i(a){if(a>h)a=h;else if(a<g)a=g;b.value=a}function j(){var a=Number(b.value);a+=f;i(a);b.onchange()}function k(){var a=Number(b.value);a-=f;i(a);b.onchange()}jQuery.data(b,"obj",this);var d=m.WT,e=null,l;this.update=function(a,c,n){g=a;h=c;f=n};this.mouseMo... | WT_DECLARE_WT_MEMBER(1,"WSpinBox",function(n,b,h,i,f){function j(a){if(a>i)a=i;else if(a<h)a=h;b.value=a}function k(){var a=Number(b.value);a+=f;j(a);b.onchange()}function l(){var a=Number(b.value);a-=f;j(a);b.onchange()}jQuery.data(b,"obj",this);var d=n.WT,g=$(b),e=null,m;this.update=function(a,c,o){h=a;i=c;f=o};this.... | WT_DECLARE_WT_MEMBER(1,"WSpinBox",function(m,b,g,h,f){function i(a){if(a>h)a=h;else if(a<g)a=g;b.value=a}function j(){var a=Number(b.value);a+=f;i(a);b.onchange()}function k(){var a=Number(b.value);a-=f;i(a);b.onchange()}jQuery.data(b,"obj",this);var d=m.WT,e=null,l;this.update=function(a,c,n){g=a;h=c;f=n};this.mouseMo... |
var submit_params = $.param(Pfs.UI.browserInfo()); $(this).attr('href', $(this).attr('href') + '?' + submit_params); | $(this).attr('href', $(this).attr('href')); | PluginDir = (function () { var $ = window.$ = jQuery.noConflict(); var $this = { pfs_endpoint: 'http://plugins.stage.mozilla.com/pfs/v2', /** * Initialize the package. */ init: function () { $(document).ready(function () { // Tweak the body tag to ind... |
(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... |
alert('MA JONG'); | editor.onActivate.add(function(editor) { alert('MA JONG'); $(editor.getContainer()).addClass('expanded'); }); | |
WT_DECLARE_WT_MEMBER(1,"WTreeView",function(l,d,i,p,q){function n(c){var a=-1,b=null,f=false,e=false,h=null;for(c=c.target||c.srcElement;c;){if(c.className.indexOf("c1 rh")==0){if(a==-1)a=0}else if(c.className.indexOf("Wt-tv-c")==0){if(c.className.indexOf("Wt-tv-c")==0)a=c.className.split(" ")[0].substring(7)*1;else if... | WT_DECLARE_WT_MEMBER(1,"WTreeView",function(m,d,i,p,q){function n(c){var a=-1,b=null,e=false,f=false,j=null;for(c=c.target||c.srcElement;c;){if(c.className.indexOf("c1 rh")==0){if(a==-1)a=0}else if(c.className.indexOf("Wt-tv-c")==0){if(c.className.indexOf("Wt-tv-c")==0)a=c.className.split(" ")[0].substring(7)*1;else if... | WT_DECLARE_WT_MEMBER(1,"WTreeView",function(l,d,i,p,q){function n(c){var a=-1,b=null,f=false,e=false,h=null;for(c=c.target||c.srcElement;c;){if(c.className.indexOf("c1 rh")==0){if(a==-1)a=0}else if(c.className.indexOf("Wt-tv-c")==0){if(c.className.indexOf("Wt-tv-c")==0)a=c.className.split(" ")[0].substring(7)*1;else if... |
if (event.changedTouches) | if (!WT.isIE && event.changedTouches) | function(WT, orientation, width, height, minDelta, maxDelta, dragWidgetClass, doneFn, el, parent, event, offsetX, offsetY) { var handle = document.createElement('div'); handle.style.position = 'absolute'; handle.style.zIndex = '100'; if (orientation == 'v') { handle.style.width = height + '... |
WT_DECLARE_WT_MEMBER(1,"StdLayout",function(a,s,i){var p=this;this.getId=function(){return s};this.WT=a;this.marginH=function(c){var h=c.parentNode,g=a.px(c,"marginLeft");g+=a.px(c,"marginRight");g+=a.px(c,"borderLeftWidth");g+=a.px(c,"borderRightWidth");g+=a.px(h,"paddingLeft");g+=a.px(h,"paddingRight");return g};this... | WT_DECLARE_WT_MEMBER(1,"StdLayout",function(a,s,h){var p=this;this.getId=function(){return s};this.WT=a;this.marginH=function(c){var f=a.px(c,"marginLeft");f+=a.px(c,"marginRight");f+=a.px(c,"borderLeftWidth");f+=a.px(c,"borderRightWidth");f+=a.px(c,"paddingLeft");f+=a.px(c,"paddingRight");return f};this.marginV=functi... | WT_DECLARE_WT_MEMBER(1,"StdLayout",function(a,s,i){var p=this;this.getId=function(){return s};this.WT=a;this.marginH=function(c){var h=c.parentNode,g=a.px(c,"marginLeft");g+=a.px(c,"marginRight");g+=a.px(c,"borderLeftWidth");g+=a.px(c,"borderRightWidth");g+=a.px(h,"paddingLeft");g+=a.px(h,"paddingRight");return g};this... |
return this[ fn ? "bind" : "trigger" ]( "wheel", fn ); | return this[ fn ? "bind" : "trigger" ]( "mousewheel", fn ); | (function($) { $.fn.mousewheel = function( fn ){ return this[ fn ? "bind" : "trigger" ]( "wheel", fn ); }; // special event config $.event.special.wheel = { setup: function(){ $.event.add( this, wheelEvents, wheelHandler, {} ); }, teardown: function(){ $.event.remove( this, wheelEvents, wheelHandler ); } }; ... |
event.type = "wheel"; | event.type = "mousewheel"; | (function($) { $.fn.mousewheel = function( fn ){ return this[ fn ? "bind" : "trigger" ]( "wheel", fn ); }; // special event config $.event.special.wheel = { setup: function(){ $.event.add( this, wheelEvents, wheelHandler, {} ); }, teardown: function(){ $.event.remove( this, wheelEvents, wheelHandler ); } }; ... |
WT_DECLARE_WT_MEMBER(1,"WGLWidget",function(r,j){jQuery.data(j,"obj",this);var f=r.WT,l=f.glMatrix.vec3,b=f.glMatrix.mat4;this.ctx=null;this.initializeGL=function(){};this.paintGL=function(){};var h=null,i=null,m=null,n=0,o=0,e=null,p=0,q=0;this.discoverContext=function(a){if(j.getContext){try{this.ctx=j.getContext("we... | WT_DECLARE_WT_MEMBER(1,"WGLWidget",function(r,j){jQuery.data(j,"obj",this);var f=r.WT,l=f.glMatrix.vec3,b=f.glMatrix.mat4;this.ctx=null;this.initializeGL=function(){};this.paintGL=function(){};this.resizeGL=function(){};this.updates=[];this.initialized=false;var h=null,i=null,m=null,n=0,o=0,e=null,p=0,q=0;this.discover... | WT_DECLARE_WT_MEMBER(1,"WGLWidget",function(r,j){jQuery.data(j,"obj",this);var f=r.WT,l=f.glMatrix.vec3,b=f.glMatrix.mat4;this.ctx=null;this.initializeGL=function(){};this.paintGL=function(){};var h=null,i=null,m=null,n=0,o=0,e=null,p=0,q=0;this.discoverContext=function(a){if(j.getContext){try{this.ctx=j.getContext("we... |
(function(){var a=1,b=2,c=4,d={id:[{type:a,name:'id'}],classid:[{type:a,name:'classid'}],codebase:[{type:a,name:'codebase'}],pluginspage:[{type:c,name:'pluginspage'}],src:[{type:b,name:'movie'},{type:c,name:'src'}],name:[{type:c,name:'name'}],align:[{type:a,name:'align'}],title:[{type:a,name:'title'},{type:c,name:'titl... | (function(){var a=1,b=2,c=4,d={id:[{type:a,name:'id'}],classid:[{type:a,name:'classid'}],codebase:[{type:a,name:'codebase'}],pluginspage:[{type:c,name:'pluginspage'}],src:[{type:b,name:'movie'},{type:c,name:'src'}],name:[{type:c,name:'name'}],align:[{type:a,name:'align'}],title:[{type:a,name:'title'},{type:c,name:'titl... | (function(){var a=1,b=2,c=4,d={id:[{type:a,name:'id'}],classid:[{type:a,name:'classid'}],codebase:[{type:a,name:'codebase'}],pluginspage:[{type:c,name:'pluginspage'}],src:[{type:b,name:'movie'},{type:c,name:'src'}],name:[{type:c,name:'name'}],align:[{type:a,name:'align'}],title:[{type:a,name:'title'},{type:c,name:'titl... |
var t = $.tools.overlay; | var t = $.tools.overlay, w = $(window); | (function($) { // version number var t = $.tools.overlay; // extend global configuragion with effect specific defaults $.extend(t.conf, { start: { absolute: true, top: null, left: null }, fadeInSpeed: 'fast', zIndex: 9999 }); // utility function function getPosition(el) { var p = el.offset(); re... |
absolute: true, | (function($) { // version number var t = $.tools.overlay; // extend global configuragion with effect specific defaults $.extend(t.conf, { start: { absolute: true, top: null, left: null }, fadeInSpeed: 'fast', zIndex: 9999 }); // utility function function getPosition(el) { var p = el.offset(); re... | |
return [p.top + el.height() / 2, p.left + el.width() / 2]; | return { top: p.top + el.height() / 2, left: p.left + el.width() / 2 }; | (function($) { // version number var t = $.tools.overlay; // extend global configuragion with effect specific defaults $.extend(t.conf, { start: { absolute: true, top: null, left: null }, fadeInSpeed: 'fast', zIndex: 9999 }); // utility function function getPosition(el) { var p = el.offset(); re... |
var loadEffect = function(onLoad) { | var loadEffect = function(pos, onLoad) { | (function($) { // version number var t = $.tools.overlay; // extend global configuragion with effect specific defaults $.extend(t.conf, { start: { absolute: true, top: null, left: null }, fadeInSpeed: 'fast', zIndex: 9999 }); // utility function function getPosition(el) { var p = el.offset(); re... |
opts = this.getConf(), | conf = this.getConf(), | (function($) { // version number var t = $.tools.overlay; // extend global configuragion with effect specific defaults $.extend(t.conf, { start: { absolute: true, top: null, left: null }, fadeInSpeed: 'fast', zIndex: 9999 }); // utility function function getPosition(el) { var p = el.offset(); re... |
img.css({border:0, position: opts.fixed ? 'fixed' : 'absolute', display:'none'}).width(oWidth); | img.css({border:0, display:'none'}).width(oWidth); | (function($) { // version number var t = $.tools.overlay; // extend global configuragion with effect specific defaults $.extend(t.conf, { start: { absolute: true, top: null, left: null }, fadeInSpeed: 'fast', zIndex: 9999 }); // utility function function getPosition(el) { var p = el.offset(); re... |
var w = $(window), itop = opts.start.top || Math.round(w.height() / 2), ileft = opts.start.left || Math.round(w.width() / 2); | var itop = conf.start.top || Math.round(w.height() / 2), ileft = conf.start.left || Math.round(w.width() / 2); | (function($) { // version number var t = $.tools.overlay; // extend global configuragion with effect specific defaults $.extend(t.conf, { start: { absolute: true, top: null, left: null }, fadeInSpeed: 'fast', zIndex: 9999 }); // utility function function getPosition(el) { var p = el.offset(); re... |
itop = p[0]; ileft = p[1]; | itop = p.top; ileft = p.left; | (function($) { // version number var t = $.tools.overlay; // extend global configuragion with effect specific defaults $.extend(t.conf, { start: { absolute: true, top: null, left: null }, fadeInSpeed: 'fast', zIndex: 9999 }); // utility function function getPosition(el) { var p = el.offset(); re... |
if (!opts.start.absolute) { itop += w.scrollTop(); ileft += w.scrollLeft(); } | (function($) { // version number var t = $.tools.overlay; // extend global configuragion with effect specific defaults $.extend(t.conf, { start: { absolute: true, top: null, left: null }, fadeInSpeed: 'fast', zIndex: 9999 }); // utility function function getPosition(el) { var p = el.offset(); re... | |
zIndex: opts.zIndex | zIndex: conf.zIndex | (function($) { // version number var t = $.tools.overlay; // extend global configuragion with effect specific defaults $.extend(t.conf, { start: { absolute: true, top: null, left: null }, fadeInSpeed: 'fast', zIndex: 9999 }); // utility function function getPosition(el) { var p = el.offset(); re... |
width: oWidth}, opts.speed, function() { | width: oWidth}, conf.speed, function() { | (function($) { // version number var t = $.tools.overlay; // extend global configuragion with effect specific defaults $.extend(t.conf, { start: { absolute: true, top: null, left: null }, fadeInSpeed: 'fast', zIndex: 9999 }); // utility function function getPosition(el) { var p = el.offset(); re... |
overlay.css("zIndex", opts.zIndex + 1).fadeIn(opts.fadeInSpeed, function() { | overlay.css("zIndex", conf.zIndex + 1).fadeIn(conf.fadeInSpeed, function() { | (function($) { // version number var t = $.tools.overlay; // extend global configuragion with effect specific defaults $.extend(t.conf, { start: { absolute: true, top: null, left: null }, fadeInSpeed: 'fast', zIndex: 9999 }); // utility function function getPosition(el) { var p = el.offset(); re... |
var overlay = this.getOverlay(), opts = this.getConf(), | var overlay = this.getOverlay().hide(), conf = this.getConf(), | (function($) { // version number var t = $.tools.overlay; // extend global configuragion with effect specific defaults $.extend(t.conf, { start: { absolute: true, top: null, left: null }, fadeInSpeed: 'fast', zIndex: 9999 }); // utility function function getPosition(el) { var p = el.offset(); re... |
top = opts.start.top, left = opts.start.left; | img = overlay.data("img"), css = { top: conf.start.top, left: conf.start.left, width: 0 }; if (trigger) { $.extend(css, getPosition(trigger)); } | (function($) { // version number var t = $.tools.overlay; // extend global configuragion with effect specific defaults $.extend(t.conf, { start: { absolute: true, top: null, left: null }, fadeInSpeed: 'fast', zIndex: 9999 }); // utility function function getPosition(el) { var p = el.offset(); re... |
overlay.hide(); if (trigger) { var p = getPosition(trigger); top = p[0]; left = p[1]; } | if (conf.fixed) { img.css({position: 'absolute'}) .animate({ top: "+=" + w.scrollTop(), left: "+=" + w.scrollLeft()}, 0); } | (function($) { // version number var t = $.tools.overlay; // extend global configuragion with effect specific defaults $.extend(t.conf, { start: { absolute: true, top: null, left: null }, fadeInSpeed: 'fast', zIndex: 9999 }); // utility function function getPosition(el) { var p = el.offset(); re... |
overlay.data("img").animate({top: top, left: left, width:0}, opts.closeSpeed, onClose); | img.animate(css, conf.closeSpeed, onClose); | (function($) { // version number var t = $.tools.overlay; // extend global configuragion with effect specific defaults $.extend(t.conf, { start: { absolute: true, top: null, left: null }, fadeInSpeed: 'fast', zIndex: 9999 }); // utility function function getPosition(el) { var p = el.offset(); re... |
WT_DECLARE_WT_MEMBER(1,"WGLWidget",function(r,l){jQuery.data(l,"obj",this);var f=r.WT,k=f.glMatrix.vec3,b=f.glMatrix.mat4;this.ctx=null;this.initializeGL=function(){};this.paintGL=function(){};var h=null,i=null,m=null,n=0,o=0,e=null,p=0,q=0;this.discoverContext=function(){if(l.getContext){this.ctx=l.getContext("experim... | WT_DECLARE_WT_MEMBER(1,"WGLWidget",function(r,j){jQuery.data(j,"obj",this);var f=r.WT,l=f.glMatrix.vec3,b=f.glMatrix.mat4;this.ctx=null;this.initializeGL=function(){};this.paintGL=function(){};var h=null,i=null,m=null,n=0,o=0,e=null,p=0,q=0;this.discoverContext=function(a){if(j.getContext){try{this.ctx=j.getContext("we... | WT_DECLARE_WT_MEMBER(1,"WGLWidget",function(r,l){jQuery.data(l,"obj",this);var f=r.WT,k=f.glMatrix.vec3,b=f.glMatrix.mat4;this.ctx=null;this.initializeGL=function(){};this.paintGL=function(){};var h=null,i=null,m=null,n=0,o=0,e=null,p=0,q=0;this.discoverContext=function(){if(l.getContext){this.ctx=l.getContext("experim... |
var pitch = pitches[acc.note]; pitch = pitch + 6 - mid; acc.verticalPos = pitch % 14; }) | var pitch = pitches[acc.note]; pitch = pitch + 6 - mid; acc.verticalPos = pitch % 14; }); | key.extraAccidentals.each(function(acc) { var pitch = pitches[acc.note]; pitch = pitch + 6 - mid; acc.verticalPos = pitch % 14; // Always keep this on the two octaves on the staff }) |
Zotero.debug(text); | Zotero.Utilities.HTTP.doGet(unAPIResolver, function(text) { Zotero.debug(text); var format = checkFormats(text); if(format) { // move unsearchedIds to foundIds foundIds = unsearchedIds; unsearchedIds = []; // save format and formatName foundFormat = format[0]; foundFormatName = format[1]; ... | |
$.fn.tagBox = function(options) { | $.fn.doMeta = function(options) { | (function($) { $.fn.tagBox = function(options) { // define defaults var defaults = { splitChar: ',', emptyMessage: '', addLabel: 'add', removeLabel: 'delete', autoCompleteUrl: '', canAddNew: false, showIconOnly: true }; // extend options var options = $.extend(defaults, options); // loop all elem... |
var defaults = { splitChar: ',', emptyMessage: '', addLabel: 'add', removeLabel: 'delete', autoCompleteUrl: '', canAddNew: false, showIconOnly: true }; | var defaults = {}; | (function($) { $.fn.tagBox = function(options) { // define defaults var defaults = { splitChar: ',', emptyMessage: '', addLabel: 'add', removeLabel: 'delete', autoCompleteUrl: '', canAddNew: false, showIconOnly: true }; // extend options var options = $.extend(defaults, options); // loop all elem... |
var id = $(this).attr('id'); var elements = get(); var blockSubmit = false; | var element = $(this); calculateMeta(null, $(this)); $(this).bind('keyup', calculateMeta); if($('#pageTitle').length > 0 && $('#pageTitleOverwrite').length > 0) { $('#pageTitleOverwrite').change(function(evt) { if(!$(this).is(':checked')) { $('#pageTitle').val(element.val()); } }); } if($('#navigationTitle').leng... | (function($) { $.fn.tagBox = function(options) { // define defaults var defaults = { splitChar: ',', emptyMessage: '', addLabel: 'add', removeLabel: 'delete', autoCompleteUrl: '', canAddNew: false, showIconOnly: true }; // extend options var options = $.extend(defaults, options); // loop all elem... |
$(this.form).submit(function() { return !blockSubmit; }) var html = '<div class="tagsWrapper">'+ ' <div class="oneLiner">'+ ' <p><input class="inputText dontSubmit" id="addValue-'+ id +'" name="addValue-'+ id +'" type="text" /></p>'+ ' <div class="buttonHolder">'+ ' <a href="#" id="addButton-'+ id +'" class="but... | function calculateMeta(evt, element) { if(typeof element != 'undefined') var title = element.val(); else var title = $(this).val(); | (function($) { $.fn.tagBox = function(options) { // define defaults var defaults = { splitChar: ',', emptyMessage: '', addLabel: 'add', removeLabel: 'delete', autoCompleteUrl: '', canAddNew: false, showIconOnly: true }; // extend options var options = $.extend(defaults, options); // loop all elem... |
build(); if(options.autoCompleteUrl != '') { $('#addValue-'+ id).autocomplete({ delay: 200, minLength: 2, source: function(request, response) { $.ajax({ url: options.autoCompleteUrl, type: 'GET', data: 'term=' + request.term, success: function(data, textStatus) { var realData = []; if(data.code != 200 && jsBackend... | if($('#pageTitle').length > 0 && $('#pageTitleOverwrite').length > 0) { if(!$('#pageTitleOverwrite').is(':checked')) { $('#pageTitle').val(title); | (function($) { $.fn.tagBox = function(options) { // define defaults var defaults = { splitChar: ',', emptyMessage: '', addLabel: 'add', removeLabel: 'delete', autoCompleteUrl: '', canAddNew: false, showIconOnly: true }; // extend options var options = $.extend(defaults, options); // loop all elem... |
} function build() { var html = ''; if(elements.length == 0 && options.emptyMessage != '') html = '<p class="helpTxt">'+ options.emptyMessage +'</p>'; else { html = '<ul>'; for(var i in elements) { html += ' <li><span><strong>'+ elements[i] +'</strong>'+ ' <a href="#" class="deleteButton-'+ id +'" rel="'+ e... | if($('#navigationTitle').length > 0 && $('#navigationTitleOverwrite').length > 0) { if(!$('#navigationTitleOverwrite').is(':checked')) { $('#navigationTitle').val(title); | (function($) { $.fn.tagBox = function(options) { // define defaults var defaults = { splitChar: ',', emptyMessage: '', addLabel: 'add', removeLabel: 'delete', autoCompleteUrl: '', canAddNew: false, showIconOnly: true }; // extend options var options = $.extend(defaults, options); // loop all elem... |
html += '</ul>'; | (function($) { $.fn.tagBox = function(options) { // define defaults var defaults = { splitChar: ',', emptyMessage: '', addLabel: 'add', removeLabel: 'delete', autoCompleteUrl: '', canAddNew: false, showIconOnly: true }; // extend options var options = $.extend(defaults, options); // loop all elem... | |
$('#elementList-'+ id).html(html); } function get() { var chunks = $('#'+ id).val().split(options.splitChar); var elements = []; for(var i in chunks) { value = chunks[i].replace(/^\s+|\s+$/g,''); if(value != '') elements.push(value) | if(!$('#metaDescriptionOverwrite').is(':checked')) { $('#metaDescription').val(title); | (function($) { $.fn.tagBox = function(options) { // define defaults var defaults = { splitChar: ',', emptyMessage: '', addLabel: 'add', removeLabel: 'delete', autoCompleteUrl: '', canAddNew: false, showIconOnly: true }; // extend options var options = $.extend(defaults, options); // loop all elem... |
return elements; } function remove(value) { var index = elements.indexOf(value); if(index > -1) elements.splice(index, 1); $('#'+ id).val(elements.join(options.splitChar)); build(); | if(!$('#metaKeywordsOverwrite').is(':checked')) { $('#metaKeywords').val(title); } if(!$('#urlOverwrite').is(':checked')) { $('#url').val(utils.string.urlise(title)); $('#generatedUrl').html(utils.string.urlise(title)); } | (function($) { $.fn.tagBox = function(options) { // define defaults var defaults = { splitChar: ',', emptyMessage: '', addLabel: 'add', removeLabel: 'delete', autoCompleteUrl: '', canAddNew: false, showIconOnly: true }; // extend options var options = $.extend(defaults, options); // loop all elem... |
function (args) { liberator.assert(!options['private'], "Cannot sanitize items in private mode"); let timespan = args["-timespan"] || options["sanitizetimespan"]; sanitizer.range = Sanitizer.getClearRange(timespan); sanitizer.ignoreTimespan = !sanitizer.range; if (args.bang) { liberator.assert(args.length == 0, "E48... | argToPref: function (arg) ["commandLine", "offlineApps", "siteSettings"].filter(function (pref) pref.toLowerCase() == arg)[0] || arg, | function (args) { liberator.assert(!options['private'], "Cannot sanitize items in private mode"); let timespan = args["-timespan"] || options["sanitizetimespan"]; sanitizer.range = Sanitizer.getClearRange(timespan); sanitizer.ignoreTimespan = !sani... |
WT_DECLARE_WT_MEMBER(1,"WSuggestionPopup",function(q,d,y,z,r){function m(a){return $(a).hasClass("Wt-suggest-onedit")||$(a).hasClass("Wt-suggest-dropdown")}function s(){return d.style.display!="none"}function k(){d.style.display="none"}function A(a){c.positionAtWidget(d.id,a.id,c.Vertical)}function B(a){a=a||window.eve... | WT_DECLARE_WT_MEMBER(1,"WSuggestionPopup",function(q,d,A,B,r){function m(a){return $(a).hasClass("Wt-suggest-onedit")||$(a).hasClass("Wt-suggest-dropdown")}function t(){return d.style.display!="none"}function l(){d.style.display="none"}function C(a){c.positionAtWidget(d.id,a.id,c.Vertical)}function D(a){a=a||window.eve... | WT_DECLARE_WT_MEMBER(1,"WSuggestionPopup",function(q,d,y,z,r){function m(a){return $(a).hasClass("Wt-suggest-onedit")||$(a).hasClass("Wt-suggest-dropdown")}function s(){return d.style.display!="none"}function k(){d.style.display="none"}function A(a){c.positionAtWidget(d.id,a.id,c.Vertical)}function B(a){a=a||window.eve... |
var _$_WT_CLASS_$_=new (function(){function w(a,b){return a.style[b]?a.style[b]:document.defaultView&&document.defaultView.getComputedStyle?document.defaultView.getComputedStyle(a,null)[b]:a.currentStyle?a.currentStyle[b]:null}function t(a){if(B==null)return null;if(!a)a=window.event;if(a){for(var b=a=g.target(a);b&&b!... | var _$_WT_CLASS_$_=new (function(){function x(a,b){return a.style[b]?a.style[b]:document.defaultView&&document.defaultView.getComputedStyle?document.defaultView.getComputedStyle(a,null)[b]:a.currentStyle?a.currentStyle[b]:null}function u(a){if(B==null)return null;if(!a)a=window.event;if(a){for(var b=a=g.target(a);b&&b!... | var _$_WT_CLASS_$_=new (function(){function w(a,b){return a.style[b]?a.style[b]:document.defaultView&&document.defaultView.getComputedStyle?document.defaultView.getComputedStyle(a,null)[b]:a.currentStyle?a.currentStyle[b]:null}function t(a){if(B==null)return null;if(!a)a=window.event;if(a){for(var b=a=g.target(a);b&&b!... |
-1&&navigator.userAgent.toLowerCase().indexOf("opera")==-1)&&navigator.userAgent.toLowerCase().indexOf("msie 6")!=-1;this.isGecko=navigator.userAgent.toLowerCase().indexOf("gecko")!=-1;this.isIEMobile=navigator.userAgent.toLowerCase().indexOf("msie 4")!=-1||navigator.userAgent.toLowerCase().indexOf("msie 5")!=-1;this.i... | -1&&navigator.userAgent.toLowerCase().indexOf("opera")==-1)&&navigator.userAgent.toLowerCase().indexOf("msie 6")!=-1;this.isGecko=navigator.userAgent.toLowerCase().indexOf("gecko")!=-1;this.isIEMobile=navigator.userAgent.toLowerCase().indexOf("msie 4")!=-1||navigator.userAgent.toLowerCase().indexOf("msie 5")!=-1;this.i... | var _$_WT_CLASS_$_=new (function(){function w(a,b){return a.style[b]?a.style[b]:document.defaultView&&document.defaultView.getComputedStyle?document.defaultView.getComputedStyle(a,null)[b]:a.currentStyle?a.currentStyle[b]:null}function t(a){if(B==null)return null;if(!a)a=window.event;if(a){for(var b=a=g.target(a);b&&b!... |
if(!b)for(var f=0;f<window.frames.length;++f)try{if(b=window.frames[f].document.getElementById(a))return b}catch(k){}return b};this.widgetPageCoordinates=function(a){var b=0,f=0,k;if(g.hasTag(a,"AREA"))a=a.parentNode.nextSibling;for(;a;){b+=a.offsetLeft;f+=a.offsetTop;if(w(a,"position")=="fixed"){b+=document.body.scrol... | if(!b)for(var f=0;f<window.frames.length;++f)try{if(b=window.frames[f].document.getElementById(a))return b}catch(k){}return b};this.widgetPageCoordinates=function(a){var b=0,f=0,k;if(g.hasTag(a,"AREA"))a=a.parentNode.nextSibling;for(;a;){b+=a.offsetLeft;f+=a.offsetTop;if(x(a,"position")=="fixed"){b+=document.body.scrol... | var _$_WT_CLASS_$_=new (function(){function w(a,b){return a.style[b]?a.style[b]:document.defaultView&&document.defaultView.getComputedStyle?document.defaultView.getComputedStyle(a,null)[b]:a.currentStyle?a.currentStyle[b]:null}function t(a){if(B==null)return null;if(!a)a=window.event;if(a){for(var b=a=g.target(a);b&&b!... |
"undefined"?a.charCode:0)>0||g.isIE?true:g.isOpera?a.keyCode==13||a.keyCode==27||a.keyCode>=32&&a.keyCode<125:a.keyCode==13||a.keyCode==27||a.keyCode==32||a.keyCode>46&&a.keyCode<112};var Z=/^-?\d+(?:px)?$/i;this.px=function(a,b){a=w(a,b);if(a=="auto"||a==null)return 0;return Z.test(a)?parseFloat(a):0};this.isHidden=fu... | "undefined"?a.charCode:0)>0||g.isIE?true:g.isOpera?a.keyCode==13||a.keyCode==27||a.keyCode>=32&&a.keyCode<125:a.keyCode==13||a.keyCode==27||a.keyCode==32||a.keyCode>46&&a.keyCode<112};var Z=/^-?\d+(?:px)?$/i;this.px=function(a,b){a=x(a,b);if(a=="auto"||a==null)return 0;return Z.test(a)?parseFloat(a):0};this.isHidden=fu... | var _$_WT_CLASS_$_=new (function(){function w(a,b){return a.style[b]?a.style[b]:document.defaultView&&document.defaultView.getComputedStyle?document.defaultView.getComputedStyle(a,null)[b]:a.currentStyle?a.currentStyle[b]:null}function t(a){if(B==null)return null;if(!a)a=window.event;if(a){for(var b=a=g.target(a);b&&b!... |
""};var B=null;this.firedTarget=null;this.target=function(a){return g.firedTarget||a.target||a.srcElement};var S=false,Y=false;this.capture=function(a){ca();if(!(B&&a)){B=a;var b=document.body;if(b.setCapture)a!=null?b.setCapture():b.releaseCapture();if(a!=null){$(b).addClass("unselectable");b.setAttribute("unselectabl... | ""};var B=null;this.firedTarget=null;this.target=function(a){return g.firedTarget||a.target||a.srcElement};var S=false,U=false;this.capture=function(a){ca();if(!(B&&a)){B=a;var b=document.body;if(b.setCapture)a!=null?b.setCapture():b.releaseCapture();if(a!=null){$(b).addClass("unselectable");b.setAttribute("unselectabl... | var _$_WT_CLASS_$_=new (function(){function w(a,b){return a.style[b]?a.style[b]:document.defaultView&&document.defaultView.getComputedStyle?document.defaultView.getComputedStyle(a,null)[b]:a.currentStyle?a.currentStyle[b]:null}function t(a){if(B==null)return null;if(!a)a=window.event;if(a){for(var b=a=g.target(a);b&&b!... |
"stylesheet");b!=""&&b!="all"&&f.setAttribute("media",b);document.getElementsByTagName("head")[0].appendChild(f)}};this.windowSize=function(){var a,b;if(typeof window.innerWidth==="number"){a=window.innerWidth;b=window.innerHeight}else{a=document.documentElement.clientWidth;b=document.documentElement.clientHeight}retur... | "stylesheet");b!=""&&b!="all"&&f.setAttribute("media",b);document.getElementsByTagName("head")[0].appendChild(f)}};this.windowSize=function(){var a,b;if(typeof window.innerWidth==="number"){a=window.innerWidth;b=window.innerHeight}else{a=document.documentElement.clientWidth;b=document.documentElement.clientHeight}retur... | var _$_WT_CLASS_$_=new (function(){function w(a,b){return a.style[b]?a.style[b]:document.defaultView&&document.defaultView.getComputedStyle?document.defaultView.getComputedStyle(a,null)[b]:a.currentStyle?a.currentStyle[b]:null}function t(a){if(B==null)return null;if(!a)a=window.event;if(a){for(var b=a=g.target(a);b&&b!... |
var ver; | var fo, ver; | (function() { var IE = document.all, URL = 'http://www.adobe.com/go/getflashplayer', JQUERY = typeof jQuery == 'function', RE = /(\d+)[^\d]+(\d+)[^\d]*(\d*)/, GLOBAL_OPTS = { // very common opts width: '100%', height: '100%', id: "_" + ("" + Math.random()).slice(9), // flashembed defaults a... |
var fo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7"); ver = fo && fo.GetVariable("$version"); | fo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7"); ver = fo && fo.GetVariable("$version"); | (function() { var IE = document.all, URL = 'http://www.adobe.com/go/getflashplayer', JQUERY = typeof jQuery == 'function', RE = /(\d+)[^\d]+(\d+)[^\d]*(\d*)/, GLOBAL_OPTS = { // very common opts width: '100%', height: '100%', id: "_" + ("" + Math.random()).slice(9), // flashembed defaults a... |
try { fo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6"); ver = fo && fo.GetVariable("$version"); } catch(err2) { } | (function() { var IE = document.all, URL = 'http://www.adobe.com/go/getflashplayer', JQUERY = typeof jQuery == 'function', RE = /(\d+)[^\d]+(\d+)[^\d]*(\d*)/, GLOBAL_OPTS = { // very common opts width: '100%', height: '100%', id: "_" + ("" + Math.random()).slice(9), // flashembed defaults a... | |
0)m-=b.offsetHeight;else d+=i.stretch[n];++n}}m=m>r?m:r;if(d!=0&&m>0){r=m;var p;n=h=0;for(k=e.rows.length;h<k;h++)if(e.rows[h].className!="Wt-hrh"){b=e.rows[h];if(i.stretch[n]!=0){if(i.stretch[n]!=-1){p=m*i.stretch[n]/d;p=r>p?p:r;p=Math.round(i.minheight[n]>p?i.minheight[n]:p);r-=p}else p=b.offsetHeight;this.adjustRow(... | 0)m-=b.offsetHeight;else d+=i.stretch[n];++n}}m=m>r?m:r;if(d!=0&&m>0){r=m;var p;n=h=0;for(k=e.rows.length;h<k;h++)if(e.rows[h].className!="Wt-hrh"){b=e.rows[h];if(i.stretch[n]!=0){if(i.stretch[n]!=-1){p=m*i.stretch[n]/d;p=r>p?p:r;p=Math.round(i.minheight[n]>p?i.minheight[n]:p);r-=p}else p=b.offsetHeight;this.adjustRow(... | WT_DECLARE_WT_MEMBER(1,"StdLayout",function(a,t,i){var o=this;this.getId=function(){return t};this.WT=a;this.marginH=function(d){var e=d.parentNode,g=a.px(d,"marginLeft");g+=a.px(d,"marginRight");g+=a.px(d,"borderLeftWidth");g+=a.px(d,"borderRightWidth");g+=a.px(e,"paddingLeft");g+=a.px(e,"paddingRight");return g};this... |
(function(e){var d=e.DOM,b=e.dom.Event,h=e.extend,f=e.each,a=e.util.Cookie,g,c=e.explode;e.ThemeManager.requireLangPack("advanced");e.create("tinymce.themes.AdvancedTheme",{sizes:[8,10,12,14,18,24,36],controls:{bold:["bold_desc","Bold"],italic:["italic_desc","Italic"],underline:["underline_desc","Underline"],strikethro... | (function(e){var d=e.DOM,b=e.dom.Event,h=e.extend,f=e.each,a=e.util.Cookie,g,c=e.explode;e.ThemeManager.requireLangPack("advanced");e.create("tinymce.themes.AdvancedTheme",{sizes:[8,10,12,14,18,24,36],controls:{bold:["bold_desc","Bold"],italic:["italic_desc","Italic"],underline:["underline_desc","Underline"],strikethro... | (function(e){var d=e.DOM,b=e.dom.Event,h=e.extend,f=e.each,a=e.util.Cookie,g,c=e.explode;e.ThemeManager.requireLangPack("advanced");e.create("tinymce.themes.AdvancedTheme",{sizes:[8,10,12,14,18,24,36],controls:{bold:["bold_desc","Bold"],italic:["italic_desc","Italic"],underline:["underline_desc","Underline"],strikethro... |
s=["left","right"],y=["top","bottom"],I=h.px(a,"maxWidth")||a.offsetWidth,J=h.px(a,"maxHeight")||a.offsetHeight;if(b+I>H+n.x){j-=q.x;b=a.offsetParent.offsetWidth-(j+h.px(a,"marginRight"));j=1}else{b-=q.x;b-=h.px(a,"marginLeft");j=0}if(e+J>u+n.y){if(l>u+n.y)l=u+n.y;l-=q.y;e=a.offsetParent.offsetHeight-(l+h.px(a,"marginB... | s=["left","right"],y=["top","bottom"],I=h.px(a,"maxWidth")||a.offsetWidth,K=h.px(a,"maxHeight")||a.offsetHeight;if(b+I>H+n.x){j-=q.x;b=a.offsetParent.offsetWidth-(j+h.px(a,"marginRight"));j=1}else{b-=q.x;b-=h.px(a,"marginLeft");j=0}if(e+K>u+n.y){if(l>u+n.y)l=u+n.y;l-=q.y;e=a.offsetParent.offsetHeight-(l+h.px(a,"marginB... | var _$_WT_CLASS_$_=new (function(){function x(a,b){return a.style[b]?a.style[b]:document.defaultView&&document.defaultView.getComputedStyle?document.defaultView.getComputedStyle(a,null)[b]:a.currentStyle?a.currentStyle[b]:null}function w(a,b,e){if(a=="auto"||a==null)return e;return(a=(a=b.exec(a))&&a.length==2?a[1]:nul... |
""};this.hasFocus=function(a){return a==document.activeElement};this.history=function(){function a(){var g,p;p=location.href;g=p.indexOf("#");return g>=0?p.substr(g+1):null}function b(){J.value=L+"|"+C;if(u)J.value+="|"+D.join(",")}function e(g){if(g){if(!g||C!==g){C=g||L;E(unescape(C))}}else{C=L;E(unescape(C))}}functi... | ""};this.hasFocus=function(a){return a==document.activeElement};this.history=function(){function a(){var g,p;p=location.href;g=p.indexOf("#");return g>=0?p.substr(g+1):null}function b(){K.value=L+"|"+C;if(u)K.value+="|"+D.join(",")}function e(g){if(g){if(!g||C!==g){C=g||L;E(unescape(C))}}else{C=L;E(unescape(C))}}functi... | var _$_WT_CLASS_$_=new (function(){function x(a,b){return a.style[b]?a.style[b]:document.defaultView&&document.defaultView.getComputedStyle?document.defaultView.getComputedStyle(a,null)[b]:a.currentStyle?a.currentStyle[b]:null}function w(a,b,e){if(a=="auto"||a==null)return e;return(a=(a=b.exec(a))&&a.length==2?a[1]:nul... |
r;p=v;e(g);b()}else if(v!==p&&u){g=r;p=v;r=D[p-1];e(r);b()}},50)}}function H(){var g;g=J.value.split("|");if(g.length>1){L=g[0];C=g[1]}if(g.length>2)D=g[2].split(",");if(q)l();else{n();F=true;y!=null&&y()}}var u=false,q=self.isIElt9,s=false,y=null,I=null,J=null,F=false,Q=null,D=[],L,C,E=function(){};return{onReady:func... | r;p=v;e(g);b()}else if(v!==p&&u){g=r;p=v;r=D[p-1];e(r);b()}},50)}}function H(){var g;g=K.value.split("|");if(g.length>1){L=g[0];C=g[1]}if(g.length>2)D=g[2].split(",");if(q)l();else{n();F=true;y!=null&&y()}}var u=false,q=self.isIElt9,s=false,y=null,I=null,K=null,F=false,Q=null,D=[],L,C,E=function(){};return{onReady:func... | var _$_WT_CLASS_$_=new (function(){function x(a,b){return a.style[b]?a.style[b]:document.defaultView&&document.defaultView.getComputedStyle?document.defaultView.getComputedStyle(a,null)[b]:a.currentStyle?a.currentStyle[b]:null}function w(a,b,e){if(a=="auto"||a==null)return e;return(a=(a=b.exec(a))&&a.length==2?a[1]:nul... |
var last_suggestion_text = "", suggestion_cache = {}, suggest_interval, suggest_delay = 250, ajax_suggestions = new win.XMLHttpRequest(); | var ajax_suggestions = new win.XMLHttpRequest(), last_suggestion_text = "", suggest_cache = {}, suggest_delay = 250, suggest_interval; | q_obj.onkeypress = (function () { /// Auto Suggest variables var last_suggestion_text = "", suggestion_cache = {}, suggest_interval, suggest_delay = 250, ajax_suggestions = new win.XMLHttpRequest(); /** * */ function request_suggestions() { clearInterval(suggest_interval); if (q_obj.value == la... |
if (typeof suggestion_cache[last_suggestion_text] == "undefined") { | if (typeof suggest_cache[last_suggestion_text] == "undefined") { | q_obj.onkeypress = (function () { /// Auto Suggest variables var last_suggestion_text = "", suggestion_cache = {}, suggest_interval, suggest_delay = 250, ajax_suggestions = new win.XMLHttpRequest(); /** * */ function request_suggestions() { clearInterval(suggest_interval); if (q_obj.value == la... |
show_suggestions(suggestion_cache[last_suggestion_text]); | show_suggestions(suggest_cache[last_suggestion_text]); | q_obj.onkeypress = (function () { /// Auto Suggest variables var last_suggestion_text = "", suggestion_cache = {}, suggest_interval, suggest_delay = 250, ajax_suggestions = new win.XMLHttpRequest(); /** * */ function request_suggestions() { clearInterval(suggest_interval); if (q_obj.value == la... |
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 _$_WT_CLASS_$_=new (function(){var l=this;this.arrayRemove=function(a,b,f){f=a.slice((f||b)+1||a.length);a.length=b<0?a.length+b:b;return a.push.apply(a,f)};this.isIE=navigator.userAgent.toLowerCase().indexOf("msie")!=-1&&navigator.userAgent.toLowerCase().indexOf("opera")==-1;this.isGecko=navigator.userAgent.toLowe... |
if(!a)a=window.event;if(a){for(var b=a=g.target(a);b&&b!=z;)b=b.parentNode;return b==z?g.isIElt9?a:null:z}else return z}function V(a){var b=ca(a);if(b&&!P){if(!a)a=window.event;P=true;if(g.isIElt9){g.firedTarget=a.srcElement||b;b.fireEvent("onmousemove",a);g.firedTarget=null}else g.condCall(b,"onmousemove",a);return P=... | if(!a)a=window.event;if(a){for(var b=a=g.target(a);b&&b!=z;)b=b.parentNode;return b==z?g.isIElt9?a:null:z}else return z}function V(a){var b=ca(a);if(b&&!N){if(!a)a=window.event;N=true;if(g.isIElt9){g.firedTarget=a.srcElement||b;b.fireEvent("onmousemove",a);g.firedTarget=null}else g.condCall(b,"onmousemove",a);return N=... | window._$_WT_CLASS_$_=new (function(){function w(a,b){return a.style[b]?a.style[b]:document.defaultView&&document.defaultView.getComputedStyle?document.defaultView.getComputedStyle(a,null)[b]:a.currentStyle?a.currentStyle[b]:null}function v(a,b,f){if(a=="auto"||a==null)return f;return(a=(a=b.exec(a))&&a.length==2?a[1]:... |
-1||navigator.userAgent.toLowerCase().indexOf("msie 5")!=-1;this.isOpera=window.opera!=="undefined";this.updateDelay=this.isIE?10:51;this.setHtml=function(a,b,f){function l(o,L){var u,q,B;switch(o.nodeType){case 1:u=o.namespaceURI==null?document.createElement(o.nodeName):document.createElementNS(o.namespaceURI,o.nodeNa... | -1||navigator.userAgent.toLowerCase().indexOf("msie 5")!=-1;this.isOpera=typeof window.opera!=="undefined";this.updateDelay=this.isIE?10:51;this.setHtml=function(a,b,f){function l(o,L){var u,q,B;switch(o.nodeType){case 1:u=o.namespaceURI==null?document.createElement(o.nodeName):document.createElementNS(o.namespaceURI,o... | window._$_WT_CLASS_$_=new (function(){function w(a,b){return a.style[b]?a.style[b]:document.defaultView&&document.defaultView.getComputedStyle?document.defaultView.getComputedStyle(a,null)[b]:a.currentStyle?a.currentStyle[b]:null}function v(a,b,f){if(a=="auto"||a==null)return f;return(a=(a=b.exec(a))&&a.length==2?a[1]:... |
if(b.mergeAttributes){b.mergeAttributes(a,false);b.src=a.src}else if(a.attributes&&a.attributes.length>0){var f,l;f=0;for(l=a.attributes.length;f<l;f++){var n=a.attributes[f].nodeName;n!="type"&&n!="name"&&b.setAttribute(n,a.getAttribute(n))}}a.parentNode.replaceChild(b,a)}}};this.CancelPropagate=1;this.CancelDefaultAc... | if(b.mergeAttributes){b.mergeAttributes(a,false);b.src=a.src}else if(a.attributes&&a.attributes.length>0){var f,l;f=0;for(l=a.attributes.length;f<l;f++){var n=a.attributes[f].nodeName;n!="type"&&n!="name"&&b.setAttribute(n,a.getAttribute(n))}}a.parentNode.replaceChild(b,a)}}};var N=false;this.CancelPropagate=1;this.Can... | window._$_WT_CLASS_$_=new (function(){function w(a,b){return a.style[b]?a.style[b]:document.defaultView&&document.defaultView.getComputedStyle?document.defaultView.getComputedStyle(a,null)[b]:a.currentStyle?a.currentStyle[b]:null}function v(a,b,f){if(a=="auto"||a==null)return f;return(a=(a=b.exec(a))&&a.length==2?a[1]:... |
""};this.hasFocus=function(a){return a==document.activeElement};this.history=function(){function a(){var k,h;h=location.href;k=h.indexOf("#");return k>=0?h.substr(k+1):null}function b(){J.value=x+"|"+D;if(u)J.value+="|"+N.join(",")}function f(k){if(k){if(!k||D!==k){D=k||x;Y(unescape(D))}}else{D=x;Y(unescape(D))}}functi... | ""};this.hasFocus=function(a){return a==document.activeElement};this.history=function(){function a(){var k,h;h=location.href;k=h.indexOf("#");return k>=0?h.substr(k+1):null}function b(){J.value=x+"|"+D;if(u)J.value+="|"+O.join(",")}function f(k){if(k){if(!k||D!==k){D=k||x;Y(unescape(D))}}else{D=x;Y(unescape(D))}}functi... | window._$_WT_CLASS_$_=new (function(){function w(a,b){return a.style[b]?a.style[b]:document.defaultView&&document.defaultView.getComputedStyle?document.defaultView.getComputedStyle(a,null)[b]:a.currentStyle?a.currentStyle[b]:null}function v(a,b,f){if(a=="auto"||a==null)return f;return(a=(a=b.exec(a))&&a.length==2?a[1]:... |
s;h=A;f(k);b()}else if(A!==h&&u){k=s;h=A;s=N[h-1];f(s);b()}},50)}}function L(){var k;k=J.value.split("|");if(k.length>1){x=k[0];D=k[1]}if(k.length>2)N=k[2].split(",");if(q)n();else{o();K=true;r!=null&&r()}}var u=false,q=self.isIElt9,B=false,r=null,C=null,J=null,K=false,M=null,N=[],x,D,Y=function(){};return{onReady:func... | s;h=A;f(k);b()}else if(A!==h&&u){k=s;h=A;s=O[h-1];f(s);b()}},50)}}function L(){var k;k=J.value.split("|");if(k.length>1){x=k[0];D=k[1]}if(k.length>2)O=k[2].split(",");if(q)n();else{o();K=true;r!=null&&r()}}var u=false,q=self.isIElt9,B=false,r=null,C=null,J=null,K=false,M=null,O=[],x,D,Y=function(){};return{onReady:func... | window._$_WT_CLASS_$_=new (function(){function w(a,b){return a.style[b]?a.style[b]:document.defaultView&&document.defaultView.getComputedStyle?document.defaultView.getComputedStyle(a,null)[b]:a.currentStyle?a.currentStyle[b]:null}function v(a,b,f){if(a=="auto"||a==null)return f;return(a=(a=b.exec(a))&&a.length==2?a[1]:... |
fqstate;if(u){N[history.length]=fqstate;b()}}}},getCurrentState:function(){if(!K)return"";return D}}}()}); | fqstate;if(u){O[history.length]=fqstate;b()}}}},getCurrentState:function(){if(!K)return"";return D}}}()}); | window._$_WT_CLASS_$_=new (function(){function w(a,b){return a.style[b]?a.style[b]:document.defaultView&&document.defaultView.getComputedStyle?document.defaultView.getComputedStyle(a,null)[b]:a.currentStyle?a.currentStyle[b]:null}function v(a,b,f){if(a=="auto"||a==null)return f;return(a=(a=b.exec(a))&&a.length==2?a[1]:... |
if (panes.eq(i).is(":visible")) { return; } | (function($) { // static constructs $.tools = $.tools || {version: '@VERSION'}; $.tools.tabs = { conf: { tabs: 'a', current: 'current', onBeforeClick: null, onClick: null, effect: 'default', initialIndex: 0, event: 'click', rotate: false, // 1.2 history: false }, addEffect: function... | |
(function(){var C="http: | var Xmla;(function(){var D="http: | (function(){var C="http://schemas.xmlsoap.org/soap/",d=C+"envelope/",g="SOAP-ENV",k="xmlns:"+g+'="'+d+'"',u=g+':encodingStyle="'+C+'encoding/"',i="urn:schemas-microsoft-com:",v=i+"xml-analysis",h='xmlns="'+v+'"',H="sql",j=i+"xml-sql",D="http://www.w3.org/2001/XMLSchema",c="xsd",E="http://www.w3.org/2001/XMLSchema-insta... |
seekTo: function(i, time, fn) { | seekTo: function(i, time, fn) { if (conf.circular && i === 0 && index == -1 && time !== 0) { return self; } | (function($) { // static constructs $.tools = $.tools || {version: '@VERSION'}; $.tools.scrollable = { conf: { activeClass: 'active', circular: false, clonedClass: 'cloned', disabledClass: 'disabled', easing: 'swing', initialIndex: 0, item: null, items: '.items', keyboard: true, mousewheel: fa... |
if (!conf.circular && i < 0 || i > self.getSize()) { return self; } | if (!conf.circular && i < 0 || i > self.getSize() || i < -1) { return self; } | (function($) { // static constructs $.tools = $.tools || {version: '@VERSION'}; $.tools.scrollable = { conf: { activeClass: 'active', circular: false, clonedClass: 'cloned', disabledClass: 'disabled', easing: 'swing', initialIndex: 0, item: null, items: '.items', keyboard: true, mousewheel: fa... |
time = time || conf.speed; | if (time === undefined) { time = conf.speed; } | (function($) { // static constructs $.tools = $.tools || {version: '@VERSION'}; $.tools.scrollable = { conf: { activeClass: 'active', circular: false, clonedClass: 'cloned', disabledClass: 'disabled', easing: 'swing', initialIndex: 0, item: null, items: '.items', keyboard: true, mousewheel: fa... |
$(self).bind(name, fn); | if (fn) { $(self).bind(name, fn); } | (function($) { // static constructs $.tools = $.tools || {version: '@VERSION'}; $.tools.overlay = { addEffect: function(name, loadFn, closeFn) { effects[name] = [loadFn, closeFn]; }, conf: { close: null, closeOnClick: true, closeOnEsc: true, closeSpeed: 'fast', effect: 'default', // sinc... |
$(yesId).observe("click", function() { | $(yesId).observe("click", function(event) { event.stop(); | $(yesId).observe("click", function() { Modalbox.hide(); proceed.defer(); }); |
WT_DECLARE_WT_MEMBER(1,"WHTML5Media",function(c,b){jQuery.data(b,"obj",this);this.alternativeEl=this.mediaEl=null;this.play=function(){if(b.mediaId){var a=$("#"+b.mediaId).get(0);if(a){a.play();return}}if(b.alternativeId)(a=$("#"+b.alternativeId).get(0))&&a.WtPlay&&a.WtPlay()};this.pause=function(){if(b.mediaId){var a=... | WT_DECLARE_WT_MEMBER(1,"WHTML5Media",function(c,b){jQuery.data(b,"obj",this);this.play=function(){if(b.mediaId){var a=$("#"+b.mediaId).get(0);if(a){a.play();return}}if(b.alternativeId)(a=$("#"+b.alternativeId).get(0))&&a.WtPlay&&a.WtPlay()};this.pause=function(){if(b.mediaId){var a=$("#"+b.mediaId).get(0);if(a){a.pause... | WT_DECLARE_WT_MEMBER(1,"WHTML5Media",function(c,b){jQuery.data(b,"obj",this);this.alternativeEl=this.mediaEl=null;this.play=function(){if(b.mediaId){var a=$("#"+b.mediaId).get(0);if(a){a.play();return}}if(b.alternativeId)(a=$("#"+b.alternativeId).get(0))&&a.WtPlay&&a.WtPlay()};this.pause=function(){if(b.mediaId){var a=... |
var abs = Zotero.Utilities.trimInternal(newDoc.evaluate(' | if (newDoc.evaluate(' | Zotero.Utilities.processDocuments(arts, function(newDoc) { Zotero.debug(newDoc.title); var abs = Zotero.Utilities.trimInternal(newDoc.evaluate('//div[contains(@class, "aps-abstractbox")]/p', newDoc, null, XPathResult.ANY_TYPE, null).iterateNext().textContent); var urlRIS = newDoc.location.href; // ... |
item.abstractNote = abs; | if (abs) item.abstractNote = abs; | Zotero.Utilities.processDocuments(arts, function(newDoc) { Zotero.debug(newDoc.title); var abs = Zotero.Utilities.trimInternal(newDoc.evaluate('//div[contains(@class, "aps-abstractbox")]/p', newDoc, null, XPathResult.ANY_TYPE, null).iterateNext().textContent); var urlRIS = newDoc.location.href; // ... |
for (var i = 0; i < countryId.length; i++) { | var VM = (function($){ var undefined, /** * Configuration Class */ VMConfig = window.VMConfig = (function(){ props = { //CSS selector for dependent combos dependentSelector: 'select[class*=dependent]', //Regular Expr to parse parent list dependentExpr: /dependent\[(.*)\]/i, baseUrl: '' }; r... | |
tool = $.tools.mask = { | tool = $.tools.expose = { | (function($) { // static constructs $.tools = $.tools || {version: '@VERSION'}; var tool; tool = $.tools.mask = { conf: { maskId: 'exposeMask', loadSpeed: 'slow', closeSpeed: 'fast', closeOnClick: true, closeOnEsc: true, // css settings zIndex: 9998, opacity: 0.8, startOpacity: 0, color: ... |
c+=a.px(b,"paddingTop");c+=a.px(b,"paddingBottom");return c};this.getColumn=function(b){var c,f,d,i=a.getElement(t).firstChild.childNodes;f=c=0;for(d=i.length;f<d;f++){var k=i[f];if(a.hasTag(k,"COLGROUP")){f=-1;i=k.childNodes;d=i.length}if(a.hasTag(k,"COL"))if(k.className!="Wt-vrh")if(c==b)return k;else++c}return null}... | c+=a.px(b,"paddingTop");c+=a.px(b,"paddingBottom");return c};this.getColumn=function(b){var c,f,i,d=a.getElement(t).firstChild.childNodes;f=c=0;for(i=d.length;f<i;f++){var k=d[f];if(a.hasTag(k,"COLGROUP")){f=-1;d=k.childNodes;i=d.length}if(a.hasTag(k,"COL"))if(k.className!="Wt-vrh")if(c==b)return k;else++c}return null}... | WT_DECLARE_WT_MEMBER(1,"StdLayout",function(a,t,h){var o=this;this.getId=function(){return t};this.WT=a;this.marginH=function(b){var c=b.parentNode,f=a.px(b,"marginLeft");f+=a.px(b,"marginRight");f+=a.px(b,"borderLeftWidth");f+=a.px(b,"borderRightWidth");f+=a.px(b,"paddingLeft");f+=a.px(b,"paddingRight");f+=a.pxself(c,... |
WT_DECLARE_WT_MEMBER(1,"WTableView",function(n,j,f,p){function q(a){var b=-1,c=false,d=false,k=null;for(a=a.target||a.srcElement;a;){var g=$(a);if(g.hasClass("Wt-tv-contents"))break;else if(g.hasClass("Wt-tv-c")){if(a.getAttribute("drop")==="true")d=true;if(g.hasClass("Wt-selected"))c=true;k=a;a=a.parentNode;b=a.classN... | WT_DECLARE_WT_MEMBER(1,"WTableView",function(n,h,f,p){function q(a){var b=-1,c=false,d=false,k=null;for(a=a.target||a.srcElement;a;){var g=$(a);if(g.hasClass("Wt-tv-contents"))break;else if(g.hasClass("Wt-tv-c")){if(a.getAttribute("drop")==="true")d=true;if(g.hasClass("Wt-selected"))c=true;k=a;a=a.parentNode;b=a.classN... | WT_DECLARE_WT_MEMBER(1,"WTableView",function(n,j,f,p){function q(a){var b=-1,c=false,d=false,k=null;for(a=a.target||a.srcElement;a;){var g=$(a);if(g.hasClass("Wt-tv-contents"))break;else if(g.hasClass("Wt-tv-c")){if(a.getAttribute("drop")==="true")d=true;if(g.hasClass("Wt-selected"))c=true;k=a;a=a.parentNode;b=a.classN... |
forward, | (function($) { // static constructs $.tools = $.tools || {version: '@VERSION'}; $.tools.scrollable = { conf: { activeClass: 'active', circular: false, clonedClass: 'cloned', disabledClass: 'disabled', easing: 'swing', initialIndex: 0, item: null, items: '.items', keyboard: true, mousewheel: fa... | |
}); current = self; index = i; | }); | (function($) { // static constructs $.tools = $.tools || {version: '@VERSION'}; $.tools.scrollable = { conf: { activeClass: 'active', circular: false, clonedClass: 'cloned', disabledClass: 'disabled', easing: 'swing', initialIndex: 0, item: null, items: '.items', keyboard: true, mousewheel: fa... |
if (mainOptions.printMode == 'iframe') { if ($.browser.opera || (/chrome/.test(navigator.userAgent.toLowerCase()))) mainOptions.printMode = 'popup'; } | (function($) { $.fn.printElement = function(options) { var mainOptions = $.extend({}, $.fn.printElement.defaults, options); //Remove previously printed iframe if exists $("[id^='printElement_']").remove(); return this.each(function() { //Support Metadata Plug-in if available ... | |
overrideElementCSS: [], printBodyOptions: { | overrideElementCSS: null, printBodyOptions: { | (function($) { $.fn.printElement = function(options) { var mainOptions = $.extend({}, $.fn.printElement.defaults, options); //Remove previously printed iframe if exists $("[id^='printElement_']").remove(); return this.each(function() { //Support Metadata Plug-in if available ... |
iframeElementOptions: { styleToAdd: 'position:absolute;width:0px;height:0px;', | iframeElementOptions: { styleToAdd: 'border:none;position:absolute;width:0px;height:0px;bottom:0px;left:0px;', | (function($) { $.fn.printElement = function(options) { var mainOptions = $.extend({}, $.fn.printElement.defaults, options); //Remove previously printed iframe if exists $("[id^='printElement_']").remove(); return this.each(function() { //Support Metadata Plug-in if available ... |
function _printElement(element, opts) { var $elementToPrint = $(element); | $.fn.printElement.cssElement = { href: '', media: '' }; function _printElement(element, opts){ | (function($) { $.fn.printElement = function(options) { var mainOptions = $.extend({}, $.fn.printElement.defaults, options); //Remove previously printed iframe if exists $("[id^='printElement_']").remove(); return this.each(function() { //Support Metadata Plug-in if available ... |
var html = _getMarkup($elementToPrint, opts); | var html = _getMarkup(element, opts); | (function($) { $.fn.printElement = function(options) { var mainOptions = $.extend({}, $.fn.printElement.defaults, options); //Remove previously printed iframe if exists $("[id^='printElement_']").remove(); return this.each(function() { //Support Metadata Plug-in if available ... |
popupOrIframe = window.open('', 'printElementWindow', 'width=650,height=440,scrollbars=yes'); | popupOrIframe = window.open('about:blank', 'printElementWindow', 'width=650,height=440,scrollbars=yes'); | (function($) { $.fn.printElement = function(options) { var mainOptions = $.extend({}, $.fn.printElement.defaults, options); //Remove previously printed iframe if exists $("[id^='printElement_']").remove(); return this.each(function() { //Support Metadata Plug-in if available ... |
var printElementID = "printElement_" + (Math.random() * 99999).toString(); popupOrIframe = $('<iframe />').attr({ style: opts.iframeElementOptions.styleToAdd, | var printElementID = "printElement_" + (Math.round(Math.random() * 99999)).toString(); var iframe = document.createElement('IFRAME'); $(iframe).attr({ style: opts.iframeElementOptions.styleToAdd, | (function($) { $.fn.printElement = function(options) { var mainOptions = $.extend({}, $.fn.printElement.defaults, options); //Remove previously printed iframe if exists $("[id^='printElement_']").remove(); return this.each(function() { //Support Metadata Plug-in if available ... |
className: opts.iframeElementOptions.classNameToAdd }).appendTo('body')[0].contentWindow; documentToWriteTo = popupOrIframe.document; | className: opts.iframeElementOptions.classNameToAdd, frameBorder: 0, scrolling: 'no', src: 'about:blank' }); document.body.appendChild(iframe); documentToWriteTo = (iframe.contentWindow || iframe.contentDocument); if (documentToWriteTo.document) documentToWriteTo = documentToWriteTo.document; iframe = document.frames ?... | (function($) { $.fn.printElement = function(options) { var mainOptions = $.extend({}, $.fn.printElement.defaults, options); //Remove previously printed iframe if exists $("[id^='printElement_']").remove(); return this.each(function() { //Support Metadata Plug-in if available ... |
window.focus(); | focus(); | (function($) { $.fn.printElement = function(options) { var mainOptions = $.extend({}, $.fn.printElement.defaults, options); //Remove previously printed iframe if exists $("[id^='printElement_']").remove(); return this.each(function() { //Support Metadata Plug-in if available ... |
popupOrIframe.focus(); | _callPrint(popupOrIframe); | (function($) { $.fn.printElement = function(options) { var mainOptions = $.extend({}, $.fn.printElement.defaults, options); //Remove previously printed iframe if exists $("[id^='printElement_']").remove(); return this.each(function() { //Support Metadata Plug-in if available ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.