rem
stringlengths
0
126k
add
stringlengths
0
441k
context
stringlengths
15
136k
}
function getOPeNDAPParameters() { //Generates parameters recursively //as an array of constraints var generateConstraints = function(component) { if (!component) return null; if (component.initialConfig.variableType === 'axis') { var fromField = component.get(0); var toField = component.get(1); var obj = { ...
k.setHtml(i);return k.getFirst().remove();};h.setMarker=function(i,j,k,l){var m=j.getCustomData('list_marker_id')||j.setCustomData('list_marker_id',e.getNextNumber()).getCustomData('list_marker_id'),n=j.getCustomData('list_marker_names')||j.setCustomData('list_marker_names',{}).getCustomData('list_marker_names');i[m]=j...
},onAttribute:function(q,r,s){var t=this._.attributes[r];if(t){var u=t.filter(s,q,this);if(u===false)return false;if(typeof u!='undefined')return u;}return s;}}});function l(q,r){for(var s=0;q&&s<r.length;s++){var t=r[s];q=q.replace(t[0],t[1]);}return q;};function m(q,r,s){if(typeof r=='function')r=[r];var t,u,v=q.leng...
k.setHtml(i);return k.getFirst().remove();};h.setMarker=function(i,j,k,l){var m=j.getCustomData('list_marker_id')||j.setCustomData('list_marker_id',e.getNextNumber()).getCustomData('list_marker_id'),n=j.getCustomData('list_marker_names')||j.setCustomData('list_marker_names',{}).getCustomData('list_marker_names');i[m]=j...
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 getPosition(el) { var p = el.offset(); return [p.top + el.height() / 2, p.left + el.width() / 2]; }
var top = conf.relative ? trigger.position().top : trigger.offset().top, left = conf.relative ? trigger.position().left : trigger.offset().left,
var top = trigger.offset().top, left = trigger.offset().left,
function getPosition(trigger, el, conf) { // get origin top/left position var top = conf.relative ? trigger.position().top : trigger.offset().top, left = conf.relative ? trigger.position().left : trigger.offset().left, pos = conf.position.split(/,?\s+/), y = pos[0], x = pos[1]; top -= el.outer...
return this;},setOpacity:function(i){if(c){i=Math.round(i*100);this.setStyle('filter',i>=100?'':'progid:DXImageTransform.Microsoft.Alpha(opacity='+i+')');}else this.setStyle('opacity',i);},unselectable:b.gecko?function(){this.$.style.MozUserSelect='none';}:b.webkit?function(){this.$.style.KhtmlUserSelect='none';}:funct...
},setAttribute:(function(){var i=function(j,k){this.$.setAttribute(j,k);return this;};if(c&&(b.ie7Compat||b.ie6Compat))return function(j,k){var l=this;if(j=='class')l.$.className=k;else if(j=='style')l.$.style.cssText=k;else if(j=='tabindex')l.$.tabIndex=k;else if(j=='checked')l.$.checked=k;else i.apply(l,arguments);re...
return this;},setOpacity:function(i){if(c){i=Math.round(i*100);this.setStyle('filter',i>=100?'':'progid:DXImageTransform.Microsoft.Alpha(opacity='+i+')');}else this.setStyle('opacity',i);},unselectable:b.gecko?function(){this.$.style.MozUserSelect='none';}:b.webkit?function(){this.$.style.KhtmlUserSelect='none';}:funct...
a.NODE_TEXT=3;a.NODE_COMMENT=8;a.NODE_DOCUMENT_FRAGMENT=11;a.POSITION_IDENTICAL=0;a.POSITION_DISCONNECTED=1;a.POSITION_FOLLOWING=2;a.POSITION_PRECEDING=4;a.POSITION_IS_CONTAINED=8;a.POSITION_CONTAINS=16;e.extend(d.node.prototype,{appendTo:function(h,i){h.append(this,i);return h;},clone:function(h,i){var j=this.$.cloneN...
}return this;};d.node.prototype=new d.domObject();a.NODE_ELEMENT=1;a.NODE_DOCUMENT=9;a.NODE_TEXT=3;a.NODE_COMMENT=8;a.NODE_DOCUMENT_FRAGMENT=11;a.POSITION_IDENTICAL=0;a.POSITION_DISCONNECTED=1;a.POSITION_FOLLOWING=2;a.POSITION_PRECEDING=4;a.POSITION_IS_CONTAINED=8;a.POSITION_CONTAINS=16;e.extend(d.node.prototype,{appen...
a.NODE_TEXT=3;a.NODE_COMMENT=8;a.NODE_DOCUMENT_FRAGMENT=11;a.POSITION_IDENTICAL=0;a.POSITION_DISCONNECTED=1;a.POSITION_FOLLOWING=2;a.POSITION_PRECEDING=4;a.POSITION_IS_CONTAINED=8;a.POSITION_CONTAINS=16;e.extend(d.node.prototype,{appendTo:function(h,i){h.append(this,i);return h;},clone:function(h,i){var j=this.$.cloneN...
h.setStyle('width',a);if(CKEDITOR.env.webkit){h.$.offsetWidth;h.setStyle('display','');}var i=c?0:(h.$.offsetHeight||0)-(g.$.clientHeight||0);g.setStyle('height',Math.max(b-i,0)+'px');this.fire('resize');};CKEDITOR.editor.prototype.getResizable=function(){return this.container.getChild(1);};
f.setStyle('height',Math.max(b-h,0)+'px');this.fire('resize');};CKEDITOR.editor.prototype.getResizable=function(){return this.container.getChild(1);};
h.setStyle('width',a);if(CKEDITOR.env.webkit){h.$.offsetWidth;h.setStyle('display','');}var i=c?0:(h.$.offsetHeight||0)-(g.$.clientHeight||0);g.setStyle('height',Math.max(b-i,0)+'px');this.fire('resize');};CKEDITOR.editor.prototype.getResizable=function(){return this.container.getChild(1);};
});};var z=window.scayt_custom_params;if(typeof z=='object')for(var A in z)y[A]=z[A];if(o)y.id=o;var B=new window.scayt(y),C=r.instances[u.name];if(C){B.sLang=C.sLang;B.option(C.option());B.paused=C.paused;}r.instances[u.name]=B;var D='scaytButton',E=window.scayt.uiTags,F=[];for(var G=0,H=4;G<H;G++)F.push(E[G]&&r.uiTab...
});s.on('destroy',function(x){var y=x.editor,z=p.getScayt(y);if(!z)return;delete p.instances[y.name];p.setControlId(y,z.id);z.destroy(true);});s.on('afterSetData',function(){if(p.isScaytEnabled(s))window.setTimeout(function(){var x=p.getScayt(s);x&&x.refresh();},10);});s.on('insertElement',function(){var x=p.getScayt(s...
});};var z=window.scayt_custom_params;if(typeof z=='object')for(var A in z)y[A]=z[A];if(o)y.id=o;var B=new window.scayt(y),C=r.instances[u.name];if(C){B.sLang=C.sLang;B.option(C.option());B.paused=C.paused;}r.instances[u.name]=B;var D='scaytButton',E=window.scayt.uiTags,F=[];for(var G=0,H=4;G<H;G++)F.push(E[G]&&r.uiTab...
if (window.scrollX && window.scrollY) {
if ((typeof(window.scrollX) != "undefined") && (typeof(window.scrollY) != "undefined")) {
function getScrollPosition() { var x = 0; var y = 0; if (window.scrollX && window.scrollY) { x = window.scrollX; y = window.scrollY; } else if (document.documentElement.scrollLeft && document.documentElement.scrollTop) { x = document.documentElement.scrollLeft; y =...
else if (document.documentElement.scrollLeft && document.documentElement.scrollTop) {
else if ((typeof(document.documentElement.scrollLeft) != "undefined") && (typeof(document.documentElement.scrollTop) != "undefined")) {
function getScrollPosition() { var x = 0; var y = 0; if (window.scrollX && window.scrollY) { x = window.scrollX; y = window.scrollY; } else if (document.documentElement.scrollLeft && document.documentElement.scrollTop) { x = document.documentElement.scrollLeft; y =...
l.on('selectionChange',function(m){var n=l.getCommand('unlink'),o=m.data.path.lastElement.getAscendant('a',true);if(o&&o.getName()=='a'&&o.getAttribute('href'))n.setState(2);else n.setState(0);});if(l.addMenuItems)l.addMenuItems({anchor:{label:l.lang.anchor.menu,command:'anchor',group:'anchor'},link:{label:l.lang.link....
j.add('link',{init:function(l){l.addCommand('link',new a.dialogCommand('link'));l.addCommand('anchor',new a.dialogCommand('anchor'));l.addCommand('unlink',new a.unlinkCommand());l.ui.addButton('Link',{label:l.lang.link.toolbar,command:'link'});l.ui.addButton('Unlink',{label:l.lang.unlink,command:'unlink'});l.ui.addButt...
l.on('selectionChange',function(m){var n=l.getCommand('unlink'),o=m.data.path.lastElement.getAscendant('a',true);if(o&&o.getName()=='a'&&o.getAttribute('href'))n.setState(2);else n.setState(0);});if(l.addMenuItems)l.addMenuItems({anchor:{label:l.lang.anchor.menu,command:'anchor',group:'anchor'},link:{label:l.lang.link....
getSelection : function()
this.getSelection = function()
getSelection : function() { //selection = editAreaLoader.getSelectionRange('abc'); return {start: $(this._id).selectionStart, end: $(this._id).selectionEnd}; },
},
};
getSelection : function() { //selection = editAreaLoader.getSelectionRange('abc'); return {start: $(this._id).selectionStart, end: $(this._id).selectionEnd}; },
0;if(a.wheelDelta)b=a.wheelDelta>0?1:-1;else if(a.detail)b=a.detail<0?1:-1;return b};this.scrollIntoView=function(a){(a=document.getElementById(a))&&a.scrollIntoView&&a.scrollIntoView(true)};this.getSelectionRange=function(a){if(document.selection)if(g.hasTag(a,"TEXTAREA")){var b=document.selection.createRange(),f=b.du...
document.body.scrollLeft-document.documentElement.scrollLeft,y:a.y-document.body.scrollTop-document.documentElement.scrollTop}};this.wheelDelta=function(a){var b=0;if(a.wheelDelta)b=a.wheelDelta>0?1:-1;else if(a.detail)b=a.detail<0?1:-1;return b};this.scrollIntoView=function(a){(a=document.getElementById(a))&&a.scrollI...
0;if(a.wheelDelta)b=a.wheelDelta>0?1:-1;else if(a.detail)b=a.detail<0?1:-1;return b};this.scrollIntoView=function(a){(a=document.getElementById(a))&&a.scrollIntoView&&a.scrollIntoView(true)};this.getSelectionRange=function(a){if(document.selection)if(g.hasTag(a,"TEXTAREA")){var b=document.selection.createRange(),f=b.du...
a.wheelDelta>0?1:-1;else if(a.detail)b=a.detail<0?1:-1;return b};this.scrollIntoView=function(a){(a=document.getElementById(a))&&a.scrollIntoView&&a.scrollIntoView(true)};this.getSelectionRange=function(a){if(document.selection)if(g.hasTag(a,"TEXTAREA")){var b=document.selection.createRange(),f=b.duplicate();f.moveToEl...
0;if(a.wheelDelta)b=a.wheelDelta>0?1:-1;else if(a.detail)b=a.detail<0?1:-1;return b};this.scrollIntoView=function(a){(a=document.getElementById(a))&&a.scrollIntoView&&a.scrollIntoView(true)};this.getSelectionRange=function(a){if(document.selection)if(g.hasTag(a,"TEXTAREA")){var b=document.selection.createRange(),f=b.du...
a.wheelDelta>0?1:-1;else if(a.detail)b=a.detail<0?1:-1;return b};this.scrollIntoView=function(a){(a=document.getElementById(a))&&a.scrollIntoView&&a.scrollIntoView(true)};this.getSelectionRange=function(a){if(document.selection)if(g.hasTag(a,"TEXTAREA")){var b=document.selection.createRange(),f=b.duplicate();f.moveToEl...
function(a,b){b=g.pageCoordinates(b);a=g.widgetPageCoordinates(a);return{x:b.x-a.x,y:b.y-a.y}};this.pageCoordinates=function(a){if(!a)a=window.event;var b=0,e=0;if(a.pageX||a.pageY){b=a.pageX;e=a.pageY}else if(a.clientX||a.clientY){b=a.clientX+document.body.scrollLeft+document.documentElement.scrollLeft;e=a.clientY+doc...
function(a,b){b=h.pageCoordinates(b);a=h.widgetPageCoordinates(a);return{x:b.x-a.x,y:b.y-a.y}};this.pageCoordinates=function(a){if(!a)a=window.event;var b=0,e=0;if(a.pageX||a.pageY){b=a.pageX;e=a.pageY}else if(a.clientX||a.clientY){b=a.clientX+document.body.scrollLeft+document.documentElement.scrollLeft;e=a.clientY+doc...
function(a,b){b=g.pageCoordinates(b);a=g.widgetPageCoordinates(a);return{x:b.x-a.x,y:b.y-a.y}};this.pageCoordinates=function(a){if(!a)a=window.event;var b=0,e=0;if(a.pageX||a.pageY){b=a.pageX;e=a.pageY}else if(a.clientX||a.clientY){b=a.clientX+document.body.scrollLeft+document.documentElement.scrollLeft;e=a.clientY+doc...
function(a){if(!a)a=window.event;var b=0,f=0;if(a.pageX||a.pageY){b=a.pageX;f=a.pageY}else if(a.clientX||a.clientY){b=a.clientX+document.body.scrollLeft+document.documentElement.scrollLeft;f=a.clientY+document.body.scrollTop+document.documentElement.scrollTop}return{x:b,y:f}};this.scrollIntoView=function(a){(a=document...
document.getElementById(a))&&a.scrollIntoView&&a.scrollIntoView(true)};this.getSelectionRange=function(a){if(document.selection)if(g.hasTag(a,"TEXTAREA")){var b=document.selection.createRange(),f=b.duplicate();f.moveToElementText(a);var h=0;if(b.text.length>1){h-=b.text.length;if(h<0)h=0}a=-1+h;for(f.moveStart("charact...
function(a){if(!a)a=window.event;var b=0,f=0;if(a.pageX||a.pageY){b=a.pageX;f=a.pageY}else if(a.clientX||a.clientY){b=a.clientX+document.body.scrollLeft+document.documentElement.scrollLeft;f=a.clientY+document.body.scrollTop+document.documentElement.scrollTop}return{x:b,y:f}};this.scrollIntoView=function(a){(a=document...
function(a,b){b=k.pageCoordinates(b);a=k.widgetPageCoordinates(a);return{x:b.x-a.x,y:b.y-a.y}};this.pageCoordinates=function(a){if(!a)a=window.event;var b=0,f=0;if(a.pageX||a.pageY){b=a.pageX;f=a.pageY}else if(a.clientX||a.clientY){b=a.clientX+document.body.scrollLeft+document.documentElement.scrollLeft;f=a.clientY+doc...
y:f}};this.scrollIntoView=function(a){(a=document.getElementById(a))&&a.scrollIntoView&&a.scrollIntoView(true)};this.getSelectionRange=function(a){if(document.selection){var b=document.selection.createRange(),f=b.duplicate();f.moveToElementText(a);f.setEndPoint("EndToEnd",b);a=f.text.length-b.text.length;return{start:a...
function(a,b){b=k.pageCoordinates(b);a=k.widgetPageCoordinates(a);return{x:b.x-a.x,y:b.y-a.y}};this.pageCoordinates=function(a){if(!a)a=window.event;var b=0,f=0;if(a.pageX||a.pageY){b=a.pageX;f=a.pageY}else if(a.clientX||a.clientY){b=a.clientX+document.body.scrollLeft+document.documentElement.scrollLeft;f=a.clientY+doc...
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...
}if(o.styles||o.classes){r=[];if(o.styles)r.push({id:'advStyles',att:'style',type:'text',label:p.styles,'default':'',onChange:function(){},getStyle:function(s,t){var u=this.getValue().match(new RegExp(s+'\\s*:s*([^;]*)','i'));return u?u[1]:t;},updateStyle:function(s,t){var u=this.getValue();if(u)u=u.replace(new RegExp(...
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...
symbol!=="scripts.roll" && symbol!=="scripts.staccato") {
symbol!=="scripts.roll") {
this.getSymbolAlign = function (symbol) { if (symbol.substring(0,7)==="scripts" && symbol!=="scripts.roll" && symbol!=="scripts.staccato") { return "center"; } return "left"; }
if(c)v[B].$.styleSheet.cssText+=A;else v[B].$.innerHTML+=A;}}};var u=/\$color/g;e.extend(n,{uiColor:null,getUiColor:function(){return this.uiColor;},setUiColor:function(v){var w,x=s(a.document),y='.cke_editor_'+e.escapeCssSelector(n.name),z=[y+' .cke_wrapper',y+'_dialog .cke_dialog_contents',y+'_dialog a.cke_dialog_tab...
if(b.webkit){q=q.split('}').slice(0,-1);for(var r=0;r<q.length;r++)q[r]=q[r].split('{');}function s(v){var w=v.getById(m);if(!w){w=v.getHead().append('style');w.setAttribute('id',m);w.setAttribute('type','text/css');}return w;};function t(v,w,x){var y,z,A;for(var B=0;B<v.length;B++){if(b.webkit)for(z=0;z<w.length;z++){...
if(c)v[B].$.styleSheet.cssText+=A;else v[B].$.innerHTML+=A;}}};var u=/\$color/g;e.extend(n,{uiColor:null,getUiColor:function(){return this.uiColor;},setUiColor:function(v){var w,x=s(a.document),y='.cke_editor_'+e.escapeCssSelector(n.name),z=[y+' .cke_wrapper',y+'_dialog .cke_dialog_contents',y+'_dialog a.cke_dialog_tab...
return btoa("this is not secure yet"+clientIdSig);
var sig = ""; var wm = Components.classes["@mozilla.org/appshell/window-mediator;1"] .getService(Components.interfaces.nsIWindowMediator); var window = wm.getMostRecentWindow("navigator:browser"); if (window.keeFoxInst._keeFoxExtension.prefs.has("uniqueProfileId")) sig = window.keeFoxInst._keeFoxExtension.prefs.getVa...
this.getUniqueClientId = function(clientIdSig) { //TODO: get/create a unique private key // encrypt public clientIdSig using private key return btoa("this is not secure yet"+clientIdSig); }
getURIFlags: function (uri) Ci.nsIAboutModule.ALLOW_SCRIPT,
getURIFlags: function (uri) Ci.nsIAboutModule.ALLOW_SCRIPT };
getURIFlags: function (uri) Ci.nsIAboutModule.ALLOW_SCRIPT,
if (results == null)
if (results === null) {
var getUrlParams = function(name) { name = name.replace(/[\[]/, "\\\[").replace(/[\]]/, "\\\]"); var regexS = "[\\?&]" + name + "=([^&#]*)"; var regex = new RegExp(regexS); var results = regex.exec(window.location.href); if (results == null) return ""; else ...
else
} else {
var getUrlParams = function(name) { name = name.replace(/[\[]/, "\\\[").replace(/[\]]/, "\\\]"); var regexS = "[\\?&]" + name + "=([^&#]*)"; var regex = new RegExp(regexS); var results = regex.exec(window.location.href); if (results == null) return ""; else ...
}
var getUrlParams = function(name) { name = name.replace(/[\[]/, "\\\[").replace(/[\]]/, "\\\]"); var regexS = "[\\?&]" + name + "=([^&#]*)"; var regex = new RegExp(regexS); var results = regex.exec(window.location.href); if (results == null) return ""; else ...
return [ver[1], ver[3]];
return ver ? [ver[1], ver[3]] : [0, 0];
getVersion: function() { var ver; try { ver = navigator.plugins["Shockwave Flash"].description.slice(16); } catch(e) { try { var fo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7"); ver = fo && fo.GetVariable("$version"); } catch(err) { } } ver = RE.exec(ver);...
var ver;
var fo, ver;
getVersion: function() { var ver; try { ver = navigator.plugins["Shockwave Flash"].description.slice(16); } catch(e) { try { var fo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7"); ver = fo && fo.GetVariable("$version"); } catch(err) { } } ver = RE.exec(ver);...
var fo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7"); ver = fo && fo.GetVariable("$version");
fo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7"); ver = fo && fo.GetVariable("$version");
getVersion: function() { var ver; try { ver = navigator.plugins["Shockwave Flash"].description.slice(16); } catch(e) { try { var fo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7"); ver = fo && fo.GetVariable("$version"); } catch(err) { } } ver = RE.exec(ver);...
try { fo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6"); ver = fo && fo.GetVariable("$version"); } catch(err2) { }
getVersion: function() { var ver; try { ver = navigator.plugins["Shockwave Flash"].description.slice(16); } catch(e) { try { var fo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7"); ver = fo && fo.GetVariable("$version"); } catch(err) { } } ver = RE.exec(ver);...
return {len: close-start, token: this.translateString(line.substring(i+1, close))};
return {len: close-start+1, token: this.translateString(line.substring(i+1, close))};
this.getVoiceToken = function(line, start, end) { // This finds the next token. A token is delimited by a space or an equal sign. If it starts with a quote, then the portion between the quotes is returned. var i = start; while (i < end && this.isWhiteSpace(line[i]) || line[i] === '=') i++; if (line[i] === ...
};
}
function getWCSInfoWindowDownloadParameters() { var win = Ext.getCmp('wcsDownloadFrm'); var params = win.getForm().getValues(true); var customParams = ''; //Custom handling for time periods var dateFrom = Ext.getCmp('dateFrom'); var dateTo = Ext.getCmp('dateTo'); var timeFrom = Ext.getCmp('timeFrom'); var timeTo = Ext...
if (window.innerWidth && window.innerHeight) {
if ((typeof(window.innerWidth) != "undefined") && (typeof(window.innerHeight) != "undefined")) {
function getWindowSize() { var x = 0; var y = 0; if (window.innerWidth && window.innerHeight) { x = window.innerWidth; y = window.innerHeight; } else if (document.documentElement.clientWidth && document.documentElement.clientHeight) { x = document.documentElement.clientWi...
else if (document.documentElement.clientWidth && document.documentElement.clientHeight) {
else if ((typeof(document.documentElement.clientWidth) != "undefined") && (typeof(document.documentElement.clientHeight) != "undefined")) {
function getWindowSize() { var x = 0; var y = 0; if (window.innerWidth && window.innerHeight) { x = window.innerWidth; y = window.innerHeight; } else if (document.documentElement.clientWidth && document.documentElement.clientHeight) { x = document.documentElement.clientWi...
case "9": return -3;
case "9": case "+": return -3;
this.getYCorr = function (symbol) { switch(symbol) { case "0": case "1": case "2": case "3": case "4": case "5": case "6": case "7": case "8": case "9": return -3; case "timesig.common": case "timesig.cut": return -1; case "flags.d32nd": return -1; case "fl...
case "clefs.G": return -1;
case "clefs.G": case "clefs.F": case "clefs.C": return -1;
this.getYCorr = function (symbol) { switch(symbol) { case "0": case "1": case "2": case "3": case "4": case "5": case "6": case "7": case "8": case "9": return -3; case "timesig.common": case "timesig.cut": return -1; case "flags.d32nd": return -1; case "fl...
case "clefs.perc": return -1;
this.getYCorr = function (symbol) { switch(symbol) { case "0": case "1": case "2": case "3": case "4": case "5": case "6": case "7": case "8": case "9": case "+": return -3; case "timesig.common": case "timesig.cut": return -1; case "flags.d32nd": return -1; case "flags...
case "rests.32nd": return -1; case "rests.64th": return -1; case "clefs.G": return -1;
this.getYCorr = function (symbol) { switch(symbol) { case "0": case "1": case "2": case "3": case "4": case "5": case "6": case "7": case "8": case "9": return -3; case "timesig.common": case "timesig.cut": return -1; case "flags.d32nd": return -1; case "fl...
case "clefs.perc": return -1;
this.getYCorr = function (symbol) { switch(symbol) { case "0": case "1": case "2": case "3": case "4": case "5": case "6": case "7": case "8": case "9": case "+": return -3; case "timesig.common": case "timesig.cut": return -1; case "flags.d32nd": return -1; case "flags...
case "\u00d9": case "\u00c2": return -3; case "\u0153": case "K": case "\u203a": case "W": case ";": case ".": case "\u2026": case "_": case "\u0153": case "#": case "b": case "n": case "w": return 0; default: return -1;
case "0": case "1": case "2": case "3": case "4": case "5": case "6": case "7": case "8": case "9": return -3; case "timesig.common": case "timesig.cut": return -1; case "flags.d32nd": return -1; case "flags.d64th": return -2; case "flags.u32nd": return 1; case "flags.u64th": return 3; case "rests.8th": return -1; case...
this.getYCorr = function (symbol) { switch(symbol) { case "\u00d9": // 64th rest case "\u00c2": return -3; // 128th rest case "\u0153": // down flag case "K": // up flag case "\u203a": //dblbreve case "W": //dblbreve case ";": case ".": case "\u2026": // acciatura gracenote ...
case "rests.whole": return 1; case "rests.half": return -1;
this.getYCorr = function (symbol) { switch(symbol) { case "0": case "1": case "2": case "3": case "4": case "5": case "6": case "7": case "8": case "9": return -3; case "timesig.common": case "timesig.cut": return -1; case "flags.d32nd": return -1; case "fl...
var years = new Array();
var years = [];
function getYearsArrayFrom(yearFrom) { var years = new Array(); var currentYear = new Date().getFullYear(); for (x=0;x<= currentYear - yearFrom;x++ ) years[x] = currentYear - x; return years; }
for (x=0;x<= currentYear - yearFrom;x++ )
for (x=0;x<= currentYear - yearFrom;x++ ) {
function getYearsArrayFrom(yearFrom) { var years = new Array(); var currentYear = new Date().getFullYear(); for (x=0;x<= currentYear - yearFrom;x++ ) years[x] = currentYear - x; return years; }
}
function getYearsArrayFrom(yearFrom) { var years = new Array(); var currentYear = new Date().getFullYear(); for (x=0;x<= currentYear - yearFrom;x++ ) years[x] = currentYear - x; return years; }
return true},noop:function(){},globalEval:function(a){if(a&&wa.test(a)){var b=r.getElementsByTagName("head")[0]||r.documentElement,e=r.createElement("script");e.type="text/javascript";if(d.support.scriptEval)e.appendChild(r.createTextNode(a));else e.text=a;b.insertBefore(e,b.firstChild);b.removeChild(e)}},nodeName:func...
return true},noop:function(){},globalEval:function(a){if(a&&wa.test(a)){var b=r.getElementsByTagName("head")[0]||r.documentElement,e=r.createElement("script");e.type="text/javascript";if(c.support.scriptEval)e.appendChild(r.createTextNode(a));else e.text=a;b.insertBefore(e,b.firstChild);b.removeChild(e)}},nodeName:func...
return true},noop:function(){},globalEval:function(a){if(a&&wa.test(a)){var b=r.getElementsByTagName("head")[0]||r.documentElement,e=r.createElement("script");e.type="text/javascript";if(d.support.scriptEval)e.appendChild(r.createTextNode(a));else e.text=a;b.insertBefore(e,b.firstChild);b.removeChild(e)}},nodeName:func...
var settings = null, configId = config.id;
var settings = null;
function GM_configInit(config, args) { var settings = null, configId = config.id; // If the id has changed we must modify the default style if (configId != 'GM_config') config.css.basic = config.css.basic.replace(/#GM_config/gm, '#' + configId); // loop through GM_config.init() arguments for (var i = 0, ...
if (configId != 'GM_config') config.css.basic = config.css.basic.replace(/#GM_config/gm, '#' + configId);
if (config.id != 'GM_config') config.css.basic = config.css.basic.replace(/#GM_config/gm, '#' + config.id);
function GM_configInit(config, args) { var settings = null, configId = config.id; // If the id has changed we must modify the default style if (configId != 'GM_config') config.css.basic = config.css.basic.replace(/#GM_config/gm, '#' + configId); // loop through GM_config.init() arguments for (var i = 0, ...
if (typeof arg.appendChild == "function") { obj.frame = arg; continue;
if (typeof arg.appendChild == "function") { obj.frame = arg; continue; } switch (typeof arg) { case 'object': for (var j in arg) { if (typeof arg[j] != "function") { var settings = arg; break; } switch (j) { case "open": obj.onOpen = arg[j]; break; case "close": obj.onClose = arg[j]; break; case "save": obj.onSave = a...
function GM_configInit(obj, args) { // loop through GM_config.init() arguments for (var i = 0, l = args.length, arg; i < l; ++i) { arg = args[i]; // An element to use as the config window if (typeof arg.appendChild == "function") { obj.frame = arg; continue; } ...
switch (typeof arg) { case 'object': for (var j in arg) { if (typeof arg[j] != "function") { var settings = arg; break; } switch (j) { case "open": obj.onOpen = arg[j]; break; case "close": obj.onClose = arg[j]; break; case "save": obj.onSave = arg[j]; break; } } break; case 'function': obj.onOpen = arg; break; case '...
var stored = obj.read(); for (var id in settings) obj.fields[id] = new GM_configField(settings[id], stored[id], id);
function GM_configInit(obj, args) { // loop through GM_config.init() arguments for (var i = 0, l = args.length, arg; i < l; ++i) { arg = args[i]; // An element to use as the config window if (typeof arg.appendChild == "function") { obj.frame = arg; continue; } ...
var stored = obj.read(); for (var id in settings) obj.fields[id] = new GM_configField(settings[id], stored[id], id); if (css) obj.css.stylish = css;
if (css) obj.css.stylish = css;
function GM_configInit(obj, args) { // loop through GM_config.init() arguments for (var i = 0, l = args.length, arg; i < l; ++i) { arg = args[i]; // An element to use as the config window if (typeof arg.appendChild == "function") { obj.frame = arg; continue; } ...
config.css.basic = config.css.basic.replace(/#GM_config/gm, configId);
config.css.basic = config.css.basic.replace(/#GM_config/gm, '#' + configId);
function GM_configInit(config, args) { var settings = null, configId = config.id; // If the id has changed we must modify the default style if (configId != 'GM_config') config.css.basic = config.css.basic.replace(/#GM_config/gm, configId); // loop through GM_config.init() arguments for (var i = 0, l = ar...
basic: "#GM_config * { font-family: arial,tahoma,myriad pro,sans-serif; }" + '\n' + "#GM_config { background: #FFF; }" + '\n' + "#GM_config input[type='radio'] { margin-right: 8px; }" + '\n' + "#GM_config .indent40 { margin-left: 40%; }" + '\n' + "#GM_config .field_label { font-weight: bold; font-size: 12px; marg...
basic: "#GM_config * { font-family: arial,tahoma,myriad pro,sans-serif; }" + '\n' + "#GM_config { background: #FFF; }" + '\n' + "#GM_config input[type='radio'] { margin-right: 8px; }" + '\n' + "#GM_config .indent40 { margin-left: 40%; }" + '\n' + "#GM_config .field_label { font-weight: bold; font-size: 12px; margin...
function GM_configStruct() { // define a few properties this.storage = 'GM_config'; // Changed to something unique for localStorage this.isGM = typeof GM_getValue != 'undefined' && typeof GM_getValue('a', 'b') != 'undefined'; this.fields = {}; this.css = { basic: "#GM_config ...
+ '\n' + "#GM_config .section_header { font-size: 13pt; background: #414141; color: #FFF; border: 1px solid #000; margin: 0; }" + '\n' + "#GM_config .section_desc { font-size: 9pt; background: #EFEFEF; color: #575757; border: 1px solid #CCC; margin: 0 0 6px; }",
+ '\n' + "#GM_config .section_header { font-size: 13pt; background: #414141; color: #FFF;" + '\n' + "border: 1px solid #000; margin: 0; }" + '\n' + "#GM_config .section_desc { font-size: 9pt; background: #EFEFEF; color: #575757;" + '\n' + "border: 1px solid #CCC; margin: 0 0 6px; }",
function GM_configStruct() { // define a few properties this.storage = 'GM_config'; // Changed to something unique for localStorage this.isGM = typeof GM_getValue != 'undefined' && typeof GM_getValue('a', 'b') != 'undefined'; this.fields = {}; this.css = { basic: "#GM_config ...
+ '\n' + "#GM_config .reset, .reset a, #buttons_holder { text-align: right; color: #000; }"
+ '\n' + "#GM_config .reset, .reset a, #GM_config_buttons_holder { text-align: right; color: #000; }"
function GM_configStruct() { // define a few properties this.storage = 'GM_config'; // Changed to something unique for localStorage this.isGM = typeof GM_getValue != 'undefined' && typeof GM_getValue('a', 'b') != 'undefined'; this.values = {}; this.settings = {}; this.css = { ba...
this._popEditPosition(this.lastEditStack, index, this.nextEditStack);
this._popEditPosition(this.lastEditStack, index, this.nextEditStack, this.prefs.editRememberCurrentPos);
goToLastEdit : function(index) { this._popEditPosition(this.lastEditStack, index, this.nextEditStack); },
this._popEditPosition(this.nextEditStack, index, this.lastEditStack);
this._popEditPosition(this.nextEditStack, index, this.lastEditStack, false);
goToNextEdit : function(index) { this._popEditPosition(this.nextEditStack, index, this.lastEditStack); },
return-1},merge:function(a,b){var e=a.length,g=0;if(typeof b.length==="number")for(var h=b.length;g<h;g++)a[e++]=b[g];else for(;b[g]!==v;)a[e++]=b[g++];a.length=e;return a},grep:function(a,b,e){for(var g=[],h=0,k=a.length;h<k;h++)!e!==!b(a[h],h)&&g.push(a[h]);return g},map:function(a,b,e){for(var g=[],h,k=0,l=a.length;...
return-1},merge:function(a,b){var e=a.length,f=0;if(typeof b.length==="number")for(var h=b.length;f<h;f++)a[e++]=b[f];else for(;b[f]!==v;)a[e++]=b[f++];a.length=e;return a},grep:function(a,b,e){for(var f=[],h=0,k=a.length;h<k;h++)!e!==!b(a[h],h)&&f.push(a[h]);return f},map:function(a,b,e){for(var f=[],h,k=0,l=a.length;...
return-1},merge:function(a,b){var e=a.length,g=0;if(typeof b.length==="number")for(var h=b.length;g<h;g++)a[e++]=b[g];else for(;b[g]!==v;)a[e++]=b[g++];a.length=e;return a},grep:function(a,b,e){for(var g=[],h=0,k=a.length;h<k;h++)!e!==!b(a[h],h)&&g.push(a[h]);return g},map:function(a,b,e){for(var g=[],h,k=0,l=a.length;...
}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...
function gup( name ) {
var gup = function ( name ) {
function gup( name ) { name = name.replace(/[\[]/,"\\\[").replace(/[\]]/,"\\\]"); var regexS = "[\\?&]"+name+"=([^&#]*)"; var regex = new RegExp( regexS ); var results = regex.exec( window.location.href ); if( results == null ) ...
if( results == null )
if( results === null ) {
function gup( name ) { name = name.replace(/[\[]/,"\\\[").replace(/[\]]/,"\\\]"); var regexS = "[\\?&]"+name+"=([^&#]*)"; var regex = new RegExp( regexS ); var results = regex.exec( window.location.href ); if( results == null ) ...
else
} else {
function gup( name ) { name = name.replace(/[\[]/,"\\\[").replace(/[\]]/,"\\\]"); var regexS = "[\\?&]"+name+"=([^&#]*)"; var regex = new RegExp( regexS ); var results = regex.exec( window.location.href ); if( results == null ) ...
}
} };
function gup( name ) { name = name.replace(/[\[]/,"\\\[").replace(/[\]]/,"\\\]"); var regexS = "[\\?&]"+name+"=([^&#]*)"; var regex = new RegExp( regexS ); var results = regex.exec( window.location.href ); if( results == null ) ...
this.mercZoomLevel = 4;
function GWMSTileLayer(map, copyrights, minResolution, maxResolution) { // GWMSTileLayer inherits from GTileLayer GTileLayer.call(this, copyrights, minResolution, maxResolution); // Attributes this.map = map; this.format = "image/png"; // Use PNG by default this.opacity = 1.0; // Google Maps Zoom leve...
nOpacity:.2,
nOpacity:0.2,
function GZoomControl(oBoxStyle,oOptions,oCallbacks) { //box style options GZoomControl.G.style = { nOpacity:.2, sColor:"#000", sBorder:"2px solid blue" }; var style=GZoomControl.G.style; for (var s in oBoxStyle) {style[s]=oBoxStyle[s];}; var aStyle=style.sBorder.split(' '); style.nOutlineWidth=parseInt(...
for (var s in oBoxStyle) {style[s]=oBoxStyle[s];};
for (var s in oBoxStyle) {style[s]=oBoxStyle[s];}
function GZoomControl(oBoxStyle,oOptions,oCallbacks) { //box style options GZoomControl.G.style = { nOpacity:.2, sColor:"#000", sBorder:"2px solid blue" }; var style=GZoomControl.G.style; for (var s in oBoxStyle) {style[s]=oBoxStyle[s];}; var aStyle=style.sBorder.split(' '); style.nOutlineWidth=parseInt(...
for (var s in oOptions) {GZoomControl.G.options[s]=oOptions[s];};
for (var s in oOptions) {GZoomControl.G.options[s]=oOptions[s];}
function GZoomControl(oBoxStyle,oOptions,oCallbacks) { //box style options GZoomControl.G.style = { nOpacity:.2, sColor:"#000", sBorder:"2px solid blue" }; var style=GZoomControl.G.style; for (var s in oBoxStyle) {style[s]=oBoxStyle[s];}; var aStyle=style.sBorder.split(' '); style.nOutlineWidth=parseInt(...
if (oCallbacks == null) {oCallbacks={};};
if (oCallbacks === null) {oCallbacks={};}
function GZoomControl(oBoxStyle,oOptions,oCallbacks) { //box style options GZoomControl.G.style = { nOpacity:.2, sColor:"#000", sBorder:"2px solid blue" }; var style=GZoomControl.G.style; for (var s in oBoxStyle) {style[s]=oBoxStyle[s];}; var aStyle=style.sBorder.split(' '); style.nOutlineWidth=parseInt(...
document.activeElement};this.history=function(){function a(){var l,p;p=location.href;l=p.indexOf("#");return l>=0?p.substr(l+1):null}function b(){v.value=G+"|"+C;if(u)v.value+="|"+M.join(",")}function f(l){if(l){if(!l||C!==l){C=l||G;H(unescape(C))}}else{C=G;H(unescape(C))}}function k(l){var p;l='<html><body><div id="st...
function h(){var l,q,r,m;if(!F.contentWindow||!F.contentWindow.document)setTimeout(h,10);else{l=F.contentWindow.document;r=(q=l.getElementById("state"))?q.innerText:null;m=a();setInterval(function(){var N,J;l=F.contentWindow.document;N=(q=l.getElementById("state"))?q.innerText:null;J=a();if(N!==r){r=N;f(r);J=r?r:G;m=lo...
document.activeElement};this.history=function(){function a(){var l,p;p=location.href;l=p.indexOf("#");return l>=0?p.substr(l+1):null}function b(){v.value=G+"|"+C;if(u)v.value+="|"+M.join(",")}function f(l){if(l){if(!l||C!==l){C=l||G;H(unescape(C))}}else{C=G;H(unescape(C))}}function k(l){var p;l='<html><body><div id="st...
g)return j.offsetWidth;q+=j.colSpan}}return 0}}function e(c,g){var j=a.getElement(t).firstChild;o(c).style.width=g+"px";var l,q,s,v;q=l=0;for(s=j.rows.length;l<s;l++){v=j.rows[l];if(v.className!="Wt-hrh"){var w,B,D,F;D=B=0;for(F=v.childNodes.length;B<F;++B){w=v.childNodes[B];if(w.className!="Wt-vrh"){if(w.colSpan==1&&D...
F;++B){w=v.childNodes[B];if(w.className!="Wt-vrh"){if(w.colSpan==1&&D==e&&w.childNodes.length==1){v=w.firstChild;w=k-d.marginH(v);v.style.width=w+"px";break}D+=w.colSpan}}++r}}}function h(e,k,m){var n=e.firstChild;new a.SizeHandle(a,"v",n.offsetHeight,n.offsetWidth,-e.parentNode.previousSibling.offsetHeight,e.parentNod...
g)return j.offsetWidth;q+=j.colSpan}}return 0}}function e(c,g){var j=a.getElement(t).firstChild;o(c).style.width=g+"px";var l,q,s,v;q=l=0;for(s=j.rows.length;l<s;l++){v=j.rows[l];if(v.className!="Wt-hrh"){var w,B,D,F;D=B=0;for(F=v.childNodes.length;B<F;++B){w=v.childNodes[B];if(w.className!="Wt-vrh"){if(w.colSpan==1&&D...
j.toDateString():j;e.args[i-2]=j}e.feedback=true;x[h]=b(e,h);E()}function z(d,c,e){var h=function(){var j=n.getElement(d);if(j){if(e)j.timer=setTimeout(j.tm,c);else{j.timer=null;j.tm=null}j.onclick()}},i=n.getElement(d);i.timer=setTimeout(h,c);i.tm=h}function Q(d,c){setTimeout(function(){if(O[d]===true)c();else O[d]=c}...
M=e?setTimeout(H,_$_SERVER_PUSH_TIMEOUT_$_):null}}function O(d,c){var e={},h=z.length;e.signal="user";e.id=typeof d==="string"?d:d==_$_APP_CLASS_$_?"app":d.id;if(typeof c==="object"){e.name=c.name;e.object=c.eventObject;e.event=c.event}else{e.name=c;e.object=e.event=null}e.args=[];for(var i=2;i<arguments.length;++i){va...
j.toDateString():j;e.args[i-2]=j}e.feedback=true;x[h]=b(e,h);E()}function z(d,c,e){var h=function(){var j=n.getElement(d);if(j){if(e)j.timer=setTimeout(j.tm,c);else{j.timer=null;j.tm=null}j.onclick()}},i=n.getElement(d);i.timer=setTimeout(h,c);i.tm=h}function Q(d,c){setTimeout(function(){if(O[d]===true)c();else O[d]=c}...
L=null}J=null;if(d>0)++U;else U=0;if(ea||x.length>0)if(d==1){d=Math.min(12E4,Math.exp(U)*500);N=setTimeout(function(){A()},d)}else A()}}function K(){J.abort();L=J=null;A()}function H(d,c,e,h){n.checkReleaseCapture(d,e);_$_$if_STRICTLY_SERIALIZED_EVENTS_$_();if(!J){_$_$endif_$_();var i={},j=x.length;i.object=d;i.signal=...
d)}else w()}}function H(){G.abort();M=G=null;w()}function A(d,c,e,h){g.checkReleaseCapture(d,e);_$_$if_STRICTLY_SERIALIZED_EVENTS_$_();if(!G){_$_$endif_$_();var i={},j=z.length;i.object=d;i.signal=c;i.event=e;i.feedback=h;z[j]=R(i,j);F();q();_$_$if_STRICTLY_SERIALIZED_EVENTS_$_()}_$_$endif_$_()}function F(){if(G!=null&...
L=null}J=null;if(d>0)++U;else U=0;if(ea||x.length>0)if(d==1){d=Math.min(12E4,Math.exp(U)*500);N=setTimeout(function(){A()},d)}else A()}}function K(){J.abort();L=J=null;A()}function H(d,c,e,h){n.checkReleaseCapture(d,e);_$_$if_STRICTLY_SERIALIZED_EVENTS_$_();if(!J){_$_$endif_$_();var i={},j=x.length;i.object=d;i.signal=...
" ")+u("Properties","PropertyList",a.properties," ");break;case Xmla.METHOD_EXECUTE:if(j(a.statement))c=Xmla.Exception._newError("MISSING_REQUEST_TYPE","Xmla._getXmlaSoapMessage",a);else b+="\n <Command>\n <Statement>"+a.statement+"</Statement>\n </Command>"+u("Properties","PropertyList",a.properties," ");...
return f.length?b(e._elementText(f.item(0))):null}}else if(d==="1")h=function(){var f=o(this.row,s,null,a);return e._arrayConverter(f,b)};else if(d==="0")h=function(){var f=o(this.row,s,null,a);return f.length?e._arrayConverter(f,b):null};return h},getType:function(){return this._type},getFields:function(){for(var a=[]...
" ")+u("Properties","PropertyList",a.properties," ");break;case Xmla.METHOD_EXECUTE:if(j(a.statement))c=Xmla.Exception._newError("MISSING_REQUEST_TYPE","Xmla._getXmlaSoapMessage",a);else b+="\n <Command>\n <Statement>"+a.statement+"</Statement>\n </Command>"+u("Properties","PropertyList",a.properties," ");...
i)};d.find=p;d.expr=p.selectors;d.expr[":"]=d.expr.filters;d.unique=p.uniqueSort;d.getText=a;d.isXMLDoc=P;d.contains=fa})();var Ba=/Until$/,Ca=/^(?:parents|prevUntil|prevAll)/,Da=/,/;I=Array.prototype.slice;var ha=function(a,b,e){if(d.isFunction(b))return d.grep(a,function(h,k){return!!b.call(h,k,h)===e});else if(b.nod...
j="",n;for(g=g.nodeType?[g]:g;n=o.match.PSEUDO.exec(d);){j+=n[0];d=d.replace(o.match.PSEUDO,"")}d=o.relative[d]?d+"*":d;n=0;for(var m=g.length;n<m;n++)p(d,g[n],i);return p.filter(j,i)};c.find=p;c.expr=p.selectors;c.expr[":"]=c.expr.filters;c.unique=p.uniqueSort;c.getText=a;c.isXMLDoc=P;c.contains=fa})();var Ba=/Until$/...
i)};d.find=p;d.expr=p.selectors;d.expr[":"]=d.expr.filters;d.unique=p.uniqueSort;d.getText=a;d.isXMLDoc=P;d.contains=fa})();var Ba=/Until$/,Ca=/^(?:parents|prevUntil|prevAll)/,Da=/,/;I=Array.prototype.slice;var ha=function(a,b,e){if(d.isFunction(b))return d.grep(a,function(h,k){return!!b.call(h,k,h)===e});else if(b.nod...
self.onCurrentViewCheckStatus(event); };
self.pushEdit(); };
this.handle_current_view_check_status_setup = function(event) { self.onCurrentViewCheckStatus(event); };
var total = res[3], action = res[0][0], direction = res[0][1], i, count, b_tag;
var action = res[0][0], b_tag, count, direction = res[0][1], i, total = res[3];
function handle_new_verses(res) { ///TODO: On a verse lookup that does not start with Genesis 1:1, scroll_maxed_top must be set to FALSE. (Has this been taken care of?) var total = res[3], action = res[0][0], direction = res[0][1], i, count, b_tag; if (total > 0) { ///FIXME: When looking up the last few verses ...
setTimeout("highlight_search_results(\"" + res[2] + "\")", 100);
setTimeout(function () { highlight_search_results('"' + res[2] + '"'); }, 100);
function handle_new_verses(res) { ///TODO: On a verse lookup that does not start with Genesis 1:1, scroll_maxed_top must be set to FALSE. (Has this been taken care of?) var total = res[3], action = res[0][0], direction = res[0][1], i, count, b_tag; if (total > 0) { ///FIXME: When looking up the last few verses ...
self.onViewClosed(event); };
self.viewClosed(event.originalTarget); };
this.handle_view_closed_setup = function(event) { self.onViewClosed(event); };
j,b,-2,-1)};this.scrolled=function(a,b,c,d){s=a;t=b;u=c;v=d};var m=null;j.handleDragDrop=function(a,b,c,d,k){if(m){m.className=m.classNameOrig;m=null}if(a!="end"){var g=q(c);if(!g.selected&&g.drop)if(a=="drop")n.emit(j,{name:"dropEvent",eventObject:b,event:c},g.rowIdx,g.columnId,d,k);else{b.className="Wt-valid-drop";m=...
a;t=b;u=c;v=d};var m=null;h.handleDragDrop=function(a,b,c,d,k){if(m){m.className=m.classNameOrig;m=null}if(a!="end"){var g=q(c);if(!g.selected&&g.drop)if(a=="drop")n.emit(h,{name:"dropEvent",eventObject:b,event:c},g.rowIdx,g.columnId,d,k);else{b.className="Wt-valid-drop";m=g.el;m.classNameOrig=m.className;m.className+=...
j,b,-2,-1)};this.scrolled=function(a,b,c,d){s=a;t=b;u=c;v=d};var m=null;j.handleDragDrop=function(a,b,c,d,k){if(m){m.className=m.classNameOrig;m=null}if(a!="end"){var g=q(c);if(!g.selected&&g.drop)if(a=="drop")n.emit(j,{name:"dropEvent",eventObject:b,event:c},g.rowIdx,g.columnId,d,k);else{b.className="Wt-valid-drop";m=...
KFLog.debug("keeFoxInitStartupListener: got event " + event.type);
KFLog.debug("handleEvent: got event " + event.type);
handleEvent: function(event) { KFLog.debug("keeFoxInitStartupListener: got event " + event.type); var currentWindow, inputElement; currentWindow = event.target.defaultView; // proving we can get to the navigator for future use... // this._kf.log(currentWindow.navigator....
document.addEventListener("KeeFoxClearTabFormFillData", function(e) { keeFoxToolbar.clearTabFormFillData(e); }, false, true);
document.addEventListener("KeeFoxClearTabFormFillData", this, false, true);
handleEvent: function(event) { KFLog.debug("keeFoxInitStartupListener: got event " + event.type); var currentWindow, inputElement; currentWindow = event.target.defaultView; // proving we can get to the navigator for future use... // this._kf.log(currentWindow.navigator....
keeFoxInst.init(keeFoxToolbar,currentWindow);
this.startupKeeFox(keeFoxToolbar,currentWindow);
handleEvent: function(event) { KFLog.debug("keeFoxInitStartupListener: got event " + event.type); var currentWindow, inputElement; currentWindow = event.target.defaultView; // proving we can get to the navigator for future use... // this._kf.log(currentWindow.navigator....
}
},
handleEvent: function(event) { KFLog.debug("keeFoxInitStartupListener: got event " + event.type); var currentWindow, inputElement; currentWindow = event.target.defaultView; // proving we can get to the navigator for future use... // this._kf.log(currentWindow.navigator....
+ "Please see the KeeFox website if you would like more information about this complex topic."
+ "Please see the KeeFox website if you would like more information about this topic."
handleFailedCertificate: function (gSSLStatus) { gCert = gSSLStatus.QueryInterface(Components.interfaces.nsISSLStatus).serverCert; log.warn("Adding security certificate exception for " + this.address + ":" + this.port + " <-- This should be the address and port of the KeePassRP...
log.debug("Creating a reconnection timer."); this.certFailedReconnectTimer = Components.classes["@mozilla.org/timer;1"] .createInstance(Components.interfaces.nsITimer); this.certFailedReconnectTimer.initWithCallback(this.reconnectNow, 500, Components.interfaces.nsITimer.TYPE_ONE_SHOT); log.debug("Timer created.");
handleFailedCertificate: function (gSSLStatus) { gCert = gSSLStatus.QueryInterface(Components.interfaces.nsISSLStatus).serverCert; log.warn("Adding security certificate exception for " + this.address + ":" + this.port + " <-- This should be the address and port of the KeePassRP...
alert('Couldn\'t open popup window containing WMS information. Please disable any popup blockers and try again');
alert("Couldn't open popup window containing WMS information. Please disable any popup blockers and try again");
function handleGenericWmsRecord(url, i, map, latlng) { url += "&INFO_FORMAT=text/html"; Ext.Ajax.request({ url: url, timeout : 180000, success: function(response, options) { if (isHtmlDataThere(response.responseText)) { if (isHtmlPage(response.responseText)) { var...
alert("Remote server returned an unsupported response.");
function handleGeotransectWmsRecord(url, record, map, latlng) { url += "&INFO_FORMAT=application/vnd.ogc.gml"; Ext.Ajax.request({ url: url, timeout : 180000, success: function(response, options) { if (isGmlDataThere(response.responseText)) { ...
if(line == null || line.length <= 0) {
if(line === null || line.length <= 0) {
function handleGeotransectWmsRecord(url, cswRecord, wmsOnlineResource, map, latlng) { Ext.Ajax.request({ url: url+"&INFO_FORMAT=application/vnd.ogc.gml", timeout : 180000, wmsOnlineResource : wmsOnlineResource, cswRecord : cswRecord, success: function(response, options) { if (isGmlDat...
if(line != null && line.length > 0) {
if(line !== null && line.length > 0) {
function handleGeotransectWmsRecord(url, cswRecord, wmsOnlineResource, map, latlng) { Ext.Ajax.request({ url: url+"&INFO_FORMAT=application/vnd.ogc.gml", timeout : 180000, wmsOnlineResource : wmsOnlineResource, cswRecord : cswRecord, success: function(response, options) { if (isGmlDat...
if(lineId.indexOf("cdp") == 0) {
if(lineId.indexOf("cdp") === 0) {
function handleGeotransectWmsRecord(url, cswRecord, wmsOnlineResource, map, latlng) { Ext.Ajax.request({ url: url+"&INFO_FORMAT=application/vnd.ogc.gml", timeout : 180000, wmsOnlineResource : wmsOnlineResource, cswRecord : cswRecord, success: function(response, options) { if (isGmlDat...
moved = true; el.style.left = (WT.pxself(el, 'left') + nowxy.x - dsx) + 'px'; el.style.top = (WT.pxself(el, 'top') + nowxy.y - dsy) + 'px'; dsx = nowxy.x; dsy = nowxy.y;
var wxy = WT.windowCoordinates(e); var wsize = WT.windowSize(); if (wxy.x > 0 && wxy.x < wsize.x && wxy.y > 0 && wxy.y < wsize.y) { moved = true; el.style.left = (WT.pxself(el, 'left') + nowxy.x - dsx) + 'px'; el.style.top = (WT.pxself(el, 'top') + nowxy.y - dsy) + 'px'; dsx = nowxy.x; dsy = nowxy.y; }
function handleMove(event) { var e = event||window.event; var nowxy = WT.pageCoordinates(e); moved = true; el.style.left = (WT.pxself(el, 'left') + nowxy.x - dsx) + 'px'; el.style.top = (WT.pxself(el, 'top') + nowxy.y - dsy) + 'px'; dsx = nowxy.x; dsy = nowxy.y; };
var selectedRecord = activeLayersPanel.getSelectionModel().getSelected(); wfsHandler(selectedRecord); }
var recordToAdd = wmsLayersPanel.getSelectionModel().getSelected(); if (activeLayersStore.findExact("id",recordToAdd.get("id")) < 0) { activeLayersStore.insert(0, [recordToAdd]); activeLayerCheckHandler(wmsLayersPanel.getSelectionModel().getSelected(), true); } activeLayersPanel.getSelectionModel().selectRecords...
handler: function() { var selectedRecord = activeLayersPanel.getSelectionModel().getSelected(); wfsHandler(selectedRecord); }
handler : function(container, rec, item, e) { rec.beginEdit(); rec.set('source', 'default'); rec.commit(); rec.endEdit(); },
handler : function() { w.close(); }
handler : function(container, rec, item, e) { rec.beginEdit(); rec.set('source', 'default'); rec.commit(); rec.endEdit(); },
new ReportsInfoWindow(map, this.overlay, this.cswRecord).show();
var repWin = new ReportsInfoWindow(map, this.overlay, this.cswRecord); repWin.show();
handler: function(item, checked) { new ReportsInfoWindow(map, this.overlay, this.cswRecord).show(); }.createDelegate({overlay: reportOverlay, cswRecord: cswRecord})
if (record == null)
if (record === null) {
handler: function() { var record = activeLayersPanel.getSelectionModel().getSelected(); if (record == null) return; layerRemoveHandler(new ActiveLayersRecord(record)); }
}
handler: function() { var record = activeLayersPanel.getSelectionModel().getSelected(); if (record == null) return; layerRemoveHandler(new ActiveLayersRecord(record)); }
rec.set('exposed', true); rec.set('userManaged', true);
handler : function(container, rec, item, e) { rec.beginEdit(); rec.set('repoType', 'group'); rec.commit(); rec.endEdit(); },
var handler = function(){ handlerCalled = true; switch (xhr.readyState){ case 0: options.aborted(xhr);
handler = function(){ handlerCalled = true; switch (xhr.readyState){ case 0: options.aborted(xhr); break; case 4: if (xhr.status===200){ options.complete(xhr); } else { options.error( Xmla.Exception._newError( "HTTP_ERROR", "_ajax", options ) ); }
var handler = function(){ handlerCalled = true; switch (xhr.readyState){ case 0: options.aborted(xhr); break; case 4: if (xhr.status===200){ options.complete(xhr); } ...
case 4: if (xhr.status===200){ options.complete(xhr); } else { options.error( Xmla.Exception._newError( "HTTP_ERROR", "_ajax", options ) ); } break; } };
} };
var handler = function(){ handlerCalled = true; switch (xhr.readyState){ case 0: options.aborted(xhr); break; case 4: if (xhr.status===200){ options.complete(xhr); } ...
else if ( drag.dragging || ( data.which>0 && event.which!=data.which ) || $( event.target ).is( data.not ) ) return; switch ( event.type ){ case 'mousedown': $.extend( data, $( elem ).offset(), { elem: elem, target: event.target, pageX: event.pageX, pageY: event.pageY }); $event.add( document, "mousemove mouseup", ha...
else if ( drag.dragging || ( data.which>0 && event.which!=data.which ) || $( event.target ).is( data.not ) ) return; switch ( event.type ){ case 'mousedown': $.extend( data, $( elem ).offset(), { elem: elem, target: event.target, pageX: event.pageX, pageY: event.pageY }); $event.add( document, "mousemove mouseup", ha...
function handler ( event ){ var elem = this, returned, data = event.data || {}; // mousemove or mouseup if ( data.elem ){ // update event properties... elem = event.dragTarget = data.elem; // drag source element event.dragProxy = drag.proxy || elem; // proxy element or source event.cursorOffsetX = data.pageX - da...
if ( returned !== false ) break; event.type = "mouseup"; } case 'mouseup': $event.remove( document, "mousemove mouseup", handler ); if ( drag.dragging ){ if ( $special.drop ) $special.drop.handler( event ); hijack( event, "dragend", elem ); } selectable( elem, true ); drag.dragging = drag.proxy = data.elem = false; br...
case 'mousemove': if ( drag.dragging ){ returned = hijack( event, "drag", elem ); if ( $special.drop ){ $special.drop.allowed = returned !== false; $special.drop.handler( event ); } if ( returned !== false ) break; event.type = "mouseup"; } case 'mouseup': $event.remove( document, "mousemove mouseup", handler ); if ( ...
function handler ( event ){ var elem = this, returned, data = event.data || {}; // mousemove or mouseup if ( data.elem ){ // update event properties... elem = event.dragTarget = data.elem; // drag source element event.dragProxy = drag.proxy || elem; // proxy element or source event.cursorOffsetX = data.pageX - da...