rem
stringlengths
0
126k
add
stringlengths
0
441k
context
stringlengths
15
136k
}), showRepositoryDropDown : false }; Ext.apply(this, config, defaultConfig);
}); }
Sonatype.repoServer.IndexBrowserPanel = function(config) { var config = config || {}; var defaultConfig = { url : '', root : new Ext.tree.TreeNode({ text : '(Not Available)', id : '/', singleClickExpand : true, expanded : true }), showRepositoryDropDown : false }; ...
}).delay(100);
}).delay(200);
function indicateFail(){ indicateFinish(); fail.start("opacity", 1).chain(function(){ (function(){ fail.start("opacity", 0); }).delay(100); });}
}).delay(100);
}).delay(200);
function indicateSuccess(){ indicateFinish(); success.start("opacity", 1).chain(function(){ (function(){ success.start("opacity", 0); }).delay(100); });}
this.prefs.load(); this.lastEditStack.resize(this.prefs.maxSizeEditPositionStack); this.nextEditStack.resize(this.prefs.maxSizeEditPositionStack);
try { this.prefs.load(); var mode = this.prefs.editGranularity; if (mode == "s") { this.mode = mode; } else { this.mode = parseInt(mode) - 1; } this.editClearNextStack = this.prefs.editClearNextStack; this.lastEditStack.resize(this.prefs.maxSizeEditPositionStack); this.nextEditStack.resize(this.prefs.maxSizeEditPo...
init : function() { this.prefs.load(); this.lastEditStack.resize(this.prefs.maxSizeEditPositionStack); this.nextEditStack.resize(this.prefs.maxSizeEditPositionStack); },
$.ajax({ timeout: 5000, url: '/backend/ajax.php?module=analytics&action=get_traffic_sources&language=' + jsBackend.current.language, success: function(data, textStatus) { $('#loading').hide(); }, error: function(XMLHttpRequest, textStatus, errorThrown) { $('#loading').hide(); if(jsBackend.debug) alert(textStatus); } }...
init: function() { // make the call to check the status $.ajax({ timeout: 5000, url: '/backend/ajax.php?module=analytics&action=get_traffic_sources&language=' + jsBackend.current.language, success: function(data, textStatus) { $('#loading').hide(); }, error: function(XMLHttpRequest, textStatus, errorTh...
liberator.open = this.open;
init: function () { services.add("smtpService", "@mozilla.org/messengercompose/smtp;1", Ci.nsISmtpService); // used for asynchronously selecting messages after wrapping folders this._selectMessageKeys = []; this._selectMessageCount = 1; this._selectMessageReverse = false; t...
if(!utils.array.inArray('page-1', openedIds)) openedIds.push('page-1');
init: function() { if($('#tree div').length == 0) return false; // add "treeHidden"-class on leafs that are hidden, only for browsers that don't support opacity if(!jQuery.support.opacity) $('#tree ul li[rel="hidden"]').addClass('treeHidden'); var openedIds = []; if(typeof pageID != 'undefined') { // get pare...
var submit_params = $.param(Pfs.UI.browserInfo()); $(this).attr('href', $(this).attr('href') + '?' + submit_params);
$(this).attr('href', $(this).attr('href'));
init: function () { $(document).ready(function () { // Tweak the body tag to indicate JS is working. $(document.body).removeClass('noJS').addClass('hasJS'); // Wire up the advanced search toggle. $('#advanced_search_toggle > a').click(functi...
this._match = fullId + "|" + nonId;
this._match = fullId + "|" + endId + "|" + nonId;
init: function () { this.abbrevs = {}; // (summarized from Vim's ":help abbreviations") // // There are three types of abbreviations. // // full-id: Consists entirely of keyword characters. // ("foo", "g3", "-1") // // end-id: Ends in a keyword...
init: function (id) { this._completionElements = []; var iframe = document.getElementById(id); if (!iframe) { liberator.log("No iframe with id: " + id + " found, strange things may happen!"); return; } this._doc = iframe.contentDocument; this._container = iframe.parentNode; this._doc.body.id = id + "-content"; this....
init: function (inputField, mode) { this.mode = mode; this.input = inputField; this.store = storage["history-" + mode]; this.reset(); },
init: function (id) { this._completionElements = []; var iframe = document.getElementById(id); if (!iframe) { liberator.log("No iframe with id: " + id + " found, strange things may happen!"); // "The truth is out there..." -- djk return; // XXX } this._doc = ...
Ci.nsIWebProgress.NOTIFY_STATE_DOCUMENT);
Ci.nsIWebProgress.NOTIFY_STATE_DOCUMENT | Ci.nsIWebProgress.NOTIFY_LOCATION);
init : function () { KFLog.debug("ILM init start"); // Cache references to current |this| in utility objects this._webProgressListener._domEventListener = this._domEventListener; this._webProgressListener._pwmgr = this; this._domEventListener._pwmgr = this; ...
cookie: { prefix: 'jstree_', types: { selected: false } }
cookie: { prefix: 'jstree_', types: {}, options: { path: '/' } }
init: function() { if($('#tree div').length == 0) return false; var options = { ui: { theme_name: 'fork' }, rules: { multiple: false, multitree: 'all', drag_copy: false }, lang: { loading: '{$lblLoading|ucfirst}' }, callback: { beforemove: jsBackend.pages.tree.beforeMove, onselect: jsBack...
if (/^1.9.1/.test(services.get("xulAppInfo").platformVersion)) self.prefDomain = "privacy.cpd."; else self.prefDomain = "privacy.item.";
Sanitizer.getClearRange = Sanitizer.Sanitizer.getClearRange; self.prefDomain = "privacy.cpd.";
init: function () { const self = this; liberator.loadScript("chrome://browser/content/sanitize.js", Sanitizer); this.__proto__.__proto__ = new Sanitizer.Sanitizer; // Good enough. // TODO: remove this version test if (/^1.9.1/.test(services.get("xulAppInfo").platformVersion)) ...
if($('.tabs').length > 0) $('.tabs').tabs();
if($('.tabs').length > 0) { $('.tabs').tabs(); }
init: function() { if($('.tabs').length > 0) $('.tabs').tabs(); if($('.tabSelect').length > 0) { $('.tabSelect').live('click', function(evt) { // prevent default evt.preventDefault(); console.log($(this)); $('.tabs').tabs('select', $(this).attr('href')); }); } },
this.priority = 0; this.alwaysAutoFill = false; this.alwaysAutoSubmit = false; this.neverAutoFill = false; this.neverAutoSubmit = false;
init : function (aURLs, aFormActionURL, aHttpRealm, aUsernameIndex, aPasswords, aUniqueID, aTitle, otherFieldsArray, aMaximumPage) { this.otherFields = otherFieldsArray; this.URLs = aURLs; this.formActionURL = aFormActionURL; this.http...
if (!this.element) return;
init: function(idOrElement, parent) { this.element = $(idOrElement); this.parent = parent; this.parentMenu = (this.type == "menuContainer") ? ((parent) ? parent.parent : null) : parent; this.root = parent instanceof Menu ? parent : parent.root; this.id = this.element.id; if (this.type == "menuContainer") {...
$('.tree li.open').each(function() { if($(this).find('ul').length == 0) $(this).removeClass('open').addClass('leaf'); });
init: function() { if($('#tree div').length == 0) return false; // add "treeHidden"-class on leafs that are hidden, only for browsers that don't support opacity if(!jQuery.support.opacity) $('#tree ul li[rel="hidden"]').addClass('treeHidden'); var openedIds = []; if(typeof pageID != 'undefined') { // get pare...
openedIds = ['page-'+ pageID];
var openedIds = ['page-'+ pageID];
init: function() { if($('#tree div').length == 0) return false; // add "treeHidden"-class on leafs that are hidden, only for browsers that don't support opacity if(!jQuery.support.opacity) $('#tree ul li[rel="hidden"]').addClass('treeHidden'); var openedIds = []; if(typeof pageID != 'undefined') { // get pare...
jsFrontend.gravatar.init();
init: function() { jsFrontend.gravatar.init(); // init stuff jsFrontend.initAjax(); },
jsFrontend.gravatar.init();
init: function() { jsFrontend.gravatar.init(); // init stuff jsFrontend.initAjax(); },
var openedIds = []; if(typeof pageID != 'undefined') { var parents = $('#page-'+ pageID).parents('li'); openedIds = ['page-'+ pageID]; for(var i = 0; i < parents.length; i++) openedIds.push($(parents[i]).attr('id')); }
init: function() { if($('#tree div').length == 0) return false; var options = { ui: { theme_name: 'fork' }, rules: { multiple: false, multitree: 'all', drag_copy: false }, lang: { loading: '{$lblLoading|ucfirst}' }, callback: { beforemove: jsBackend.pages.tree.beforeMove, onselect: jsBack...
cookie: { prefix: 'jstree_', types: {}, options: { path: '/' } }
cookie: { prefix: 'jstree_', types: { selected: false }, options: { path: '/' } }
init: function() { if($('#tree div').length == 0) return false; var options = { ui: { theme_name: 'fork' }, rules: { multiple: false, multitree: 'all', drag_copy: false }, lang: { loading: '{$lblLoading|ucfirst}' }, callback: { beforemove: jsBackend.pages.tree.beforeMove, onselect: jsBack...
services.add("abManager", "@mozilla.org/abmanager;1", Ci.nsIAbManager);
init: function () { },
init: function () { this.lastSearchPattern = ""; },
init: function (range, index) { if (range instanceof Ci.nsIDOMWindow) { this.document = range.document; return; } this.index = index; this.document = range.startContainer.ownerDocument; this.window = this.document.defaultView; this.range = range; this.save(); },
init: function () { this.lastSearchPattern = ""; },
$.ajax({ url: '/frontend/ajax.php?module=search&action=autocomplete&language=' + chunks[1],
$.ajax({ url: '/frontend/ajax.php?module=search&action=autocomplete',
init: function() { // split url to buil the ajax-url var chunks = document.location.pathname.split('/'); // max results var limit = 50; // ajax call! $('input[name=q]').autocomplete({ delay: 200, minLength: 3, source: function(request, response) { $.ajax({ url: '/frontend/ajax.php?module=search&action...
if($('input.synonymBox').length > 0) { $('input.synonymBox').tagBox({ emptyMessage: '{$msgNoSynonyms}', addLabel: '{$lblAdd|ucfirst}', removeLabel: '{$lblDeleteSynonym|ucfirst}' }); }
if($('input.synonymBox').length > 0) { $('input.synonymBox').tagBox({ emptyMessage: '{$msgNoSynonymsBox}', addLabel: '{$lblAdd|ucfirst}', removeLabel: '{$lblDeleteSynonym|ucfirst}' }); }
init: function() { // synonyms box if($('input.synonymBox').length > 0) { $('input.synonymBox').tagBox({ emptyMessage: '{$msgNoSynonyms}', addLabel: '{$lblAdd|ucfirst}', removeLabel: '{$lblDeleteSynonym|ucfirst}' }); } // settings enable/disable $('ul#searchModules > li > input[type=checkbox]').change(function()...
init: function() { if($('input.synonymBox').length > 0) { $('input.synonymBox').tagBox({ emptyMessage: '{$msgNoSynonymsBox}', addLabel: '{$lblAdd|ucfirst}', removeLabel: '{$lblDeleteSynonym|ucfirst}' }); } $('#searchModules input[type=checkbox]').change(function() { if($(this).is(':checked')) $('#' + $(this).attr('i...
jsBackend.search = { init: function() { if($('input.synonymBox').length > 0) { $('input.synonymBox') .multipleTextBox( { emptyMessage: '{$msgNoSynonymsBox}', addLabel: '{$lblAdd|ucfirst}', removeLabel: '{$lblDeleteSynonym|ucfirst}' });
init: function() { // synonyms box if($('input.synonymBox').length > 0) { $('input.synonymBox').tagBox({ emptyMessage: '{$msgNoSynonymsBox}', addLabel: '{$lblAdd|ucfirst}', removeLabel: '{$lblDeleteSynonym|ucfirst}' }); } // settings enable/disable $('#searchModules input[type=checkbox]').change(function() { ...
$('#searchModules input[type=checkbox]').change(function() { if($(this).is(':checked')) $('#' + $(this).attr('id') + 'Weight').removeAttr('disabled') .removeClass('disabled'); else $('#' + $(this).attr('id') + 'Weight').attr('disabled', 'disabled') .addClass('disabled'); }); } }
init: function() { // synonyms box if($('input.synonymBox').length > 0) { $('input.synonymBox').tagBox({ emptyMessage: '{$msgNoSynonymsBox}', addLabel: '{$lblAdd|ucfirst}', removeLabel: '{$lblDeleteSynonym|ucfirst}' }); } // settings enable/disable $('#searchModules input[type=checkbox]').change(function() { ...
}
},
init: function() { // synonyms box if($('input.synonymBox').length > 0) { $('input.synonymBox').multipleTextBox( { emptyMessage: '{$msgNoSynonymsBox}', addLabel: '{$lblAdd|ucfirst}', removeLabel: '{$lblDeleteSynonym|ucfirst}' }); } // settings enable/disable $('#searchModules input[type=checkbox]').change(function...
else this.settings.ui.theme_path = this.settings.ui.theme_path.replace(/\/$/,"") + '/' + this.settings.ui.theme_name + '/style.css';
init : function(elem, conf) { var _this = this; this.container = $(elem); if(this.container.size == 0) return false; tree_component.inst[this.cntr] = this; if(!this.container.attr("id")) this.container.attr("id","jstree_" + this.cntr); tree_component.inst[this.container.attr("id")] = tree_comp...
if(t == "default") type_icons += '#' + this.container.attr("id") + ' li > a ins { '; else type_icons += '#' + this.container.attr("id") + ' li[rel=' + t + '] > a ins { '; if(this.settings.types[t].icon.image) type_icons += ' background-image:url(' + this.settings.types[t].icon.image + '); '; if(this.settings.types[t]....
if(t == "default") type_icons += "#" + this.container.attr("id") + " li > a ins { "; else type_icons += "#" + this.container.attr("id") + " li[rel=" + t + "] > a ins { "; if(this.settings.types[t].icon.image) type_icons += " background-image:url(" + this.settings.types[t].icon.image + "); "; if(this.settings.types[t]....
init : function(elem, conf) { var _this = this; this.container = $(elem); if(this.container.size == 0) return false; tree_component.inst[this.cntr] = this; if(!this.container.attr("id")) this.container.attr("id","jstree_" + this.cntr); tree_component.inst[this.container.attr("id")] = tree_comp...
negative: parseInt(arguments[convCount]) < 0 ? true : false,
negative: parseInt(arguments[convCount]) < 0,
init : function () { if (typeof arguments == "undefined") { return null; } if (arguments.length < 1) { return null; } if (typeof arguments[0] != "string") { return null; } if (typeof RegExp == "undefined") { return null; } var string = arguments[0]; var exp = new RegExp(/(%([%]|(\-)?(\+|\x20)?(0)?(\d+)?(\.(\d)...
ya=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,G=navigator.userAgent,ca=false,H=[],E,T=Object.prototype.toString,U=Object.prototype.hasOwnProperty,V=Array.prototype.push,I=Array.prototype.slice,O=Array.prototype.indexOf;d.fn=d.prototype={init:function(a,b){var e,g;if(!a)return this;if(a.nodeType){this.context=this[0]=a;this.length=1;...
ya=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,G=navigator.userAgent,ca=false,H=[],E,T=Object.prototype.toString,U=Object.prototype.hasOwnProperty,V=Array.prototype.push,I=Array.prototype.slice,O=Array.prototype.indexOf;c.fn=c.prototype={init:function(a,b){var e,f;if(!a)return this;if(a.nodeType){this.context=this[0]=a;this.length=1;...
ya=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,G=navigator.userAgent,ca=false,H=[],E,T=Object.prototype.toString,U=Object.prototype.hasOwnProperty,V=Array.prototype.push,I=Array.prototype.slice,O=Array.prototype.indexOf;d.fn=d.prototype={init:function(a,b){var e,g;if(!a)return this;if(a.nodeType){this.context=this[0]=a;this.length=1;...
if (conf.vertical) {
if (vertical) {
function init() { if (conf.vertical) { len = dim(root, "height") - dim(handle, "height"); origo = root.offset().top + len; } else { len = dim(root, "width") - dim(handle, "width"); origo = root.offset().left; } }
document.getElementById('bgcolor_pickcontainer').innerHTML = getColorPickerHTML('bgcolor_pick','bgcolor')
document.getElementById('bgcolor_pickcontainer').innerHTML = getColorPickerHTML('bgcolor_pick','bgcolor');
function init() { ed = tinyMCEPopup.editor; tinyMCEPopup.resizeToInnerSize(); document.getElementById('backgroundimagebrowsercontainer').innerHTML = getBrowserHTML('backgroundimagebrowser','backgroundimage','image','table'); document.getElementById('bordercolor_pickcontainer').innerHTML = getColorPickerHTML('bordercolo...
log.debug("2: " + kpff.type + ": " + kfFormFieldType.password);
initFromEntry : function (entry) { var passwords = []; var otherFields = []; var usernameIndex = 0; var maximumPage = 1; for (var j = 0; j < entry.formFieldList.length; j++) { var kpff = entry.formFieldList[j];log.debug("2: " + kpff.type + ": " + kfFormFieldT...
log.debug("7");
initFromEntry : function (entry) { var passwords = []; var otherFields = []; var usernameIndex = 0; var maximumPage = 1; for (var j = 0; j < entry.formFieldList.length; j++) { var kpff = entry.formFieldList[j];log.debug("2: " + kpff.type + ": " + kfFormFieldT...
case kfFormFieldType.username: usernameIndex = otherLength; type = "text"; break;
case kfFormFieldType.username: usernameIndex = otherLength; type = "username"; break;
initFromEntry : function (entry) { var passwords = []; var otherFields = []; var usernameIndex = 0; var maximumPage = 1; for (var j = 0; j < entry.formFieldList.length; j++) { var kpff = entry.formFieldList[j]; if (kpff.type == kfFormFieldType.pass...
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=g.isIElt9,B=false,r=null,C=null,J=null,K=false,M=null,O=[],x,D,Y=function(){};return{onReady:functio...
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=g.isIElt9,B=false,r=null,C=null,J=null,K=false,M=null,O=[],x,D,Y=function(){};return{onReady:function(k){if(K)setTimeout(functi...
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=g.isIElt9,B=false,r=null,C=null,J=null,K=false,M=null,O=[],x,D,Y=function(){};return{onReady:functio...
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=g.isIElt9,B=false,r=null,C=null,J=null,K=false,M=null,O=[],x,D,Y=function(){};return{onReady:function(k){if(K)setTimeout(functi...
register:function(k,h){if(!K){D=x=escape(k);Y=h}},initialize:function(k,h){if(!K){var s=navigator.vendor||"";if(s!=="KDE")if(typeof window.opera!=="undefined")B=true;else if(!q&&s.indexOf("Apple Computer, Inc.")>-1)u=true;if(typeof k==="string")k=document.getElementById(k);if(!(!k||k.tagName.toUpperCase()!=="TEXTAREA"&...
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=g.isIElt9,B=false,r=null,C=null,J=null,K=false,M=null,O=[],x,D,Y=function(){};return{onReady:function(k){if(K)setTimeout(functi...
this.request = new Request.JSON({url:url,onComplete: function(response,errorMessage) {
this.request = new Request.JSON({url:url, link:'chain',onComplete: function(response,errorMessage) {
initialize: function(url,process) { this.request = new Request.JSON({url:url,onComplete: function(response,errorMessage) { if(response) { process(response); } else { displayErrorMessage(errorMessage); } }}); reqQueue.addRequest(url,this.request);//Ensure all such requests are queued one after t...
process(response);
if(Browser.Engine.trident && Browser.Engine.version == 5) { var myprocess = process; myprocess.delay(50,this,response); } else { process(response); }
initialize: function(url,process) { this.request = new Request.JSON({url:url,onComplete: function(response,errorMessage) { if(response) { process(response); } else { displayErrorMessage(errorMessage); } }}); reqQueue.addRequest(url,this.request);//Ensure all such requests are queued one after t...
displayErrorMessage(errorMessage);
displayErrorMessage(''+url+' failure:'+errorMessage);
initialize: function(url,process) { this.request = new Request.JSON({url:url,onComplete: function(response,errorMessage) { if(response) { process(response); } else { displayErrorMessage(errorMessage); } }}); reqQueue.addRequest(url,this.request);//Ensure all such requests are queued one after t...
reqQueue.addRequest(url,this.request);
initialize: function(url,process) { this.request = new Request.JSON({url:url,onComplete: function(response,errorMessage) { if(response) { process(response); } else { displayErrorMessage(errorMessage); } }}); reqQueue.addRequest(url,this.request);//Ensure all such requests are queued one after t...
onStart: this.startSort,
initialize: function(url, type) { this.url = url; this.type = type; this.packages = []; this.parsePackages(); this.sorts = new Sortables($("package-list"), { constrain: false, clone: true, revert: true, opacity: 0.4, handle: "...
this.name='';
initialize:function() { this.step=0; this.name=''; this.steps=[]; },
this.request = new Request.JSON({url:url, onComplete: function(response,errorMessage) {
this.request = new Request.JSON({url:url, link:'chain',onComplete: function(response,errorMessage) {
initialize: function(url,process) { this.request = new Request.JSON({url:url, onComplete: function(response,errorMessage) { if(response) { process(response); } else { displayErrorMessage(''+url+' failure:'+errorMessage); } }}); reqQueue.addRequest(url,this.request);//Ensure all such requests ar...
process(response);
if(Browser.Engine.trident && Browser.Engine.version == 5) { var myprocess = process; myprocess.delay(20,this,response); } else { process(response); }
initialize: function(url,process) { this.request = new Request.JSON({url:url, onComplete: function(response,errorMessage) { if(response) { process(response); } else { displayErrorMessage(''+url+' failure:'+errorMessage); } }}); reqQueue.addRequest(url,this.request);//Ensure all such requests ar...
reqQueue.addRequest(url,this.request);
initialize: function(url,process) { this.request = new Request.JSON({url:url, onComplete: function(response,errorMessage) { if(response) { process(response); } else { displayErrorMessage(''+url+' failure:'+errorMessage); } }}); reqQueue.addRequest(url,this.request);//Ensure all such requests ar...
function E(){var l;l=v.value.split("|");if(l.length>1){G=l[0];C=l[1]}if(l.length>2)M=l[2].split(",");if(s)h();else{o();I=true;x!=null&&x()}}var u=false,s=false,z=false,x=null,F=null,v=null,I=false,U=null,M=[],G,C,H=function(){};return{onReady:function(l){if(I)setTimeout(function(){l()},0);else x=l},_initialize:function...
if(r!==l){l=r;q=m;f(l);b()}else if(m!==q&&v){l=r;q=m;r=M[q-1];f(r);b()}},50)}}function E(){var l;l=w.value.split("|");if(l.length>1){G=l[0];C=l[1]}if(l.length>2)M=l[2].split(",");if(s)h();else{o();I=true;y!=null&&y()}}var v=false,s=false,z=false,y=null,F=null,w=null,I=false,V=null,M=[],G,C,H=function(){};return{onReady...
function E(){var l;l=v.value.split("|");if(l.length>1){G=l[0];C=l[1]}if(l.length>2)M=l[2].split(",");if(s)h();else{o();I=true;x!=null&&x()}}var u=false,s=false,z=false,x=null,F=null,v=null,I=false,U=null,M=[],G,C,H=function(){};return{onReady:function(l){if(I)setTimeout(function(){l()},0);else x=l},_initialize:function...
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...
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...
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...
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...
null&&K()},_initTimeout:function(){n()},register:function(l,p){if(!I){E=L=escape(l);N=p}},initialize:function(l,p){if(!I){var r=navigator.vendor||"";if(r!=="KDE")if(typeof window.opera!=="undefined")D=true;else if(typeof document.all!=="undefined")q=true;else if(r.indexOf("Apple Computer, Inc.")>-1)u=true;if(typeof l==...
0);else w=l},_initialize:function(){E!=null&&J()},_initTimeout:function(){n()},register:function(l,p){if(!H){D=K=escape(l);M=p}},initialize:function(l,p){if(!H){var r=navigator.vendor||"";if(r!=="KDE")if(typeof window.opera!=="undefined")C=true;else if(typeof document.all!=="undefined")q=true;else if(r.indexOf("Apple C...
null&&K()},_initTimeout:function(){n()},register:function(l,p){if(!I){E=L=escape(l);N=p}},initialize:function(l,p){if(!I){var r=navigator.vendor||"";if(r!=="KDE")if(typeof window.opera!=="undefined")D=true;else if(typeof document.all!=="undefined")q=true;else if(r.indexOf("Apple Computer, Inc.")>-1)u=true;if(typeof l==...
I=false,U=null,M=[],G,C,H=function(){};return{onReady:function(l){if(I)setTimeout(function(){l()},0);else x=l},_initialize:function(){v!=null&&E()},_initTimeout:function(){o()},register:function(l,p){if(!I){C=G=escape(l);H=p}},initialize:function(l,p){if(!I){var q=navigator.vendor||"";if(q!=="KDE")if(typeof window.oper...
function E(){var l;l=v.value.split("|");if(l.length>1){G=l[0];C=l[1]}if(l.length>2)M=l[2].split(",");if(r)k();else{o();I=true;x!=null&&x()}}var u=false,r=false,y=false,x=null,F=null,v=null,I=false,U=null,M=[],G,C,H=function(){};return{onReady:function(l){if(I)setTimeout(function(){l()},0);else x=l},_initialize:function...
I=false,U=null,M=[],G,C,H=function(){};return{onReady:function(l){if(I)setTimeout(function(){l()},0);else x=l},_initialize:function(){v!=null&&E()},_initTimeout:function(){o()},register:function(l,p){if(!I){C=G=escape(l);H=p}},initialize:function(l,p){if(!I){var q=navigator.vendor||"";if(q!=="KDE")if(typeof window.oper...
E=false,R=null,A=[],I,z,Q=function(){};if(!document.activeElement){function S(g){if(g&&g.target)document.activeElement=g.target==document?null:g.target}function Y(){document.activeElement=null}document.addEventListener("focus",S,true);document.addEventListener("blur",Y,true)}return{onReady:function(g){if(E)setTimeout(f...
g.target==document?null:g.target}function V(){document.activeElement=null}document.addEventListener("focus",K,true);document.addEventListener("blur",V,true)}return{onReady:function(g){if(w)setTimeout(function(){g()},0);else A=g},_initialize:function(){L!=null&&E()},_initTimeout:function(){n()},register:function(g,o){if...
E=false,R=null,A=[],I,z,Q=function(){};if(!document.activeElement){function S(g){if(g&&g.target)document.activeElement=g.target==document?null:g.target}function Y(){document.activeElement=null}document.addEventListener("focus",S,true);document.addEventListener("blur",Y,true)}return{onReady:function(g){if(E)setTimeout(f...
directives += '\n' + line;
directives += line + '\n';
initialize: function (book) { var This = this; var directives = ""; book = book.strip(); var tunes = book.split("\nX:"); for (var i = 1; i < tunes.length; i++) // Put back the X: that we lost when splitting the tunes. tunes[i] = "X:" + tunes[i]; // Keep track of the character position each tune starts with. v...
tune.abc += directives;
tune.abc = directives + tune.abc;
initialize: function (book) { var This = this; var directives = ""; book = book.strip(); var tunes = book.split("\nX:"); for (var i = 1; i < tunes.length; i++) // Put back the X: that we lost when splitting the tunes. tunes[i] = "X:" + tunes[i]; // Keep track of the character position each tune starts with. v...
left:o}};d.offset={initialize:function(){var a=r.body,b=r.createElement("div"),e,g,h,k=parseFloat(d.curCSS(a,"marginTop",true))||0;d.extend(b.style,{position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"});b.innerHTML="<div style='position:absolute;top:0;left:0;margin:0;border:5...
f.position==="fixed"){p+=Math.max(l.scrollTop,q.scrollTop);o+=Math.max(l.scrollLeft,q.scrollLeft)}return{top:p,left:o}};c.offset={initialize:function(){var a=r.body,b=r.createElement("div"),e,f,h,k=parseFloat(c.curCSS(a,"marginTop",true))||0;c.extend(b.style,{position:"absolute",top:0,left:0,margin:0,border:0,width:"1p...
left:o}};d.offset={initialize:function(){var a=r.body,b=r.createElement("div"),e,g,h,k=parseFloat(d.curCSS(a,"marginTop",true))||0;d.extend(b.style,{position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"});b.innerHTML="<div style='position:absolute;top:0;left:0;margin:0;border:5...
document.body.style.backgroundColor = "#999999" ; three_d_ize ( document.getElementById('upper_nav') ) ; three_d_ize ( document.getElementById('lanes_container') ) ; three_d_ize ( document.getElementById('legend_container') ) ;
function initialize_display () { if ( display_init == '' ) return ; window.onresize = on_resize ; var a = display_init.split ( '|' ) ; var b = new Array () ; for ( var i = 0 ; i < a.length ; i++ ) { b[a[i]] = 1 ; } document.getElementById('display_perfect').checked = b['perfect'] ? true : false ; document.getElementB...
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...
map = new OpenLayers.Map(divMap, { controls: [], resolutions: map_resolutions, projection: new OpenLayers.Projection(map_projection), maxExtent: new OpenLayers.Bounds(-180, -90, 180, 90) });
function initMap(divMap, mapConfig) { // set default location of the map var map_config = mapConfig['Map']; var lon = parseFloat(map_config['Longitude']); var lat = parseFloat(map_config['Latitude']); var zoom = parseInt(map_config['Zoom']); var map_resolutions = map_config['Resolutions']; var map_projection = map_c...
map = new OpenLayers.Map(divMap, { controls: [ new OpenLayers.Control.Navigation(), new OpenLayers.Control.SSPanZoomBar(), new OpenLayers.Control.ScaleLine(), new OpenLayers.Control.KeyboardDefaults(), new OpenLayers.Control.MousePosition() ], resolutions: map_resolutions, projection: new OpenLayers.Projection(map_proj...
if (extent_left != 0 && extent_bottom != 0 && extent_right != 0 && extent_top != 0) { map.restrictedExtent = new OpenLayers.Bounds(extent_left,extent_bottom,extent_right,extent_top); }
function initMap(divMap, mapConfig) { // set default location of the map var map_config = mapConfig['Map']; var lon = parseFloat(map_config['Longitude']); var lat = parseFloat(map_config['Latitude']); var zoom = parseInt(map_config['Zoom']); var map_resolutions = map_config['Resolutions']; var map_projection = map_c...
projection: new OpenLayers.Projection(map_projection), maxExtent: new OpenLayers.Bounds(-180, -90, 180, 90)
projection: new OpenLayers.Projection(map_projection)
function initMap(divMap, mapConfig) { // set default location of the map var map_config = mapConfig['Map']; var lon = parseFloat(map_config['Longitude']); var lat = parseFloat(map_config['Latitude']); var zoom = parseInt(map_config['Zoom']); var map_resolutions = map_config['Resolutions']; var map_projection = map_co...
map.maxExtent = new OpenLayers.Bounds(-180, -90, 180, 90);
function initMap(divMap, mapConfig) { // set default location of the map var map_config = mapConfig['Map']; var lon = parseFloat(map_config['Longitude']); var lat = parseFloat(map_config['Latitude']); var zoom = parseInt(map_config['Zoom']); var map_resolutions = map_config['Resolutions']; var map_projection = map_co...
map.paddingForPopups = new OpenLayers.Bounds(20, 20, 400, 20);
map.paddingForPopups = new OpenLayers.Bounds(20, 20, 400, 60);
function initMap(divMap, mapConfig) { // set default location of the map var map_config = mapConfig['Map']; var lon = map_config['Longitude']; var lat = map_config['Latitude']; var zoom = parseInt(map_config['Zoom']); var minScale = parseInt(map_config['MinScale']); var maxScale = parseInt(map_config['MaxS...
var menu = document.getElementById(menuPrefix + "-menubox"); DafizillaCommon.removeMenuItems(menu);
try { var menu = document.getElementById(menuPrefix + "-menubox"); DafizillaCommon.removeMenuItems(menu);
initPopupMenu : function(menuPrefix, stack, command) { var menu = document.getElementById(menuPrefix + "-menubox"); DafizillaCommon.removeMenuItems(menu); var items = stack.items; var count = items.length - 1; var index = 0; // don't show current view if (this.isEdit...
if (menu.hasChildNodes()) { document.getElementById(menuPrefix + "-menuseparator") .removeAttribute("collapsed"); } else { document.getElementById(menuPrefix + "-menuseparator") .setAttribute("collapsed", "true");
if (menu.hasChildNodes()) { document.getElementById(menuPrefix + "-menuseparator") .removeAttribute("collapsed"); } else { document.getElementById(menuPrefix + "-menuseparator") .setAttribute("collapsed", "true"); } } catch (err) { DafizillaCommon.exception(err);
initPopupMenu : function(menuPrefix, stack, command) { var menu = document.getElementById(menuPrefix + "-menubox"); DafizillaCommon.removeMenuItems(menu); var items = stack.items; var count = items.length - 1; var index = 0; // don't show current view if (this.isEdit...
var view = items[count - index].view;
var item = items[count - index]; var view = item.view;
initPopupMenu : function(menuPrefix, stack, command) { var menu = document.getElementById(menuPrefix + "-menubox"); DafizillaCommon.removeMenuItems(menu); var items = stack.items; var count = items.length - 1; var index = 0; // don't show current view if (this.isEdit...
mi.setAttribute("label", view.title);
var text = view.title+" l:"+(item.line+1)+" c:"+(item.col+1); mi.setAttribute("label", text);
initPopupMenu : function(menuPrefix, stack, command) { var menu = document.getElementById(menuPrefix + "-menubox"); DafizillaCommon.removeMenuItems(menu); var items = stack.items; var count = items.length - 1; var index = 0; // don't show current view if (this.isEdit...
this.hide=function(a){k.getElement(a).style.display="none"};this.inline=function(a){k.getElement(a).style.display="inline"};this.block=function(a){k.getElement(a).style.display="block"};this.show=function(a){k.getElement(a).style.display=""};var G=null,P=false;this.capture=function(a){F();G=a;var b=document.body;if(b.s...
k.px(a,"marginLeft")-k.px(a,"marginRight")-k.px(a,"borderLeftWidth")-k.px(a,"borderRightWidth")-k.px(a.parentNode,"paddingLeft")-k.px(a.parentNode,"paddingRight"),l=/^\s*(-?\d+(?:\.\d+)?)\s*\%\s*$/.exec(b);b=(l=l&&l.length==2?l[1]:"0")?parseFloat(l):0;f=(l=(l=/^\s*(-?\d+(?:\.\d+)?)\s*\%\s*$/.exec(f))&&l.length==2?l[1]:...
this.hide=function(a){k.getElement(a).style.display="none"};this.inline=function(a){k.getElement(a).style.display="inline"};this.block=function(a){k.getElement(a).style.display="block"};this.show=function(a){k.getElement(a).style.display=""};var G=null,P=false;this.capture=function(a){F();G=a;var b=document.body;if(b.s...
var editing = false;
$.fn.inlineTextEdit = function(options) { // define defaults var defaults = { saveUrl: null, current: {}, extraParams: {}, inputClasses: 'inputText', allowEmpty: false, tooltip: 'click to edit' }; // extend options var options = $.extend(defaults, options); // loop all elements return this.each(f...
editing = false;
$.fn.inlineTextEdit = function(options) { // define defaults var defaults = { saveUrl: null, current: {}, extraParams: {}, inputClasses: 'inputText', allowEmpty: false, tooltip: 'click to edit' }; // extend options var options = $.extend(defaults, options); // loop all elements return this.each(f...
b){return a.nodeType==1&&a.tagName.toUpperCase()===b};this.insertAt=function(a,b,f){a.childNodes.length==0?a.appendChild(b):a.insertBefore(b,a.childNodes[f])};this.remove=function(a){(a=g.getElement(a))&&a.parentNode.removeChild(a)};this.unstub=function(a,b,f){if(f==1){if(a.style.display!="none")b.style.display=a.style...
b){return a.nodeType==1&&a.tagName.toUpperCase()===b};this.insertAt=function(a,b,f){a.childNodes.length==0?a.appendChild(b):a.insertBefore(b,a.childNodes[f])};this.remove=function(a){(a=g.getElement(a))&&a.parentNode.removeChild(a)};this.contains=function(a,b){for(b=b.parentNode;b!=null&&b.tagName.toLowerCase()!="body"...
b){return a.nodeType==1&&a.tagName.toUpperCase()===b};this.insertAt=function(a,b,f){a.childNodes.length==0?a.appendChild(b):a.insertBefore(b,a.childNodes[f])};this.remove=function(a){(a=g.getElement(a))&&a.parentNode.removeChild(a)};this.unstub=function(a,b,f){if(f==1){if(a.style.display!="none")b.style.display=a.style...
case 3:case 4:case 5:return document.createTextNode(n.nodeValue)}return null}if(h.isIE||_$_INNER_HTML_$_&&!e)if(e)a.innerHTML+=b;else a.innerHTML=b;else{var i;i=new DOMParser;i=i.parseFromString("<div>"+b+"</div>","application/xhtml+xml").documentElement;if(i.nodeType!=1)i=i.nextSibling;if(!e)a.innerHTML="";b=0;for(e=i...
case 3:case 4:case 5:return document.createTextNode(n.nodeValue)}return null}if(g.isIE||_$_INNER_HTML_$_&&!e)if(e)a.innerHTML+=b;else a.innerHTML=b;else{var i;i=new DOMParser;i=i.parseFromString("<div>"+b+"</div>","application/xhtml+xml").documentElement;if(i.nodeType!=1)i=i.nextSibling;if(!e)a.innerHTML="";b=0;for(e=i...
case 3:case 4:case 5:return document.createTextNode(n.nodeValue)}return null}if(h.isIE||_$_INNER_HTML_$_&&!e)if(e)a.innerHTML+=b;else a.innerHTML=b;else{var i;i=new DOMParser;i=i.parseFromString("<div>"+b+"</div>","application/xhtml+xml").documentElement;if(i.nodeType!=1)i=i.nextSibling;if(!e)a.innerHTML="";b=0;for(e=i...
case 3:case 4:case 5:return document.createTextNode(n.nodeValue)}return null}if(g.isIE||_$_INNER_HTML_$_&&!e)if(e)a.innerHTML+=b;else a.innerHTML=b;else{var i;i=new DOMParser;i=i.parseFromString("<div>"+b+"</div>","application/xhtml+xml").documentElement;if(i.nodeType!=1)i=i.nextSibling;if(!e)a.innerHTML="";b=0;for(e=i...
case 3:case 4:case 5:return document.createTextNode(n.nodeValue)}return null}if(h.isIE||_$_INNER_HTML_$_&&!e)if(e)a.innerHTML+=b;else a.innerHTML=b;else{var i;i=new DOMParser;i=i.parseFromString("<div>"+b+"</div>","application/xhtml+xml").documentElement;if(i.nodeType!=1)i=i.nextSibling;if(!e)a.innerHTML="";b=0;for(e=i...
case 3:case 4:case 5:return document.createTextNode(n.nodeValue)}return null}if(g.isIE||_$_INNER_HTML_$_&&!e)if(e)a.innerHTML+=b;else a.innerHTML=b;else{var i;i=new DOMParser;i=i.parseFromString("<div>"+b+"</div>","application/xhtml+xml").documentElement;if(i.nodeType!=1)i=i.nextSibling;if(!e)a.innerHTML="";b=0;for(e=i...
}E=this.endContainer;F=this.endOffset;y=z=null;A=B=false;if(E.type==3){E=!e.trim(E.substring(F)).length&&E;B=!(E&&E.getLength());if(E)if(!(z=E.getNext()))y=E.getParent();}else{z=E.getChild(F);if(!z)y=E;}while(y||z){if(y&&!z){if(!A&&y.equals(u))A=true;if(!v.contains(y))break;if(!B||y.getComputedStyle('display')!='inline...
}z=J;}else y=null;}if(y)y=y.getParent();}E=this.endContainer;F=this.endOffset;y=z=null;A=B=false;if(E.type==3){E=!e.trim(E.substring(F)).length&&E;B=!(E&&E.getLength());if(E)if(!(z=E.getNext()))y=E.getParent();}else{z=E.getChild(F);if(!z)y=E;}while(y||z){if(y&&!z){if(!A&&y.equals(u))A=true;if(!v.contains(y))break;if(!B...
}E=this.endContainer;F=this.endOffset;y=z=null;A=B=false;if(E.type==3){E=!e.trim(E.substring(F)).length&&E;B=!(E&&E.getLength());if(E)if(!(z=E.getNext()))y=E.getParent();}else{z=E.getChild(F);if(!z)y=E;}while(y||z){if(y&&!z){if(!A&&y.equals(u))A=true;if(!v.contains(y))break;if(!B||y.getComputedStyle('display')!='inline...
try { var abcdiv = $("<div></div>"); $(node).before(abcdiv); var tunebook = new AbcTuneBook(abcstring); var abcParser = new AbcParse(); abcParser.parse(tunebook.tunes[0].abc); var tune = abcParser.getTune(); try { var paper = Raphael(abcdiv.get(0), 800, 400); var printer = new ABCPrinter(paper); printer.printABC(tune)...
var abcdiv = $("<div></div>"); $(node).before(abcdiv); addScore(abcdiv,abcstring);
function insertScoreBefore(node, abcstring) { try { var abcdiv = $("<div></div>"); $(node).before(abcdiv); var tunebook = new AbcTuneBook(abcstring); var abcParser = new AbcParse(); abcParser.parse(tunebook.tunes[0].abc); var tune = abcParser.getTune(); try { var paper = Raphael(abcdiv.get(0)...
var paper = Raphael(abcdiv.get(0), 800, 400); var printer = new ABCPrinter(paper); printer.printABC(tune);
try { var paper = Raphael(abcdiv.get(0), 800, 400); var printer = new ABCPrinter(paper); printer.printABC(tune); } catch (ex) { abcdiv.remove(); abcdiv = $("<div></div>"); var paper = Raphael(abcdiv.get(0), 800, 400); var printer = new ABCPrinter(paper); printer.printABC(tune); $(node).before(abcdiv); }
function insertScoreBefore(node, abcstring) { try { var abcdiv = $("<div></div>"); $(node).before(abcdiv); var tunebook = new AbcTuneBook(abcstring); var abcParser = new AbcParse(); abcParser.parse(tunebook.tunes[0].abc); var tune = abcParser.getTune(); var paper = Raphael(abcdiv.get(0), 800, 400)...
return q;},function(){window.netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect');var q=window.Components.classes['@mozilla.org/widget/clipboard;1'].getService(window.Components.interfaces.nsIClipboard),r=window.Components.classes['@mozilla.org/widget/transferable;1'].createInstance(window.Component...
if(l.execCommand('paste')===false)l.on('dialogHide',function(o){o.removeListener();n();});else n();}});l.ui.addButton('PasteFromWord',{label:l.lang.pastefromword.toolbar,command:'pastefromword'});l.on('paste',function(o){var p=o.data,q;if((q=p.html)&&(m||/(class=\"?Mso|style=\"[^\"]*\bmso\-|w:WordDocument)/.test(q))){v...
return q;},function(){window.netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect');var q=window.Components.classes['@mozilla.org/widget/clipboard;1'].getService(window.Components.interfaces.nsIClipboard),r=window.Components.classes['@mozilla.org/widget/transferable;1'].createInstance(window.Component...
zpi.success();
this.install = function(zpi) { // get Zotero.dot file var dot = zpi.getAddonPath(this.EXTENSION_ID); dot.append("install"); dot.append("Zotero.dot"); // find Word Startup folders (see http://support.microsoft.com/kb/210860) var appData = Components.classes["@mozilla.org/file/directory_service;1"] .getService(...
document.getElementById('').setAttribute('hidden', false);
showSection('ERRORInstallDownloadFailed'); } else if (error == "ERRORInstallDownloadChecksumFailed") { showSection('ERRORInstallDownloadFailed');
function installationError(error){ if (error == "ERRORInstallDownloadFailed") { document.getElementById('').setAttribute('hidden', false); } else { //TODO: refresh whole page }}
showSection('ERRORInstallButtonMain');
function installationError(error){ if (error == "ERRORInstallDownloadFailed") { document.getElementById('').setAttribute('hidden', false); } else { //TODO: refresh whole page }}
showSection('restartInstallationOption'); resetInstallation();
function installationError(error){ if (error == "ERRORInstallDownloadFailed") { document.getElementById('').setAttribute('hidden', false); } else { //TODO: refresh whole page }}
if (!$(id + '_id_' + tag)) { return null; }
function instantiate_rainbow(id, tag){ return (new MooRainbow(id + '_id_' + tag, { 'startColor': [58, 142, 246], 'id': 'my' + id + '_id_' + tag, 'textareaId': id, 'tag': tag, 'onStart': function(color) { for (var i = 0; i < rainbow_i; i++) { if (rainbow_box[i] != this) { rainbow_box[i].hide(rainbow_...
internalOnDataChanged : function(store) { this.getStore().copyFrom(store, this.cswRecordFilter);
internalOnDataChanged : function() { this.getStore().copyFrom(this.initialConfig.originalStore, this.cswRecordFilter);
internalOnDataChanged : function(store) { this.getStore().copyFrom(store, this.cswRecordFilter); }
console.debug(placeholder)
I18n.interpolate = function(message, options) { options = this.prepareOptions(options); var matches = message.match(this.PLACEHOLDER); if (!matches) { return message; } var placeholder, value, name; for (var i = 0; placeholder = matches[i]; i++) { console.debug(placeholder) name = placeholder.replace(this.PLACEHOLDE...
console.debug(name)
I18n.interpolate = function(message, options) { options = this.prepareOptions(options); var matches = message.match(this.PLACEHOLDER); if (!matches) { return message; } var placeholder, value, name; for (var i = 0; placeholder = matches[i]; i++) { console.debug(placeholder) name = placeholder.replace(this.PLACEHOLDE...
input.trigger("oninvalid", [val]);
input.trigger("OI", [val]);
invalidate: function(errs, e) { // errors are given manually: { fieldName1: 'message1', fieldName2: 'message2' } if (!e) { var errors = []; $.each(errs, function(key, val) { var input = inputs.filter("[name=" + key + "]"); if (input.length) { // trigger HTML5 ininvalid event ...
i.appendChild(j.$.cloneNode(true));return i.innerHTML;},setHtml:function(i){return this.$.innerHTML=i;},setText:function(i){h.prototype.setText=this.$.innerText!=undefined?function(j){return this.$.innerText=j;}:function(j){return this.$.textContent=j;};return this.setText(i);},getAttribute:(function(){var i=function(j...
},is:function(){var i=this.getName();for(var j=0;j<arguments.length;j++){if(arguments[j]==i)return true;}return false;},isEditable:function(){var i=this.getName(),j=!f.$nonEditable[i]&&(f[i]||f.span);return j&&j['#'];},isIdentical:function(i){if(this.getName()!=i.getName())return false;var j=this.$.attributes,k=i.$.att...
i.appendChild(j.$.cloneNode(true));return i.innerHTML;},setHtml:function(i){return this.$.innerHTML=i;},setText:function(i){h.prototype.setText=this.$.innerText!=undefined?function(j){return this.$.innerText=j;}:function(j){return this.$.textContent=j;};return this.setText(i);},getAttribute:(function(){var i=function(j...
a,true),"filter",a)},is:function(a){return!!a&&d.filter(a,this).length>0},closest:function(a,b){if(d.isArray(a)){var e=[],g=this[0],h,k={},l;if(g&&a.length){h=0;for(var q=a.length;h<q;h++){l=a[h];k[l]||(k[l]=d.expr.match.POS.test(l)?d(l,b||this.context):l)}for(;g&&g.ownerDocument&&g!==b;){for(l in k){h=k[l];if(h.jquery...
0,f=b.length;e<f;e++)if(c.contains(this,b[e]))return true})},not:function(a){return this.pushStack(ha(this,a,false),"not",a)},filter:function(a){return this.pushStack(ha(this,a,true),"filter",a)},is:function(a){return!!a&&c.filter(a,this).length>0},closest:function(a,b){if(c.isArray(a)){var e=[],f=this[0],h,k={},l;if(f...
a,true),"filter",a)},is:function(a){return!!a&&d.filter(a,this).length>0},closest:function(a,b){if(d.isArray(a)){var e=[],g=this[0],h,k={},l;if(g&&a.length){h=0;for(var q=a.length;h<q;h++){l=a[h];k[l]||(k[l]=d.expr.match.POS.test(l)?d(l,b||this.context):l)}for(;g&&g.ownerDocument&&g!==b;){for(l in k){h=k[l];if(h.jquery...
d.ready);var a=false;try{a=x.frameElement==null}catch(b){}r.documentElement.doScroll&&a&&Y()}}},isFunction:function(a){return T.call(a)==="[object Function]"},isArray:function(a){return T.call(a)==="[object Array]"},isPlainObject:function(a){if(!a||T.call(a)!=="[object Object]"||a.nodeType||a.setInterval)return false;i...
c.ready);var a=false;try{a=x.frameElement==null}catch(b){}r.documentElement.doScroll&&a&&Y()}}},isFunction:function(a){return T.call(a)==="[object Function]"},isArray:function(a){return T.call(a)==="[object Array]"},isPlainObject:function(a){if(!a||T.call(a)!=="[object Object]"||a.nodeType||a.setInterval)return false;i...
d.ready);var a=false;try{a=x.frameElement==null}catch(b){}r.documentElement.doScroll&&a&&Y()}}},isFunction:function(a){return T.call(a)==="[object Function]"},isArray:function(a){return T.call(a)==="[object Array]"},isPlainObject:function(a){if(!a||T.call(a)!=="[object Object]"||a.nodeType||a.setInterval)return false;i...
if (editPos) { var currView = ko.views.manager.currentView;
try { if (editPos) { var currentView = ko.views.manager.currentView;
isEditOnCurrentView : function(editPos) { if (editPos) { var currView = ko.views.manager.currentView; if (currView.document) { var currPos = currView.scintilla.scimoz.currentPos; if (currView == editPos.view && currPos == editPos.position) { ...
if (currView.document) { var currPos = currView.scintilla.scimoz.currentPos;
if (currentView.document) { var currPos = currentView.scimoz.currentPos; var currLine = currentView.scimoz.lineFromPosition(currPos);
isEditOnCurrentView : function(editPos) { if (editPos) { var currView = ko.views.manager.currentView; if (currView.document) { var currPos = currView.scintilla.scimoz.currentPos; if (currView == editPos.view && currPos == editPos.position) { ...
if (currView == editPos.view && currPos == editPos.position) { return true;
if (currentView == editPos.view && currLine == editPos.line) { return true; }
isEditOnCurrentView : function(editPos) { if (editPos) { var currView = ko.views.manager.currentView; if (currView.document) { var currPos = currView.scintilla.scimoz.currentPos; if (currView == editPos.view && currPos == editPos.position) { ...
} catch (err) { DafizillaCommon.exception(err);
isEditOnCurrentView : function(editPos) { if (editPos) { var currView = ko.views.manager.currentView; if (currView.document) { var currPos = currView.scintilla.scimoz.currentPos; if (currView == editPos.view && currPos == editPos.position) { ...
var regexp = /^[a-z0-9_\.-]+@([a-z0-9]+([\-]+[a-z0-9]+)*\.)+[a-z]{2,7}$/i;
var regexp = /^[a-z0-9!#\$%&'*+-\/=?^_`{|}\.~]+@([a-z0-9]+([\-]+[a-z0-9]+)*\.)+[a-z]{2,7}$/i;
isEmail: function(element) { var regexp = /^[a-z0-9_\.-]+@([a-z0-9]+([\-]+[a-z0-9]+)*\.)+[a-z]{2,7}$/i; return regexp.test(element.val()); },
d.ready);var a=false;try{a=x.frameElement==null}catch(b){}r.documentElement.doScroll&&a&&Y()}}},isFunction:function(a){return T.call(a)==="[object Function]"},isArray:function(a){return T.call(a)==="[object Array]"},isPlainObject:function(a){if(!a||T.call(a)!=="[object Object]"||a.nodeType||a.setInterval)return false;i...
c.ready);var a=false;try{a=x.frameElement==null}catch(b){}r.documentElement.doScroll&&a&&Y()}}},isFunction:function(a){return T.call(a)==="[object Function]"},isArray:function(a){return T.call(a)==="[object Array]"},isPlainObject:function(a){if(!a||T.call(a)!=="[object Object]"||a.nodeType||a.setInterval)return false;i...
d.ready);var a=false;try{a=x.frameElement==null}catch(b){}r.documentElement.doScroll&&a&&Y()}}},isFunction:function(a){return T.call(a)==="[object Function]"},isArray:function(a){return T.call(a)==="[object Array]"},isPlainObject:function(a){if(!a||T.call(a)!=="[object Object]"||a.nodeType||a.setInterval)return false;i...
for (var key in a) {
for (var key in b) {
isEqual: function(a, b) { if (typeof a != typeof b) return; if (a === b) return true; if (a instanceof RegExp) { return a.toString() === b.toString(); } if (a instanceof Date) { return Number(a) === Number(b); } if (typeof a != 'object') return; if (a.length !==...
isFirstLine: function(index) {
this.isFirstLine = function(index) {
isFirstLine: function(index) { for (var i = index-1; i >= 0; i--) { if (this.lines[i].staff !== undefined) return false; } return true; },
},
};
isFirstLine: function(index) { for (var i = index-1; i >= 0; i--) { if (this.lines[i].staff !== undefined) return false; } return true; },