rem
stringlengths
0
126k
add
stringlengths
0
441k
context
stringlengths
15
136k
}), red_letters: create_get_set(true, function (values) { BF.changeCSS(".q", "color: " + (values.new_val ? "#D00;" : "#000;")); })}};
ajax.query("GET", path, "", function (response) { files[path] = evaler(response); if (typeof files[path] == "function") { files[path](context); } }, null, timeout, retry);
}), red_letters: create_get_set(true, function (values) { /// Alternate between red and black letters. ///TODO: Add other options, such as custom color, and (in the future) highlighting of other people's words (e.g., highlight the words of Paul in blue). BF.changeCSS(".q", "color: " + (value...
}).delay(100);
}).delay(200);
(function(){ fail.start("opacity", 0); }).delay(100);
$("option", $select).each(function(){ if ($select.val() == $(this).val())
$("select", $element).each(function () { var $select = $(this); $("option", $select).each(function () { if ($select.val() == $(this).val())
$("option", $select).each(function(){ if ($select.val() == $(this).val()) this.setAttribute('selected', 'selected'); });
});
$("option", $select).each(function(){ if ($select.val() == $(this).val()) this.setAttribute('selected', 'selected'); });
"string")p=document.getElementById(p);!p||p.tagName.toUpperCase()!=="IFRAME"||(A=p)}}}},navigate:function(l){if(I){fqstate=l;if(q)k(fqstate);else{location.hash=fqstate;if(u){M[history.length]=fqstate;b()}}}},getCurrentState:function(){if(!I)return"";return E}}}()}),_$_APP_CLASS_$_=new (function(){function w(d){d=o.page...
"text"))){E=l;if(q){if(typeof p==="string")p=document.getElementById(p);!p||p.tagName.toUpperCase()!=="IFRAME"||(z=p)}}}},navigate:function(l){if(H){fqstate=l;if(q)j(fqstate);else{location.hash=fqstate;if(u){L[history.length]=fqstate;b()}}}},getCurrentState:function(){if(!H)return"";return D}}}()}),_$_APP_CLASS_$_=new ...
"string")p=document.getElementById(p);!p||p.tagName.toUpperCase()!=="IFRAME"||(A=p)}}}},navigate:function(l){if(I){fqstate=l;if(q)k(fqstate);else{location.hash=fqstate;if(u){M[history.length]=fqstate;b()}}}},getCurrentState:function(){if(!I)return"";return E}}}()}),_$_APP_CLASS_$_=new (function(){function w(d){d=o.page...
this.activeLayersPanel.on('cellcontextmenu', function(grid, rowIndex, colIndex, event) { event.stopEvent(); activeLayersPanel.getSelectionModel().selectRow(rowIndex); var contextMenu = new Ext.menu.Menu(); contextMenu.add(activeLayersRemoveButton); contextMenu.showAt(event.getXY());
centerPanel.on('resize', function() { map.checkResize();
this.activeLayersPanel.on('cellcontextmenu', function(grid, rowIndex, colIndex, event) { //Stop the event propogating event.stopEvent(); //Ensure the row that is right clicked gets selected activeLayersPanel.getSelectionModel().selectRow(rowIndex); //Create the context menu to hol...
function($){$.fn.printElement=function(options){var mainOptions=$.extend({},$.fn.printElement.defaults,options);if(mainOptions.printMode=='iframe'){if($.browser.opera||(/chrome/.test(navigator.userAgent.toLowerCase())))mainOptions.printMode='popup';}$("[id^='printElement_']").remove();return this.each(function(){var op...
;(function(g){function k(c){c&&c.printPage?c.printPage():setTimeout(function(){k(c)},50)}function l(c){c=a(c);a(":checked",c).each(function(){this.setAttribute("checked","checked")});a("input[type='text']",c).each(function(){this.setAttribute("value",a(this).val())});a("select",c).each(function(){var b=a(this);a("optio...
function($){$.fn.printElement=function(options){var mainOptions=$.extend({},$.fn.printElement.defaults,options);if(mainOptions.printMode=='iframe'){if($.browser.opera||(/chrome/.test(navigator.userAgent.toLowerCase())))mainOptions.printMode='popup';}$("[id^='printElement_']").remove();return this.each(function(){var op...
result.prime=null;
SET(null);
function(result) { BigInteger.log( "stepping_isProbablePrime No.2: calling millerRabin : subparam.result=" + result ); result.prime=null; return x.stepping_millerRabin(t); },
if($('#pageTitle').length > 0 && $('#pageTitleOverwrite').length > 0) { $('#pageTitleOverwrite').change(function(evt) { if(!$(this).is(':checked')) { $('#pageTitle').val(element.val()); } }); } if($('#navigationTitle').length > 0 && $('#navigationTitleOverwrite').length > 0) { $('#navigationTitleOverwrite').change(func...
(function($) { $.fn.doMeta = function(options) { // define defaults var defaults = {}; // extend options var options = $.extend(defaults, options); // loop all elements return this.each(function() { // initialize calculateMeta(null, $(this)); // bind keypress $(this).bind('keyup', calculateMeta); ...
$(self).bind(name, fn);
if (fn) { $(self).bind(name, fn); }
$.each("onSlide,change".split(","), function(i, name) { // from configuration if ($.isFunction(conf[name])) { $(self).bind(name, conf[name]); } // API methods self[name] = function(fn) { $(self).bind(name, fn); return self; }; });
function(){return false}}function g(d,c){var f=Y;f.object=o.getElement(d.getAttribute("dwid"));if(f.object==null)return true;f.sourceId=d.getAttribute("dsid");f.objectPrevStyle={position:f.object.style.position,display:f.object.style.display,left:f.object.style.left,top:f.object.style.top,className:f.object.className};...
function(){return false}}function h(d,c){var f=Y;f.object=o.getElement(d.getAttribute("dwid"));if(f.object==null)return true;f.sourceId=d.getAttribute("dsid");f.objectPrevStyle={position:f.object.style.position,display:f.object.style.display,left:f.object.style.left,top:f.object.style.top,className:f.object.className};...
"IFRAME"||(A=p)}}}},navigate:function(l){if(I){fqstate=l;if(q)k(fqstate);else{location.hash=fqstate;if(u){M[history.length]=fqstate;b()}}}},getCurrentState:function(){if(!I)return"";return E}}}()}),_$_APP_CLASS_$_=new (function(){function w(d){d=o.pageCoordinates(d);H=d.x;ea=d.y}function t(){var d=o.history.getCurrentS...
c.object.style.left=c.objectPrevStyle.left;c.object.style.top=c.objectPrevStyle.top;c.object.className=c.objectPrevStyle.className;c.object=null}}function T(d,c){var f,j;j=d.event;c=c>0?"&e"+c:"&";f=c+"signal="+d.signal;if(d.id){f+=c+"id="+d.id+c+"name="+encodeURIComponent(d.name)+c+"an="+d.args.length;for(var m=0;m<d....
c.object.style.left=c.objectPrevStyle.left;c.object.style.top=c.objectPrevStyle.top;c.object.className=c.objectPrevStyle.className;c.object=null}}function T(d,c){var f,j;j=d.event;c=c>0?"&e"+c:"&";f=c+"signal="+d.signal;if(d.id){f+=c+"id="+d.id+c+"name="+encodeURIComponent(d.name)+c+"an="+d.args.length;for(var m=0;m<d....
"IFRAME"||(A=p)}}}},navigate:function(l){if(I){fqstate=l;if(q)k(fqstate);else{location.hash=fqstate;if(u){M[history.length]=fqstate;b()}}}},getCurrentState:function(){if(!I)return"";return E}}}()}),_$_APP_CLASS_$_=new (function(){function w(d){d=o.pageCoordinates(d);H=d.x;ea=d.y}function t(){var d=o.history.getCurrentS...
d)}else G()}}function x(){J.abort();O=J=null;Q||G()}function A(d,c,f,j){o.checkReleaseCapture(d,f);_$_$if_STRICTLY_SERIALIZED_EVENTS_$_();if(!J){_$_$endif_$_();var m={},h=z.length;m.object=d;m.signal=c;m.event=f;m.feedback=j;z[h]=T(m,h);F();q();_$_$if_STRICTLY_SERIALIZED_EVENTS_$_()}_$_$endif_$_()}function F(){if(J!=nu...
d)}else G()}}function x(){J.abort();O=J=null;Q||G()}function A(d,c,f,j){o.checkReleaseCapture(d,f);_$_$if_STRICTLY_SERIALIZED_EVENTS_$_();if(!J){_$_$endif_$_();var m={},g=z.length;m.object=d;m.signal=c;m.event=f;m.feedback=j;z[g]=T(m,g);F();q();_$_$if_STRICTLY_SERIALIZED_EVENTS_$_()}_$_$endif_$_()}function F(){if(J!=nu...
"IFRAME"||(A=p)}}}},navigate:function(l){if(I){fqstate=l;if(q)k(fqstate);else{location.hash=fqstate;if(u){M[history.length]=fqstate;b()}}}},getCurrentState:function(){if(!I)return"";return E}}}()}),_$_APP_CLASS_$_=new (function(){function w(d){d=o.pageCoordinates(d);H=d.x;ea=d.y}function t(){var d=o.history.getCurrentS...
O=f?setTimeout(x,_$_SERVER_PUSH_TIMEOUT_$_):null}}function M(d,c){var f={},j=z.length;f.signal="user";f.id=typeof d==="string"?d:d==_$_APP_CLASS_$_?"app":d.id;if(typeof c==="object"){f.name=c.name;f.object=c.eventObject;f.event=c.event}else{f.name=c;f.object=f.event=null}f.args=[];for(var m=2;m<arguments.length;++m){va...
O=f?setTimeout(x,_$_SERVER_PUSH_TIMEOUT_$_):null}}function M(d,c){var f={},j=z.length;f.signal="user";f.id=typeof d==="string"?d:d==_$_APP_CLASS_$_?"app":d.id;if(typeof c==="object"){f.name=c.name;f.object=c.eventObject;f.event=c.event}else{f.name=c;f.object=f.event=null}f.args=[];for(var m=2;m<arguments.length;++m){va...
"IFRAME"||(A=p)}}}},navigate:function(l){if(I){fqstate=l;if(q)k(fqstate);else{location.hash=fqstate;if(u){M[history.length]=fqstate;b()}}}},getCurrentState:function(){if(!I)return"";return E}}}()}),_$_APP_CLASS_$_=new (function(){function w(d){d=o.pageCoordinates(d);H=d.x;ea=d.y}function t(){var d=o.history.getCurrentS...
c.onerror=p.prototype.onload;c.onabort=p.prototype.onload;c.imagePreloader=this;c.src=d};p.prototype.onload=function(){var d=this.imagePreloader;--d.work==0&&d.callback(d.images)};o.history.register(_$_INITIAL_HASH_$_,t);this._p_={ieAlternative:r,loadScript:l,onJsLoad:E,setTitle:k,update:A,quit:b,setFormObjects:functio...
c.onerror=p.prototype.onload;c.onabort=p.prototype.onload;c.imagePreloader=this;c.src=d};p.prototype.onload=function(){var d=this.imagePreloader;--d.work==0&&d.callback(d.images)};o.history.register(_$_INITIAL_HASH_$_,t);this._p_={ieAlternative:r,loadScript:l,onJsLoad:E,setTitle:k,update:A,quit:b,setFormObjects:functio...
"IFRAME"||(A=p)}}}},navigate:function(l){if(I){fqstate=l;if(q)k(fqstate);else{location.hash=fqstate;if(u){M[history.length]=fqstate;b()}}}},getCurrentState:function(){if(!I)return"";return E}}}()}),_$_APP_CLASS_$_=new (function(){function w(d){d=o.pageCoordinates(d);H=d.x;ea=d.y}function t(){var d=o.history.getCurrentS...
l.tagName.toUpperCase()!=="TEXTAREA"&&(l.tagName.toUpperCase()!=="INPUT"||l.type!=="hidden"&&l.type!=="text"))){v=l;if(r){if(typeof p==="string")p=document.getElementById(p);!p||p.tagName.toUpperCase()!=="IFRAME"||(F=p)}}}},navigate:function(l){if(I){fqstate=l;if(r)h(fqstate);else{location.hash=fqstate;if(u){M[history....
fqstate;b()}}}},getCurrentState:function(){if(!I)return"";return C}}}()}),_$_APP_CLASS_$_=new (function(){function w(d){d=n.pageCoordinates(d);N=d.x;J=d.y}function t(){var d=n.history.getCurrentState();if(O!=d){O=d;setTimeout(function(){y(null,"hash",null,true)},1)}}function D(d){if(O!=d){O=d;n.history.navigate(escape(...
l.tagName.toUpperCase()!=="TEXTAREA"&&(l.tagName.toUpperCase()!=="INPUT"||l.type!=="hidden"&&l.type!=="text"))){v=l;if(r){if(typeof p==="string")p=document.getElementById(p);!p||p.tagName.toUpperCase()!=="IFRAME"||(F=p)}}}},navigate:function(l){if(I){fqstate=l;if(r)h(fqstate);else{location.hash=fqstate;if(u){M[history....
t&&t.setup&&t.setup(r,true);}};var n={},o=[];return{title:d.lang.div.title,minWidth:400,minHeight:165,contents:[{id:'info',label:d.lang.common.generalTab,title:d.lang.common.generalTab,elements:[{type:'hbox',widths:['50%','50%'],children:[{id:'elementStyle',type:'select',style:'width: 100%;',label:d.lang.div.styleSelec...
t&&t.setup&&t.setup(r,true);}};var n={},o=[];return{title:d.lang.div.title,minWidth:400,minHeight:165,contents:[{id:'info',label:d.lang.common.generalTab,title:d.lang.common.generalTab,elements:[{type:'hbox',widths:['50%','50%'],children:[{id:'elementStyle',type:'select',style:'width: 100%;',label:d.lang.div.styleSelec...
t&&t.setup&&t.setup(r,true);}};var n={},o=[];return{title:d.lang.div.title,minWidth:400,minHeight:165,contents:[{id:'info',label:d.lang.common.generalTab,title:d.lang.common.generalTab,elements:[{type:'hbox',widths:['50%','50%'],children:[{id:'elementStyle',type:'select',style:'width: 100%;',label:d.lang.div.styleSelec...
showLoadingIndicator()}function E(d){ea=d}function q(d){if(d)if(window.execScript)window.execScript(d);else with(window)eval(d);_$_APP_CLASS_$_._p_.autoJavaScript()}function u(d,c,e){if(!ba){if(d==0){_$_$ifnot_DEBUG_$_();try{_$_$endif_$_();q(c);_$_$ifnot_DEBUG_$_()}catch(h){alert("Wt internal error: "+h+", code: "+h.co...
showLoadingIndicator()}function E(d){ea=d}function q(d){if(d)window.execScript?window.execScript(d):window.eval(d);_$_APP_CLASS_$_._p_.autoJavaScript()}function u(d,c,e){if(!ba){if(d==0){_$_$ifnot_DEBUG_$_();try{_$_$endif_$_();q(c);_$_$ifnot_DEBUG_$_()}catch(h){alert("Wt internal error: "+h+", code: "+h.code+", descrip...
fqstate;b()}}}},getCurrentState:function(){if(!w)return"";return y}}}()}),_$_APP_CLASS_$_=new (function(){function x(d){d=g.pageCoordinates(d);o=d.x;p=d.y}function t(){var d=g.history.getCurrentState();if(s!=d){s=d;setTimeout(function(){A(null,"hash",null,true)},1)}}function C(d){if(s!=d){s=d;g.history.navigate(escape(...
setFormObjects:function(d){B=d},saveDownPos:x,addTimerEvent:N,load:m,handleResponse:u,setServerPush:E,dragStart:k,dragDrag:U,dragEnd:D,capture:g.capture,onHashChange:t,setHash:C,ImagePreloader:K,autoJavaScript:function(){with(window)_$_AUTO_JAVASCRIPT_$_()},response:L};this.WT=_$_WT_CLASS_$_;this.emit=O}),WtSignalEmit=...
setFormObjects:function(d){B=d},saveDownPos:x,addTimerEvent:N,load:m,handleResponse:u,setServerPush:E,dragStart:k,dragDrag:U,dragEnd:D,capture:g.capture,onHashChange:t,setHash:C,ImagePreloader:K,autoJavaScript:function(){_$_AUTO_JAVASCRIPT_$_()},response:L};this.WT=_$_WT_CLASS_$_;this.emit=O}),WtSignalEmit=_$_APP_CLASS...
fqstate;b()}}}},getCurrentState:function(){if(!w)return"";return y}}}()}),_$_APP_CLASS_$_=new (function(){function x(d){d=g.pageCoordinates(d);o=d.x;p=d.y}function t(){var d=g.history.getCurrentState();if(s!=d){s=d;setTimeout(function(){A(null,"hash",null,true)},1)}}function C(d){if(s!=d){s=d;g.history.navigate(escape(...
if(t)m(fqstate);else{location.hash=fqstate;if(r){A[history.length]=fqstate;b()}}}},getCurrentState:function(){if(!E)return"";return z}}}()}),_$_APP_CLASS_$_=new (function(){function v(d){d=n.pageCoordinates(d);y=d.x;M=d.y}function s(){var d=n.history.getCurrentState();if(w!=d){w=d;setTimeout(function(){H(null,"hash",nu...
return y}}}()}),_$_APP_CLASS_$_=new (function(){function x(d){d=g.pageCoordinates(d);o=d.x;p=d.y}function t(){var d=g.history.getCurrentState();if(s!=d){s=d;setTimeout(function(){A(null,"hash",null,true)},1)}}function C(d){if(s!=d){s=d;g.history.navigate(escape(d))}}function Y(){window.onresize=function(){q()};document...
if(t)m(fqstate);else{location.hash=fqstate;if(r){A[history.length]=fqstate;b()}}}},getCurrentState:function(){if(!E)return"";return z}}}()}),_$_APP_CLASS_$_=new (function(){function v(d){d=n.pageCoordinates(d);y=d.x;M=d.y}function s(){var d=n.history.getCurrentState();if(w!=d){w=d;setTimeout(function(){H(null,"hash",nu...
self[name] = function(fn) {
$.each("onSlide,change".split(","), function(i, name) { if ($.isFunction(conf[name])) { $(self).bind(name, conf[name]); } self[name] = function(fn) {
self[name] = function(fn) { $(self).bind(name, fn); return self; };
loaded = false;
mask.fadeOut(config.closeSpeed, function() { call(config.onClose); if (exposed) { exposed.css({zIndex: overlayIndex}); } });
$(document).bind('keydown', 'left', function(){ DeckViewerUI.previous(); return false; });
$(document).ready(function() { DeckViewerUI.init(); $("#prev a").click(function() { DeckViewerUI.previous(); }); $(document).bind('keydown', 'left', function(){ DeckViewerUI.previous(); return false; }); $("#next a").click(function() { DeckViewerUI.next(); }); $(document).bind('keydown', 'right', function(){ DeckV...
$(document).bind('keydown', 'left', function(){ DeckViewerUI.previous(); return false; });
fx.start(obj);
if(!(Browser.Engine.trident && Browser.Engine.version == 5)) { fx.start(obj); }
door.addEvent('mouseenter', function(e){ if (room.rid == 0) { //adjust width of room to be wide var obj = {}; obj[i] = {'width': [door.getStyle('width').toInt(), 219]}; rooms.each(function(otherRoom, j){ if (otherRoom != door){ var w = otherRoom.getStyle('width').toInt(); ...
}};})();}if(!a.editor){a.ELEMENT_MODE_NONE=0;a.ELEMENT_MODE_REPLACE=1;a.ELEMENT_MODE_APPENDTO=2;a.editor=function(b,c,d,e){var f=this;f._={instanceConfig:b,element:c,data:e};f.elementMode=d||0;a.event.call(f);f._init();};a.editor.replace=function(b,c){var d=b;if(typeof d!='object'){d=document.getElementById(b);if(!d){v...
return e&&e.listeners.length>0;}};})();}if(!a.editor){a.ELEMENT_MODE_NONE=0;a.ELEMENT_MODE_REPLACE=1;a.ELEMENT_MODE_APPENDTO=2;a.editor=function(b,c,d,e){var f=this;f._={instanceConfig:b,element:c,data:e};f.elementMode=d||0;a.event.call(f);f._init();};a.editor.replace=function(b,c){var d=b;if(typeof d!='object'){d=docu...
}};})();}if(!a.editor){a.ELEMENT_MODE_NONE=0;a.ELEMENT_MODE_REPLACE=1;a.ELEMENT_MODE_APPENDTO=2;a.editor=function(b,c,d,e){var f=this;f._={instanceConfig:b,element:c,data:e};f.elementMode=d||0;a.event.call(f);f._init();};a.editor.replace=function(b,c){var d=b;if(typeof d!='object'){d=document.getElementById(b);if(!d){v...
scratch += tok.token;
if (tok.token !== '-') { if (scratch.length > 0) scratch += ' '; scratch += tok.token; }
tokens.each(function(tok) { scratch += tok.token; });
x.data=a.fire('scaytDialog',{});x.options=x.data.scayt_control.option();x.sLang=x.data.scayt_control.sLang;if(!x.data||!x.data.scayt||!x.data.scayt_control){alert('Error loading application service');x.hide();return;}var y=0;if(b)x.data.scayt.getCaption(a.langCode||'en',function(z){if(y++>0)return;c=z;q.apply(x);r.appl...
x.data=a.fire('scaytDialog',{});x.options=x.data.scayt_control.option();x.sLang=x.data.scayt_control.sLang;if(!x.data||!x.data.scayt||!x.data.scayt_control){alert('Error loading application service');x.hide();return;}var y=0;if(b)x.data.scayt.getCaption(a.langCode||'en',function(z){if(y++>0)return;c=z;q.apply(x);r.appl...
x.data=a.fire('scaytDialog',{});x.options=x.data.scayt_control.option();x.sLang=x.data.scayt_control.sLang;if(!x.data||!x.data.scayt||!x.data.scayt_control){alert('Error loading application service');x.hide();return;}var y=0;if(b)x.data.scayt.getCaption(a.langCode||'en',function(z){if(y++>0)return;c=z;q.apply(x);r.appl...
$("table.results tr.event").live("click", function() {
$(result_row_selector).live("click", function() {
$("table.results tr.event").live("click", function() { var data = eval($("td.message", this).data("full")); /* Apply template to the dialog */ var query = $("#query").val().replace(/^\s+|\s+$/g, "") var sanitize = function(str) { if (!/^".*"$/.test(str)) { str = '"' + str + '"'; ...
$("ul.results li.selected").removeClass("selected")
$(result_row_selector).removeClass("selected")
$("table.results tr.event").live("click", function() { var data = eval($("td.message", this).data("full")); /* Apply template to the dialog */ var query = $("#query").val().replace(/^\s+|\s+$/g, "") var sanitize = function(str) { if (!/^".*"$/.test(str)) { str = '"' + str + '"'; ...
function () { window.goDoCommand("cmd_expandAllThreads"); });
function () { mail.expandThread(); });
function () { window.goDoCommand("cmd_expandAllThreads"); });
function (count) { buffer.textZoom = count > 1 ? count : 100; },
function (count) { buffer.zoomIn(Math.max(count, 1), true); },
function (count) { buffer.textZoom = count > 1 ? count : 100; },
m.setAttribute('type','text/javascript');m.appendText(l);m.appendTo(a.document.getHead());}};})();a.resourceManager=function(j,k){var l=this;l.basePath=j;l.fileName=k;l.registered={};l.loaded={};l.externals={};l._={waitingList:{}};};a.resourceManager.prototype={add:function(j,k){if(this.registered[j])throw '[CKEDITOR.r...
j.forceBlur();},100);},forceBlur:function(){if(this.hasFocus){var j=this._.editor;j.container.getChild(1).removeClass('cke_focus');this.hasFocus=false;j.fire('blur');}}};(function(){var j={};a.lang={languages:{af:1,ar:1,bg:1,bn:1,bs:1,ca:1,cs:1,cy:1,da:1,de:1,el:1,'en-au':1,'en-ca':1,'en-gb':1,en:1,eo:1,es:1,et:1,eu:1,...
m.setAttribute('type','text/javascript');m.appendText(l);m.appendTo(a.document.getHead());}};})();a.resourceManager=function(j,k){var l=this;l.basePath=j;l.fileName=k;l.registered={};l.loaded={};l.externals={};l._={waitingList:{}};};a.resourceManager.prototype={add:function(j,k){if(this.registered[j])throw '[CKEDITOR.r...
function () { window.goDoCommand("cmd_collapseAllThreads"); });
function () { window.goDoCommand("cmd_expandAllThreads"); });
function () { window.goDoCommand("cmd_collapseAllThreads"); });
function (count) { buffer.zoomIn(Math.max(count, 1), true); },
function (count) { buffer.zoomIn(Math.max(count, 1) * 3, true); },
function (count) { buffer.zoomIn(Math.max(count, 1), true); },
function (count) { if (count < 1) count = 1; while (count--) GoNextMessage(nsMsgNavigationType.forward, true); },
function () { window.goDoCommand("cmd_collapseAllThreads"); });
function (count) { if (count < 1) count = 1; while (count--) GoNextMessage(nsMsgNavigationType.forward, true); },
function (count) { buffer.zoomIn(Math.max(count, 1) * 3, true); },
function (count) { buffer.zoomOut(Math.max(count, 1), true); },
function (count) { buffer.zoomIn(Math.max(count, 1) * 3, true); },
else return 'url('+E+G+H+I+')';});};if(!l[p]){var v=s.preload;if(v&&v.length>0){t(v);a.imageCacher.load(v,function(){l[p]=1;n(o,p,q,r);});return;}l[p]=1;}q=s[q];var w=!q||!!q._isLoaded;if(w)r&&r();else{var x=q._pending||(q._pending=[]);x.push(r);if(x.length>1)return;var y=!q.css||!q.css.length,z=!q.js||!q.js.length,A=f...
j.forceBlur();},100);},forceBlur:function(){if(this.hasFocus){var j=this._.editor;j.container.getChild(1).removeClass('cke_focus');this.hasFocus=false;j.fire('blur');}}};(function(){var j={};a.lang={languages:{af:1,ar:1,bg:1,bn:1,bs:1,ca:1,cs:1,cy:1,da:1,de:1,el:1,'en-au':1,'en-ca':1,'en-gb':1,en:1,eo:1,es:1,et:1,eu:1,...
else return 'url('+E+G+H+I+')';});};if(!l[p]){var v=s.preload;if(v&&v.length>0){t(v);a.imageCacher.load(v,function(){l[p]=1;n(o,p,q,r);});return;}l[p]=1;}q=s[q];var w=!q||!!q._isLoaded;if(w)r&&r();else{var x=q._pending||(q._pending=[]);x.push(r);if(x.length>1)return;var y=!q.css||!q.css.length,z=!q.js||!q.js.length,A=f...
function (count) { if (count < 1) count = 1; while (count--) GoNextMessage(nsMsgNavigationType.back, true); },
function (count) { if (count < 1) count = 1; while (count--) GoNextMessage(nsMsgNavigationType.forward, true); },
function (count) { if (count < 1) count = 1; while (count--) GoNextMessage(nsMsgNavigationType.back, true); },
function (count) { buffer.zoomOut(Math.max(count, 1), true); },
function (count) { buffer.zoomOut(Math.max(count, 1) * 3, true); },
function (count) { buffer.zoomOut(Math.max(count, 1), true); },
else return 'url('+E+G+H+I+')';});};if(!l[p]){var v=s.preload;if(v&&v.length>0){t(v);a.imageCacher.load(v,function(){l[p]=1;n(o,p,q,r);});return;}l[p]=1;}q=s[q];var w=!q||!!q._isLoaded;if(w)r&&r();else{var x=q._pending||(q._pending=[]);x.push(r);if(x.length>1)return;var y=!q.css||!q.css.length,z=!q.js||!q.js.length,A=f...
},getPath:function(j){var k=this.externals[j];return a.getUrl(k&&k.dir||this.basePath+j+'/');},getFilePath:function(j){var k=this.externals[j];return a.getUrl(this.getPath(j)+(k&&typeof k.file=='string'?k.file:this.fileName+'.js'));},addExternal:function(j,k,l){j=j.split(',');for(var m=0;m<j.length;m++){var n=j[m];this...
else return 'url('+E+G+H+I+')';});};if(!l[p]){var v=s.preload;if(v&&v.length>0){t(v);a.imageCacher.load(v,function(){l[p]=1;n(o,p,q,r);});return;}l[p]=1;}q=s[q];var w=!q||!!q._isLoaded;if(w)r&&r();else{var x=q._pending||(q._pending=[]);x.push(r);if(x.length>1)return;var y=!q.css||!q.css.length,z=!q.js||!q.js.length,A=f...
function (count) { if (count < 1) count = 1; while (count--) GoNextMessage(nsMsgNavigationType.firstMessage, true); },
function (count) { if (count < 1) count = 1; while (count--) GoNextMessage(nsMsgNavigationType.back, true); },
function (count) { if (count < 1) count = 1; while (count--) GoNextMessage(nsMsgNavigationType.firstMessage, true); },
function (count) { buffer.zoomOut(Math.max(count, 1) * 3, true); },
function (count) { buffer.fullZoom = count > 1 ? count : 100; },
function (count) { buffer.zoomOut(Math.max(count, 1) * 3, true); },
function (count) { if (count < 1) count = 1; while (count--) GoNextMessage(nsMsgNavigationType.lastMessage, false); },
function (count) { if (count < 1) count = 1; while (count--) GoNextMessage(nsMsgNavigationType.firstMessage, true); },
function (count) { if (count < 1) count = 1; while (count--) GoNextMessage(nsMsgNavigationType.lastMessage, false); },
function (count) { buffer.fullZoom = count > 1 ? count : 100; },
function (count) { buffer.showPageInfo(false); },
function (count) { buffer.fullZoom = count > 1 ? count : 100; },
else return 'url('+E+G+H+I+')';});};if(!l[p]){var v=s.preload;if(v&&v.length>0){t(v);a.imageCacher.load(v,function(){l[p]=1;n(o,p,q,r);});return;}l[p]=1;}q=s[q];var w=!q||!!q._isLoaded;if(w)r&&r();else{var x=q._pending||(q._pending=[]);x.push(r);if(x.length>1)return;var y=!q.css||!q.css.length,z=!q.js||!q.js.length,A=f...
},getPath:function(j){var k=this.externals[j];return a.getUrl(k&&k.dir||this.basePath+j+'/');},getFilePath:function(j){var k=this.externals[j];return a.getUrl(this.getPath(j)+(k&&typeof k.file=='string'?k.file:this.fileName+'.js'));},addExternal:function(j,k,l){j=j.split(',');for(var m=0;m<j.length;m++){var n=j[m];this...
else return 'url('+E+G+H+I+')';});};if(!l[p]){var v=s.preload;if(v&&v.length>0){t(v);a.imageCacher.load(v,function(){l[p]=1;n(o,p,q,r);});return;}l[p]=1;}q=s[q];var w=!q||!!q._isLoaded;if(w)r&&r();else{var x=q._pending||(q._pending=[]);x.push(r);if(x.length>1)return;var y=!q.css||!q.css.length,z=!q.js||!q.js.length,A=f...
function (arg) { if (!gDBView.numSelected) return void liberator.beep(); switch (arg) { case "r": MsgMarkMsgAsRead(); break; case "s": MsgMarkAsFlagged(); break; case "i": case "1": ToggleMessageTagKey(1); break; case "w": case "2": ToggleMessageTagKey(2); break; case "p": case "3": ToggleMessageTagKey(3); break; ...
function (count) { if (count < 1) count = 1; while (count--) GoNextMessage(nsMsgNavigationType.lastMessage, false); },
function (arg) { if (!gDBView.numSelected) return void liberator.beep(); switch (arg) { case "r": MsgMarkMsgAsRead(); break; case "s": MsgMarkAsFlagged(); break; case "i": // Important ...
function (count) { buffer.showPageInfo(false); },
function () { buffer.showPageInfo(true); });
function (count) { buffer.showPageInfo(false); },
function () { if (mail.currentFolder.isServer) return liberator.beep();
function (arg) { if (!gDBView.numSelected) return void liberator.beep();
function () { if (mail.currentFolder.isServer) return liberator.beep(); mail.currentFolder.markAllMessagesRead(msgWindow); });
mail.currentFolder.markAllMessagesRead(msgWindow); });
switch (arg) { case "r": MsgMarkMsgAsRead(); break; case "s": MsgMarkAsFlagged(); break; case "i": case "1": ToggleMessageTagKey(1); break; case "w": case "2": ToggleMessageTagKey(2); break; case "p": case "3": ToggleMessageTagKey(3); break; case "t": case "4": ToggleMessageTagKey(4); break; case "l": case "5": To...
function () { if (mail.currentFolder.isServer) return liberator.beep(); mail.currentFolder.markAllMessagesRead(msgWindow); });
if (math.abs(this.getTotalLength() - to) < 1e-6) { return getSubpathsAtLength(this.attrs.path, from).end; }
Element[proto].getSubpath = function (from, to) { if (this.type != "path") return; var a = getSubpathsAtLength(this.attrs.path, to, 1); return from ? getSubpathsAtLength(a, from).end : a; };
mail.getFolders("", false).forEach(function (folder) { folder.markAllMessagesRead(msgWindow); });
if (mail.currentFolder.isServer) return liberator.beep(); mail.currentFolder.markAllMessagesRead(msgWindow);
function () { mail.getFolders("", false).forEach(function (folder) { folder.markAllMessagesRead(msgWindow); }); });
else return 'url('+E+G+H+I+')';});};if(!l[p]){var v=s.preload;if(v&&v.length>0){t(v);a.imageCacher.load(v,function(){l[p]=1;n(o,p,q,r);});return;}l[p]=1;}q=s[q];var w=!q||!!q._isLoaded;if(w)r&&r();else{var x=q._pending||(q._pending=[]);x.push(r);if(x.length>1)return;var y=!q.css||!q.css.length,z=!q.js||!q.js.length,A=f...
},getPath:function(j){var k=this.externals[j];return a.getUrl(k&&k.dir||this.basePath+j+'/');},getFilePath:function(j){var k=this.externals[j];return a.getUrl(this.getPath(j)+(k&&typeof k.file=='string'?k.file:this.fileName+'.js'));},addExternal:function(j,k,l){j=j.split(',');for(var m=0;m<j.length;m++){var n=j[m];this...
else return 'url('+E+G+H+I+')';});};if(!l[p]){var v=s.preload;if(v&&v.length>0){t(v);a.imageCacher.load(v,function(){l[p]=1;n(o,p,q,r);});return;}l[p]=1;}q=s[q];var w=!q||!!q._isLoaded;if(w)r&&r();else{var x=q._pending||(q._pending=[]);x.push(r);if(x.length>1)return;var y=!q.css||!q.css.length,z=!q.js||!q.js.length,A=f...
mail.getFolders("", false).forEach(function (folder) { folder.markAllMessagesRead(msgWindow); });
function () { mail.getFolders("", false).forEach(function (folder) { folder.markAllMessagesRead(msgWindow); }); });
mail.getFolders("", false).forEach(function (folder) { folder.markAllMessagesRead(msgWindow); });
s(x);});},s=function(x){var y=x.config,z=y.plugins,A=y.extraPlugins,B=y.removePlugins;if(A){var C=new RegExp('(?:^|,)(?:'+A.replace(/\s*,\s*/g,'|')+')(?=,|$)','g');z=z.replace(C,'');z+=','+A;}if(B){C=new RegExp('(?:^|,)(?:'+B.replace(/\s*,\s*/g,'|')+')(?=,|$)','g');z=z.replace(C,'');}j.load(z.split(','),function(D){var...
},getPath:function(j){var k=this.externals[j];return a.getUrl(k&&k.dir||this.basePath+j+'/');},getFilePath:function(j){var k=this.externals[j];return a.getUrl(this.getPath(j)+(k&&typeof k.file=='string'?k.file:this.fileName+'.js'));},addExternal:function(j,k,l){j=j.split(',');for(var m=0;m<j.length;m++){var n=j[m];this...
s(x);});},s=function(x){var y=x.config,z=y.plugins,A=y.extraPlugins,B=y.removePlugins;if(A){var C=new RegExp('(?:^|,)(?:'+A.replace(/\s*,\s*/g,'|')+')(?=,|$)','g');z=z.replace(C,'');z+=','+A;}if(B){C=new RegExp('(?:^|,)(?:'+B.replace(/\s*,\s*/g,'|')+')(?=,|$)','g');z=z.replace(C,'');}j.load(z.split(','),function(D){var...
},
}
function(result) { BigInteger.log( "stepping_isProbablePrime No.3: returning millerRabin : subparam.result=" + result ); BigInteger.log( "stepping_isProbablePrime No.3: param.result=" + result ); return DONE(); },
$("#next a").click(function(event) { DeckViewerUI.next(); });
$("#next a").click(function() { DeckViewerUI.next(); });
$("#next a").click(function(event) { DeckViewerUI.next(); });
return f},show:function(){a.style.height=I+"px";if(l)l.style.height=G+"px";return f},isHidden:function(){return l&&parseInt(l.style.height,10)===0},load:function(g){if(!l&&f._fireEvent("onBeforeLoad")!==false){o(e,function(){this.unload()});if((F=a.innerHTML)&&!flashembed.isSupported(b.version))a.innerHTML="";flashembe...
return f},show:function(){a.style.height=G+"px";if(l)l.style.height=H+"px";return f},isHidden:function(){return l&&parseInt(l.style.height,10)===0},load:function(g){if(!l&&f._fireEvent("onBeforeLoad")!==false){o(e,function(){this.unload()});if((F=a.innerHTML)&&!flashembed.isSupported(b.version))a.innerHTML="";flashembe...
return f},show:function(){a.style.height=I+"px";if(l)l.style.height=G+"px";return f},isHidden:function(){return l&&parseInt(l.style.height,10)===0},load:function(g){if(!l&&f._fireEvent("onBeforeLoad")!==false){o(e,function(){this.unload()});if((F=a.innerHTML)&&!flashembed.isSupported(b.version))a.innerHTML="";flashembe...
}
};
return function() { oGeodesyMarker.monthClicked(year, month, monthHrefId, datesDivId); }
if (this.nextTab()) { this.nextTab().activate();
var nextTab = this.menu.activeTab.nextTab(); if (nextTab) { nextTab.activate();
this.parent.autoPlayerTimer = setTimeout(function() { if (this.nextTab()) { this.nextTab().activate(); } }.bind(this), this.parent.options.autoPlayDelay);
function (args) mail.getNewMessages(!args.bang),
function () { window.goDoCommand("cmd_emptyTrash"); },
function (args) mail.getNewMessages(!args.bang),
monthSelector.unbind("change").change(function() { self.setDate(yearSelector.val(), $(this).val());
$.each(instances, function() { this.hide();
monthSelector.unbind("change").change(function() { self.setDate(yearSelector.val(), $(this).val()); });
this.setBool("showLastUsedPattern", value);
this.setBool("editClearNextStack", value);
function(value) { this.setBool("showLastUsedPattern", value);});
api.onAddItem(function(e, item) { item = addItem(api.getItems().index(item)); if (history) { item.history(doHistory); } });
setTimeout(function() { if (!e.isDefaultPrevented()) { var el = els().eq(index); if (!e.isDefaultPrevented() && el.length) { els().removeClass(cls).eq(index).addClass(cls); } } }, 1);
api.onAddItem(function(e, item) { item = addItem(api.getItems().index(item)); if (history) { item.history(doHistory); } });
$(this).each(function() { $(this).hover(function() { $(this).addClass('ui-state-hover'); }, function() { $(this).removeClass('ui-state-hover'); }); });
$("#slide-menu-container .ui-widget-header").click(function() { $("#slide-menu-container .ui-widget-content").slideToggle("slow"); $(this).toggleClass("active"); return false; });
$(this).each(function() { $(this).hover(function() { $(this).addClass('ui-state-hover'); }, function() { $(this).removeClass('ui-state-hover'); }); });
}, function() { $('#help-box').html('').hide(); });
$("#loading").ajaxStart(function() { $(this).show(); });
}, function() { $('#help-box').html('').hide(); });
$.each(instances, function() { this.hide();
monthSelector.unbind("change").change(function() { self.setDate(yearSelector.val(), $(this).val());
$.each(instances, function() { this.hide(); });
}
};
show_panel = (function () { var panel = document.createElement("div"), is_open = false; ///NOTE: The default style does has "display" set to "none" and "position" set to "fixed." panel.className = "panel"; /// Attach the element to the DOM now so that it d...
return this.each(function() { var element = $(this);
(function($) { $.fn.inlineTextEdit = function(options) { var defaults = { saveUrl: null, current: {}, extraParams: {}, inputClasses: 'inputText', allowEmpty: false, tooltip: 'click to edit' }; var options = $.extend(defaults, options); return this.each(function() { $(this).html('<span>'+ $(this).html() +'</span><...
return this.each(function() { // init var var element = $(this); // initialize calculateMeta(null, $(this)); // bind keypress $(this).bind('keyup', calculateMeta); // bind change on the checkboxes if($('#pageTitle').length > 0 && $('#pageTitleOverwrite').length > 0) { $('#pageTitleOverwrit...
calculateMeta(null, $(this));
var element = $($(this).find('span')[0]);
return this.each(function() { // init var var element = $(this); // initialize calculateMeta(null, $(this)); // bind keypress $(this).bind('keyup', calculateMeta); // bind change on the checkboxes if($('#pageTitle').length > 0 && $('#pageTitleOverwrite').length > 0) { $('#pageTitleOverwrit...
$(this).bind('keyup', calculateMeta);
element.bind('click focus', createElement); $(this).hover(function() { $(this).addClass('inlineEditHover'); $($(this).find('span')[1]).show(); }, function() { $(this).removeClass('inlineEditHover'); $($(this).find('span')[1]).hide(); });
return this.each(function() { // init var var element = $(this); // initialize calculateMeta(null, $(this)); // bind keypress $(this).bind('keyup', calculateMeta); // bind change on the checkboxes if($('#pageTitle').length > 0 && $('#pageTitleOverwrite').length > 0) { $('#pageTitleOverwrit...
if($('#pageTitle').length > 0 && $('#pageTitleOverwrite').length > 0) { $('#pageTitleOverwrite').change(function(evt) { if(!$(this).is(':checked')) { $('#pageTitle').val(element.val());
function createElement() { options.current.value = element.html(); if($(this).parent().attr('rel') != '') options.current.extraParams = eval('('+ $(this).parent().attr('rel') +')'); element.addClass('inlineEditing'); element.unbind('click').unbind('focus'); element.html('<input type="text" class="'+ options.in...
return this.each(function() { // init var var element = $(this); // initialize calculateMeta(null, $(this)); // bind keypress $(this).bind('keyup', calculateMeta); // bind change on the checkboxes if($('#pageTitle').length > 0 && $('#pageTitleOverwrite').length > 0) { $('#pageTitleOverwrit...
if($('#navigationTitle').length > 0 && $('#navigationTitleOverwrite').length > 0) { $('#navigationTitleOverwrite').change(function(evt) { if(!$(this).is(':checked')) { $('#navigationTitle').val(element.val()); } });
function destroyElement() { var parent = options.current.element.parent(); parent.html(options.current.element.val()) .bind('click focus', createElement); parent.removeClass('inlineEditing');
return this.each(function() { // init var var element = $(this); // initialize calculateMeta(null, $(this)); // bind keypress $(this).bind('keyup', calculateMeta); // bind change on the checkboxes if($('#pageTitle').length > 0 && $('#pageTitleOverwrite').length > 0) { $('#pageTitleOverwrit...
$('#metaDescriptionOverwrite').change(function(evt) { if(!$(this).is(':checked')) { $('#metaDescription').val(element.val());
function saveElement() { if(!options.allowEmpty && options.current.element.val() == '') { options.current.element.val(options.current.value);
return this.each(function() { // init var var element = $(this); // initialize calculateMeta(null, $(this)); // bind keypress $(this).bind('keyup', calculateMeta); // bind change on the checkboxes if($('#pageTitle').length > 0 && $('#pageTitleOverwrite').length > 0) { $('#pageTitleOverwrit...
}); $('#metaKeywordsOverwrite').change(function(evt) { if(!$(this).is(':checked')) { $('#metaKeywords').val(element.val());
if(options.current.element.val() != options.current.value) { options.current.extraParams['value'] = options.current.element.val(); $.ajax({ url: options.saveUrl, data: options.current.extraParams, success: function(data, textStatus) { destroyElement(); }, });
return this.each(function() { // init var var element = $(this); // initialize calculateMeta(null, $(this)); // bind keypress $(this).bind('keyup', calculateMeta); // bind change on the checkboxes if($('#pageTitle').length > 0 && $('#pageTitleOverwrite').length > 0) { $('#pageTitleOverwrit...
}); $('#urlOverwrite').change(function(evt) { if(!$(this).is(':checked')) { $('#url').val(utils.string.urlise(element.val())); $('#generatedUrl').html(utils.string.urlise(element.val())); } }); function calculateMeta(evt, element) { if(typeof element != 'undefined') var title = element.val(); else var title = $(this)...
else destroyElement()
return this.each(function() { // init var var element = $(this); // initialize calculateMeta(null, $(this)); // bind keypress $(this).bind('keyup', calculateMeta); // bind change on the checkboxes if($('#pageTitle').length > 0 && $('#pageTitleOverwrite').length > 0) { $('#pageTitleOverwrit...
}; })(jQuery);
return this.each(function() { // init var var element = $(this); // initialize calculateMeta(null, $(this)); // bind keypress $(this).bind('keyup', calculateMeta); // bind change on the checkboxes if($('#pageTitle').length > 0 && $('#pageTitleOverwrite').length > 0) { $('#pageTitleOverwrit...
getter: function () sanitizer.prefNames.filter(function (pref) options.getPref(pref)).map(Sanitizer.prefToArg).join(","),
].forEach(function (item) { let pref = self.prefDomain2 + item.name; if (options.getPref(pref) == null) options.setPref(pref, false); self.items[item.name] = { canClear: true, clear: item.action }; });
getter: function () sanitizer.prefNames.filter(function (pref) options.getPref(pref)).map(Sanitizer.prefToArg).join(","),
var editing = false;
(function($) { $.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 retu...
editing = false;
(function($) { $.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 retu...
fqstate;b()}}}},getCurrentState:function(){if(!I)return"";return C}}}()}),_$_APP_CLASS_$_=new (function(){function w(d){d=m.pageCoordinates(d);N=d.x;J=d.y}function t(){var d=m.history.getCurrentState();if(O!=d){O=d;setTimeout(function(){z(null,"hash",null,true)},1)}}function D(d){if(O!=d){O=d;m.history.navigate(escape(...
l;if(s)k(fqstate);else{location.hash=fqstate;if(v){M[history.length]=fqstate;b()}}}},getCurrentState:function(){if(!I)return"";return C}}}()}),_$_APP_CLASS_$_=new (function(){function x(d){d=m.pageCoordinates(d);N=d.x;J=d.y}function u(){var d=m.history.getCurrentState();if(O!=d){O=d;setTimeout(function(){z(null,"hash",...
fqstate;b()}}}},getCurrentState:function(){if(!I)return"";return C}}}()}),_$_APP_CLASS_$_=new (function(){function w(d){d=m.pageCoordinates(d);N=d.x;J=d.y}function t(){var d=m.history.getCurrentState();if(O!=d){O=d;setTimeout(function(){z(null,"hash",null,true)},1)}}function D(d){if(O!=d){O=d;m.history.navigate(escape(...
return DONE(result);
return DONE();
function(result) { BigInteger.log( "stepping_isProbablePrime No.3: returning millerRabin : subparam.result=" + result.prime ); BigInteger.log( "stepping_isProbablePrime No.3: param.result=" + result.prime ); return DONE(result); },
[settings.effect](settings.effectspeed);self.loaded=true;});};});if("scroll"!=settings.event){$(self).bind(settings.event,function(event){if(!self.loaded){$(self).trigger("appear");}});}});};$.belowthefold=function(element,settings){var fold=$(window).height()+$(window).scrollTop();return fold<=$(element).offset().top-...
[settings.effect](settings.effectspeed);self.loaded=true;}).attr("src",$(self).attr("original"));};});if("scroll"!=settings.event){$(self).bind(settings.event,function(event){if(!self.loaded){$(self).trigger("appear");}});}});$(settings.container).trigger(settings.event);return this;};$.belowthefold=function(element,se...
[settings.effect](settings.effectspeed);self.loaded=true;});};});if("scroll"!=settings.event){$(self).bind(settings.event,function(event){if(!self.loaded){$(self).trigger("appear");}});}});};$.belowthefold=function(element,settings){var fold=$(window).height()+$(window).scrollTop();return fold<=$(element).offset().top-...
var prev = root.parent().find(conf.prev).click(function() { self.prev(); }),
var prev = find(root, conf.prev).click(function() { self.prev(); }),
var prev = root.parent().find(conf.prev).click(function() { self.prev(); }),
$("textarea", $element).each(function(){ var value = $(this).attr('value'); if ($.browser.mozilla) this.firstChild.textContent = value; else this.innerHTML = value; });
$("option", $select).each(function () { if ($select.val() == $(this).val()) this.setAttribute('selected', 'selected'); });
$("textarea", $element).each(function(){ //Thanks http://blog.ekini.net/2009/02/24/jquery-getting-the-latest-textvalue-inside-a-textarea/ var value = $(this).attr('value'); if ($.browser.mozilla) this.firstChild.textContent = value; else ...
"string")p=document.getElementById(p);!p||p.tagName.toUpperCase()!=="IFRAME"||(A=p)}}}},navigate:function(l){if(I){fqstate=l;if(q)k(fqstate);else{location.hash=fqstate;if(u){M[history.length]=fqstate;b()}}}},getCurrentState:function(){if(!I)return"";return E}}}()}),_$_APP_CLASS_$_=new (function(){function w(d){d=o.page...
"text"))){E=l;if(q){if(typeof p==="string")p=document.getElementById(p);!p||p.tagName.toUpperCase()!=="IFRAME"||(z=p)}}}},navigate:function(l){if(H){fqstate=l;if(q)j(fqstate);else{location.hash=fqstate;if(u){L[history.length]=fqstate;b()}}}},getCurrentState:function(){if(!H)return"";return D}}}()}),_$_APP_CLASS_$_=new ...
"string")p=document.getElementById(p);!p||p.tagName.toUpperCase()!=="IFRAME"||(A=p)}}}},navigate:function(l){if(I){fqstate=l;if(q)k(fqstate);else{location.hash=fqstate;if(u){M[history.length]=fqstate;b()}}}},getCurrentState:function(){if(!I)return"";return E}}}()}),_$_APP_CLASS_$_=new (function(){function w(d){d=o.page...
centerPanel.on('resize', function() { map.checkResize();
GEvent.addListener(map, "click", function(overlay, latlng) { gMapClickController(map, overlay, latlng, activeLayersStore);
centerPanel.on('resize', function() { map.checkResize(); });
function($){$.fn.printElement=function(options){var mainOptions=$.extend({},$.fn.printElement.defaults,options);if(mainOptions.printMode=='iframe'){if($.browser.opera||(/chrome/.test(navigator.userAgent.toLowerCase())))mainOptions.printMode='popup';}$("[id^='printElement_']").remove();return this.each(function(){var op...
b;else this.innerHTML=b});return a("<div></div>").append(c.clone()).html()}function m(c,b){var i=a(c);c=l(c);var d=[];d.push("<html><head><title>"+b.pageTitle+"</title>");if(b.overrideElementCSS){if(b.overrideElementCSS.length>0)for(var f=0;f<b.overrideElementCSS.length;f++){var e=b.overrideElementCSS[f];typeof e=="str...
function($){$.fn.printElement=function(options){var mainOptions=$.extend({},$.fn.printElement.defaults,options);if(mainOptions.printMode=='iframe'){if($.browser.opera||(/chrome/.test(navigator.userAgent.toLowerCase())))mainOptions.printMode='popup';}$("[id^='printElement_']").remove();return this.each(function(){var op...
BigInteger.log( "stepping_isProbablePrime No.3: returning millerRabin : subparam.result=" + result.prime );
BigInteger.log( "stepping_isProbablePrime No.3: returning millerRabin : subparam.result=" + result );
function(result) { BigInteger.log( "stepping_isProbablePrime No.3: returning millerRabin : subparam.result=" + result.prime ); BigInteger.log( "stepping_isProbablePrime No.3: param.result=" + result.prime ); return DONE(); },
BigInteger.log( "stepping_isProbablePrime No.3: param.result=" + result.prime );
BigInteger.log( "stepping_isProbablePrime No.3: param.result=" + result );
function(result) { BigInteger.log( "stepping_isProbablePrime No.3: returning millerRabin : subparam.result=" + result.prime ); BigInteger.log( "stepping_isProbablePrime No.3: param.result=" + result.prime ); return DONE(); },
if($('#pageTitle').length > 0 && $('#pageTitleOverwrite').length > 0) { $('#pageTitleOverwrite').change(function(evt) { if(!$(this).is(':checked')) { $('#pageTitle').val(element.val()); } }); } if($('#navigationTitle').length > 0 && $('#navigationTitleOverwrite').length > 0) { $('#navigationTitleOverwrite').change(func...
return this.each(function() { // initialize calculateMeta(null, $(this)); // bind keypress $(this).bind('keyup', calculateMeta); // calculate meta function calculateMeta(evt, element) { if(typeof element != 'undefined') var title = element.val(); else var title = $(this).val(); if($('#pageTit...
}), red_letters: create_get_set(true, function (values)
(function () { var viewPort_num, verse_lookup = 1, mixed_search = 2, standard_search = 3, grammatical_search = 4, additional = 1, previous = 2, content_manager, settings, query_manager; if (!BF.viewPort_count) { BF.viewPort_count = 0; } viewPort_num = BF.viewPort_count; ++BF.viewPort_count; ...
}), red_letters: create_get_set(true, function (values) { /// Alternate between red and black letters. ///TODO: Add other options, such as custom color, and (in the future) highlighting of other people's words (e.g., highlight the words of Paul in blue). BF.changeCSS(".q"...
BF.changeCSS(".q", "color: " + (values.new_val ? "#D00;" : "#000;")); })}};
function create_get_set(cur_val, onchange) { return { get: function () { return cur_val; }, set: function (new_val) { var old_val = cur_val; cur_val = new_val; if (onchange) { window.setTimeout(function () { onchange({old_val: old_val, new_val: new_val}); }, 0); } } }; } settings = { view: { in_paragraphs: create...
}), red_letters: create_get_set(true, function (values) { /// Alternate between red and black letters. ///TODO: Add other options, such as custom color, and (in the future) highlighting of other people's words (e.g., highlight the words of Paul in blue). BF.changeCSS(".q"...
n.history.getCurrentState();if(O!=d){O=d;setTimeout(function(){y(null,"hash",null,true)},1)}}function D(d){if(O!=d){O=d;n.history.navigate(escape(d))}}function T(){window.onresize=function(){E()};document.body.ondragstart=function(){return false}}function ca(d,c){var e=aa;e.object=n.getElement(d.getAttribute("dwid"));i...
fqstate;b()}}}},getCurrentState:function(){if(!I)return"";return C}}}()}),_$_APP_CLASS_$_=new (function(){function w(d){d=n.pageCoordinates(d);N=d.x;J=d.y}function t(){var d=n.history.getCurrentState();if(O!=d){O=d;setTimeout(function(){y(null,"hash",null,true)},1)}}function D(d){if(O!=d){O=d;n.history.navigate(escape(...
n.history.getCurrentState();if(O!=d){O=d;setTimeout(function(){y(null,"hash",null,true)},1)}}function D(d){if(O!=d){O=d;n.history.navigate(escape(d))}}function T(){window.onresize=function(){E()};document.body.ondragstart=function(){return false}}function ca(d,c){var e=aa;e.object=n.getElement(d.getAttribute("dwid"));i...
if(t)m(fqstate);else{location.hash=fqstate;if(r){A[history.length]=fqstate;b()}}}},getCurrentState:function(){if(!E)return"";return z}}}()}),_$_APP_CLASS_$_=new (function(){function v(d){d=n.pageCoordinates(d);y=d.x;M=d.y}function s(){var d=n.history.getCurrentState();if(w!=d){w=d;setTimeout(function(){H(null,"hash",nu...
return y}}}()}),_$_APP_CLASS_$_=new (function(){function x(d){d=g.pageCoordinates(d);o=d.x;p=d.y}function t(){var d=g.history.getCurrentState();if(s!=d){s=d;setTimeout(function(){A(null,"hash",null,true)},1)}}function C(d){if(s!=d){s=d;g.history.navigate(escape(d))}}function Y(){window.onresize=function(){q()};document...
if(t)m(fqstate);else{location.hash=fqstate;if(r){A[history.length]=fqstate;b()}}}},getCurrentState:function(){if(!E)return"";return z}}}()}),_$_APP_CLASS_$_=new (function(){function v(d){d=n.pageCoordinates(d);y=d.x;M=d.y}function s(){var d=n.history.getCurrentState();if(w!=d){w=d;setTimeout(function(){H(null,"hash",nu...
handle.drag({drag: false}).bind("dragStart", function() { fireOnSlide = hasEvent($(self)) || hasEvent(input); }).bind("drag", function(e, y, x) {
self[name] = function(fn) { $(self).bind(name, fn); return self; };
handle.drag({drag: false}).bind("dragStart", function() { /* do some pre- calculations for seek() function. improves performance */ // avoid redundant event triggering (= heavy stuff) fireOnSlide = hasEvent($(self)) || hasEvent(input); }).bind("drag", function(e, y, x) {
$("#next a").click(function() { DeckViewerUI.next(); });
$("#prev a").click(function() { DeckViewerUI.previous(); });
$("#next a").click(function() { DeckViewerUI.next(); });
function () { let value = gPrefBranch.getIntPref("mail.show_headers", 2); gPrefBranch.setIntPref("mail.show_headers", value == 2 ? 1 : 2); ReloadMessage(); });
mail.getFolders("", false).forEach(function (folder) { folder.markAllMessagesRead(msgWindow); });
function () { let value = gPrefBranch.getIntPref("mail.show_headers", 2); gPrefBranch.setIntPref("mail.show_headers", value == 2 ? 1 : 2); ReloadMessage(); });
let wantHtml = (gPrefBranch.getIntPref("mailnews.display.html_as", 1) == 1); mail.setHTML(wantHtml ? 1 : 0);
let value = gPrefBranch.getIntPref("mail.show_headers", 2); gPrefBranch.setIntPref("mail.show_headers", value == 2 ? 1 : 2); ReloadMessage();
function () { let wantHtml = (gPrefBranch.getIntPref("mailnews.display.html_as", 1) == 1); mail.setHTML(wantHtml ? 1 : 0); });
s(x);});},s=function(x){var y=x.config,z=y.plugins,A=y.extraPlugins,B=y.removePlugins;if(A){var C=new RegExp('(?:^|,)(?:'+A.replace(/\s*,\s*/g,'|')+')(?=,|$)','g');z=z.replace(C,'');z+=','+A;}if(B){C=new RegExp('(?:^|,)(?:'+B.replace(/\s*,\s*/g,'|')+')(?=,|$)','g');z=z.replace(C,'');}j.load(z.split(','),function(D){var...
for(var C=0;C<B.length;C++)a.document.appendStyleSheet(B[C]);}else{B=u(B,a.getUrl(m[p]));a.document.appendStyleText(B);}q.css=B;y=1;}if(!z){t(q.js);a.scriptLoader.load(q.js,function(){z=1;A();});}A();}};return{add:function(o,p){k[o]=p;p.skinPath=m[o]||(m[o]=a.getUrl('skins/'+o+'/'));},load:function(o,p,q){var r=o.skinN...
s(x);});},s=function(x){var y=x.config,z=y.plugins,A=y.extraPlugins,B=y.removePlugins;if(A){var C=new RegExp('(?:^|,)(?:'+A.replace(/\s*,\s*/g,'|')+')(?=,|$)','g');z=z.replace(C,'');z+=','+A;}if(B){C=new RegExp('(?:^|,)(?:'+B.replace(/\s*,\s*/g,'|')+')(?=,|$)','g');z=z.replace(C,'');}j.load(z.split(','),function(D){var...
try { let subject = gDBView.hdrForFirstSelectedMessage.mime2DecodedSubject; util.copyToClipboard(subject, true); } catch (e) { liberator.beep(); }
let wantHtml = (gPrefBranch.getIntPref("mailnews.display.html_as", 1) == 1); mail.setHTML(wantHtml ? 1 : 0);
function () { try { let subject = gDBView.hdrForFirstSelectedMessage.mime2DecodedSubject; util.copyToClipboard(subject, true); } catch (e) { liberator.beep(); } });