rem
stringlengths
0
126k
add
stringlengths
0
441k
context
stringlengths
15
136k
} if (text.match(/^M3\s+-\s*(.*)/m)) { if (item.DOI == text.match(/^M3\s+\-\s*(.*)/m)[1]) item.DOI = "";
translator.setHandler("itemDone", function(obj, item) { if (text.match(/^L3\s+-\s*(.*)/m)) { item.DOI = text.match(/^L3\s+\-\s*(.*)/m)[1]; } if (text.match(/^DO\s+-\s*(.*)/m)) { item.DOI = text.match(/^DO\s+-\s*(.*)/m)[1]; } if (text.match(/^T1\s+-/m)) { item.title = text.match(/^T1\s+-\s*(.*)/m)[1...
setTimeout(function(){ _callPrint(element); }, 50);
return this.each(function () { var opts = $.meta ? $.extend({}, mainOptions, $(this).data()) : mainOptions; _printElement($(this), opts); });
setTimeout(function(){ _callPrint(element); }, 50);
function(a,b){if(document.createStyleSheet)setTimeout(function(){document.createStyleSheet(a)},15);else{var e=document.createElement("link");e.setAttribute("type","text/css");e.setAttribute("href",a);e.setAttribute("type","text/css");e.setAttribute("rel","stylesheet");b!=""&&b!="all"&&e.setAttribute("media",b);document...
this.addStyleSheet=function(a,b){if(document.createStyleSheet)setTimeout(function(){document.createStyleSheet(a)},15);else{var e=document.createElement("link");e.setAttribute("type","text/css");e.setAttribute("href",a);e.setAttribute("type","text/css");e.setAttribute("rel","stylesheet");b!=""&&b!="all"&&e.setAttribute(...
function(a,b){if(document.createStyleSheet)setTimeout(function(){document.createStyleSheet(a)},15);else{var e=document.createElement("link");e.setAttribute("type","text/css");e.setAttribute("href",a);e.setAttribute("type","text/css");e.setAttribute("rel","stylesheet");b!=""&&b!="all"&&e.setAttribute("media",b);document...
var title = Zotero.Utilities.cleanString(xml..title[0].text().toString());
var title = Zotero.Utilities.trimInternal(xml..title[0].text().toString());
Zotero.Utilities.HTTP.doGet(uris, function(text) { text = text.replace(/<\?xml[^>]*\?>/, ""); var xml = new XML(text); var newItem = new Zotero.Item("artwork"); var title = ""; if (xml..title.length()){ var title = Zotero.Utilities.cleanString(xml..title[0].text().toString()); if (title == ""){ title = " "...
translator.setHandler("itemDone", function(obj, item) {
Zotero.Utilities.HTTP.doGet(newUrl, function(text) { var translator = Zotero.loadTranslator("import"); translator.setTranslator("32d59d2d-b65a-4da4-b0a3-bdd3cfb979e7"); translator.setString(text); Zotero.debug(text); translator.setHandler("itemDone", function(obj, item) {
translator.setHandler("itemDone", function(obj, item) { if(item.notes && item.notes[0]) { item.extra = item.notes[0].note; delete item.notes; item.notes = undefined; } item.attachments = newAttachments.shift(); item.complete(); });
item.attachments = newAttachments.shift();
item.attachments.splice(0); item.attachments.push({document:doc, title:"Project MUSE Snapshot"}); if(getPDF) { item.attachments.push({title:"Project MUSE Full Text PDF", mimeType:"application/pdf", url:getPDF.href}); } if(DOI) { item.DOI = DOI.textContent.replace(/^DOI: /,""); } if(abstract) { item.abstract = abstract....
translator.setHandler("itemDone", function(obj, item) { if(item.notes && item.notes[0]) { item.extra = item.notes[0].note; delete item.notes; item.notes = undefined; } item.attachments = newAttachments.shift(); item.complete(); });
translator.translate(); });
translator.setHandler("itemDone", function(obj, item) { if(item.notes && item.notes[0]) { item.extra = item.notes[0].note; delete item.notes; item.notes = undefined; } item.attachments = newAttachments.shift(); item.complete(); });
$(link).after('<a href="#">Has been clicked</a>');
$(link).after('<a id="has-been-clicked" href="#">Has been clicked</a>');
setTimeout(function() { $(link).after('<a href="#">Has been clicked</a>'); $(link).after('<input type="submit" value="New Here">'); $(link).after('<input type="text" id="new_field">'); $('#change').remove(); }, 500);
function(result) { result.checker = NULL_CHECKER;
function() { SET(NULL_CHECKER);
function(result) { result.checker = NULL_CHECKER; BigInteger.log( "stepping_fromNumber1.2.1.1: calling stepping_isProbablePrime" ); return self.stepping_isProbablePrime( certainty ); },
$(editor.getContainer()).removeClass('expanded');
editor.onDeactivate.add(function(editor, otherEditor) { // remove the class $(editor.getContainer()).removeClass('expanded'); // show click to edit $(editor.getContainer()).siblings('.clickToEdit').show(); // check the content jsBackend.tinyMCE.checkContent(editor); });
if(document.styleSheets)for(var e=0;e<document.styleSheets.length;e++){var k=document.styleSheets[e],i=0,n=false;do{if((n=k.cssRules?k.cssRules[i]:k.rules[i])&&n.selectorText)if(n.selectorText.toLowerCase()==a)if(b=="delete"){k.cssRules?k.deleteRule(i):k.removeRule(i);return true}else return n;++i}while(n)}return false...
if(document.styleSheets)for(var e=0;e<document.styleSheets.length;e++){var k=document.styleSheets[e],i=0,n=false;do{if((n=k.cssRules?k.cssRules[i]:k.rules[i])&&n.selectorText)if(n.selectorText.toLowerCase()==a)if(b=="delete"){k.cssRules?k.deleteRule(i):k.removeRule(i);return true}else return n;++i}while(n)}return false...
if(document.styleSheets)for(var e=0;e<document.styleSheets.length;e++){var k=document.styleSheets[e],i=0,n=false;do{if((n=k.cssRules?k.cssRules[i]:k.rules[i])&&n.selectorText)if(n.selectorText.toLowerCase()==a)if(b=="delete"){k.cssRules?k.deleteRule(i):k.removeRule(i);return true}else return n;++i}while(n)}return false...
l.offsetWidth,-c.parentNode.previousSibling.offsetHeight,c.parentNode.nextSibling.offsetHeight,"Wt-vsh",function(q){f(c,g,q)},l,n,j,0,0)}function m(c,g,j){var l=-c.previousSibling.offsetWidth,q=c.nextSibling.offsetWidth,s=c.firstChild,v=a.pxself(u.rows[0].childNodes[0],"paddingTop"),w=a.pxself(u.rows[u.rows.length-1].c...
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...
l.offsetWidth,-c.parentNode.previousSibling.offsetHeight,c.parentNode.nextSibling.offsetHeight,"Wt-vsh",function(q){f(c,g,q)},l,n,j,0,0)}function m(c,g,j){var l=-c.previousSibling.offsetWidth,q=c.nextSibling.offsetWidth,s=c.firstChild,v=a.pxself(u.rows[0].childNodes[0],"paddingTop"),w=a.pxself(u.rows[u.rows.length-1].c...
document.addEventListener("DOMNodeInserted", (function () { findTextAreas();
document.addEventListener("DOMNodeInserted", (function (ev) { findTextAreasIn(ev.target);
document.addEventListener("DOMNodeInserted", (function () { findTextAreas(); return true;}), false);
else { $(document).find("link ").filter(function() { return $(this).attr("rel").toLowerCase() == "stylesheet"; }).each(function() { html.push('<link type="text/css" rel="stylesheet" href="' + $(this).attr("href") + '" >'); }); }
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...
else { $(document).find("link ").filter(function() { return $(this).attr("rel").toLowerCase() == "stylesheet"; }).each(function() { html.push('<link type="text/css" rel="stylesheet" href="' + $(this).attr("href") + '" >'); }); }
++k}while(o)}return false};this.removeCssRule=function(a){return g.getCssRule(a,"delete")};this.addStyleSheet=function(a,b){if(document.createStyleSheet)setTimeout(function(){document.createStyleSheet(a)},15);else{var f=document.createElement("link");f.setAttribute("type","text/css");f.setAttribute("href",a);f.setAttri...
do{o=null;if(h.cssRules)o=h.cssRules[k];else if(h.rules)o=h.rules[k];if(o&&o.selectorText)if(o.selectorText.toLowerCase()==a)if(b=="delete"){h.cssRules?h.deleteRule(k):h.removeRule(k);return true}else return o;++k}while(o)}return false};this.removeCssRule=function(a){return g.getCssRule(a,"delete")};this.addStyleSheet=...
++k}while(o)}return false};this.removeCssRule=function(a){return g.getCssRule(a,"delete")};this.addStyleSheet=function(a,b){if(document.createStyleSheet)setTimeout(function(){document.createStyleSheet(a)},15);else{var f=document.createElement("link");f.setAttribute("type","text/css");f.setAttribute("href",a);f.setAttri...
false;do{if((o=m.cssRules?m.cssRules[l]:m.rules[l])&&o.selectorText)if(o.selectorText.toLowerCase()==a)if(b=="delete"){m.cssRules?m.deleteRule(l):m.removeRule(l);return true}else return o;++l}while(o)}return false};this.removeCssRule=function(a){return k.getCssRule(a,"delete")};this.addStyleSheet=function(a){if(documen...
m.deleteRule(l):m.removeRule(l);return true}else return n;++l}while(n)}return false};this.removeCssRule=function(a){return k.getCssRule(a,"delete")};this.addStyleSheet=function(a){if(document.createStyleSheet)setTimeout(function(){document.createStyleSheet(a)},15);else{var b=document.createElement("link");b.setAttribut...
false;do{if((o=m.cssRules?m.cssRules[l]:m.rules[l])&&o.selectorText)if(o.selectorText.toLowerCase()==a)if(b=="delete"){m.cssRules?m.deleteRule(l):m.removeRule(l);return true}else return o;++l}while(o)}return false};this.removeCssRule=function(a){return k.getCssRule(a,"delete")};this.addStyleSheet=function(a){if(documen...
while(t1.length < 12) {
while(t1.length < 10) {
window.addEvent('domready',function () { document.id('login').addEvent('submit', function(e) { e.stop(); var auth = {}; auth.U = document.id('login').username.value; auth.P = document.id('login').password.value; if(auth.U.cont...
while(t2.length < 12) {
while(t2.length < 10) {
window.addEvent('domready',function () { document.id('login').addEvent('submit', function(e) { e.stop(); var auth = {}; auth.U = document.id('login').username.value; auth.P = document.id('login').password.value; if(auth.U.cont...
}
};
return function() { Tip(group.msDescription); }
tune.abc += directives;
tune.abc = directives + tune.abc;
This.tunes.each(function(tune) { var end = tune.abc.indexOf('\n\n'); if (end > 0) tune.abc = tune.abc.substring(0, end); tune.abc += directives; });
this.otherchildren.each(function(child) { child.draw(printer,10,width);
this.elemset.mouseup(function (e) { printer.notifySelect(self);
this.otherchildren.each(function(child) { child.draw(printer,10,width); });
b){return d.each(this,a,b)},ready:function(a){d.bindReady();if(d.isReady)a.call(r,d);else H&&H.push(a);return this},eq:function(a){return a===-1?this.slice(a):this.slice(a,+a+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(I.apply(this,arguments),"slice...
b){return c.each(this,a,b)},ready:function(a){c.bindReady();if(c.isReady)a.call(r,c);else H&&H.push(a);return this},eq:function(a){return a===-1?this.slice(a):this.slice(a,+a+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(I.apply(this,arguments),"slice...
b){return d.each(this,a,b)},ready:function(a){d.bindReady();if(d.isReady)a.call(r,d);else H&&H.push(a);return this},eq:function(a){return a===-1?this.slice(a):this.slice(a,+a+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(I.apply(this,arguments),"slice...
mail.selectMessage(function (msg) msg.mime2DecodedAuthor.toLowerCase().indexOf(author) == 0, true, true, true, count);
function (count) { try { let author = gDBView.hdrForFirstSelectedMessage.mime2DecodedAuthor.toLowerCase(); mail.selectMessage(function (msg) msg.mime2DecodedAuthor.toLowerCase().indexOf(author) == 0, true, true, true, count); } catch (e) { liberator.beep(); } },
mail.selectMessage(function (msg) msg.mime2DecodedAuthor.toLowerCase().indexOf(author) == 0, true, true, true, count);
whisper.getElement('form').addEvent('submit', function(e) { e.stop(); whisperSubmit(whisper,wid);
closeBox.addEvent('click', function(e) { leaveWhisper.transmit({'wid': wid});
whisper.getElement('form').addEvent('submit', function(e) { e.stop(); whisperSubmit(whisper,wid); });
div.addEvent('keydown', function(e) { if(!e.control) return; if(e.key == 'w') { e.stop(); var whisperBoxes = $$('.whisperBox'); if (whisperBoxes.every(function(whisperBox,i) { var widStr = whisperBox.get('id'); var whisperers = whisperBox.getElement('.whisperList').getChildren(); if (whisperers.length == 1) { if (whisp...
users.each(function(user) { user.uid = user.uid.toInt(); addUser(user);
div.addEvent('keydown', function(e) { if(!e.control) return; if(e.key == 'w') { e.stop(); var whisperBoxes = $$('.whisperBox'); if (whisperBoxes.every(function(whisperBox,i) { var widStr = whisperBox.get('id'); var whisperers = whisperBox.getElement('.whisperList')...
lazy_check();
function() { $("#timespan-menu li").each(function() { $(this).removeClass("selected"); }); var timespan = $(this).html(); if (!$("li.graph-image").hasClass(timespan)) { create_graph_list(timespan, $graph_json[timespan]); } $("li.graph-image").hide(); $("li.graph-image." + times...
$('#graph-view').change(function() { var selected_view = $(this).val(); if (selected_view == "grid") { $('#graph-container .sortable').css( { 'list-style-type' : 'none'
function() { $("#timespan-menu li").each(function() { $(this).removeClass("selected"); }); var timespan = $(this).html(); if (!$("li.graph-image").hasClass(timespan)) { create_graph_list(timespan, $graph_json[timespan]); } $("li.graph-image").hide(); $("li.graph-image." + timespan).show(); $("#timespan-menu li:contains...
$('#graph-view').change(function() { var selected_view = $(this).val(); if (selected_view == "grid") { $('#graph-container .sortable').css( { 'list-style-type' : 'none' }); $('#graph-container .sortable li').css( { 'float' : 'left', 'width' : '200px' }); $('#graph-container .sortable li...
$('#graph-container .sortable li').css( { 'float' : 'left', 'width' : '200px' }); $('#graph-container .sortable li img').css('width', '200px'); $('li.gc .gc-menu').css( { 'height' : '60px', 'width' : '120px' }); } else { $('#graph-container .sortable li').css( { 'float' : 'none', 'width' : '100%' }); $('#graph-cont...
$('#graph-view').change(function() { var selected_view = $(this).val(); if (selected_view == "grid") { $('#graph-container .sortable').css( { 'list-style-type' : 'none' }); $('#graph-container .sortable li').css( { 'float' : 'left', 'width' : '200px' }); $('#graph-container .sortable li...
closeBox.addEvent('click', function(e) { leaveWhisper.transmit({'wid': wid});
whisper.getElement('form').addEvent('submit', function(e) { e.stop(); whisperSubmit(whisper,wid);
closeBox.addEvent('click', function(e) { leaveWhisper.transmit({'wid': wid}); });
div.addEvent('keydown', function(e) { if(!e.control) return; if(e.key == 'w') { e.stop(); var whisperBoxes = $$('.whisperBox'); if (whisperBoxes.every(function(whisperBox,i) { var widStr = whisperBox.get('id'); var whisperers = whisperBox.getElement('.whisperList').getChildren(); if (whisperers.length == 1) { if (whisp...
span.addEvent('mousedown',function (e) { MBchat.updateables.whispers.whisperWith(user,span,e);
div.addEvent('keydown', function(e) { if(!e.control) return; if(e.key == 'w') { e.stop(); var whisperBoxes = $$('.whisperBox'); if (whisperBoxes.every(function(whisperBox,i) { var widStr = whisperBox.get('id'); var whisperers = whisperBox.getElement('.whisperList')...
function (args) { let doc = window.content.document; let chosenData = null; let filename = args[0]; if (filename) { let file = io.File(filename); liberator.assert(!file.exists() || args.bang, "E13: File exists (add ! to override)"); chosenData = { file: file, uri: window.makeURI(doc.location.href, doc.characterSet) ...
function () { tabs.stop(config.browser.mCurrentTab); },
function (args) { let doc = window.content.document; let chosenData = null; let filename = args[0]; if (filename) { let file = io.File(filename); liberator.assert(!file.exists() || args.bang, ...
this._load_branch(obj, function () { _this.open_branch(obj, disable_animation, callback); });
_datastore.load(this.callback("beforedata",[obj,this]),this,this.settings.data.opts,function(data){ data = _this.callback("ondata", [data, _this]); if(!data || data.length == 0) { obj.removeClass("closed").removeClass("open").addClass("leaf").children("ul").remove(); if(callback) callback.call(); return; } _datastore.p...
this._load_branch(obj, function () { _this.open_branch(obj, disable_animation, callback); });
},isArray:function(f){return!!f&&f instanceof Array;},isEmpty:function(f){for(var g in f){if(f.hasOwnProperty(g))return false;}return true;},cssStyleToDomStyle:(function(){var f=document.createElement('div').style,g=typeof f.cssFloat!='undefined'?'cssFloat':typeof f.styleFloat!='undefined'?'styleFloat':'float';return f...
g.prototype=f;return new g();},isArray:function(f){return!!f&&f instanceof Array;},isEmpty:function(f){for(var g in f){if(f.hasOwnProperty(g))return false;}return true;},cssStyleToDomStyle:(function(){var f=document.createElement('div').style,g=typeof f.cssFloat!='undefined'?'cssFloat':typeof f.styleFloat!='undefined'?...
},isArray:function(f){return!!f&&f instanceof Array;},isEmpty:function(f){for(var g in f){if(f.hasOwnProperty(g))return false;}return true;},cssStyleToDomStyle:(function(){var f=document.createElement('div').style,g=typeof f.cssFloat!='undefined'?'cssFloat':typeof f.styleFloat!='undefined'?'styleFloat':'float';return f...
d(l).val();if(b)return a;g.push(a)}}return g}if(ja.test(b.type)&&!d.support.checkOn)return b.getAttribute("value")===null?"on":b.value;return(b.value||"").replace(Ea,"")}return v}var q=d.isFunction(a);return this.each(function(p){var o=d(this),w=a;if(this.nodeType===1){if(q)w=a.call(this,p,o.val());if(typeof w==="numbe...
this[e];if(h.nodeType===1&&h.className)if(a){for(var k=(" "+h.className+" ").replace(ia," "),l=0,q=b.length;l<q;l++)k=k.replace(" "+b[l]+" "," ");h.className=k.substring(1,k.length-1)}else h.className=""}return this},toggleClass:function(a,b){var e=typeof a,f=typeof b==="boolean";if(c.isFunction(a))return this.each(fun...
d(l).val();if(b)return a;g.push(a)}}return g}if(ja.test(b.type)&&!d.support.checkOn)return b.getAttribute("value")===null?"on":b.value;return(b.value||"").replace(Ea,"")}return v}var q=d.isFunction(a);return this.each(function(p){var o=d(this),w=a;if(this.nodeType===1){if(q)w=a.call(this,p,o.val());if(typeof w==="numbe...
$('#messaging .formMessage .iconClose').live('click', function(evt) { evt.preventDefault(); jsBackend.messages.hide($($(this).parents('.formMessage')));
$('.datafilter tbody .options').each(function() { if($(this).height() > tallest) tallest = $(this).height();
$('#messaging .formMessage .iconClose').live('click', function(evt) { evt.preventDefault(); jsBackend.messages.hide($($(this).parents('.formMessage'))); });
function () { commandline.open(":", "mail -subject=", modes.EX); });
mail.selectMessage(function (msg) msg.mime2DecodedAuthor.toLowerCase().indexOf(author) == 0, true, true, true, count);
function () { commandline.open(":", "mail -subject=", modes.EX); });
whisper.addEvent('keydown',function(e) { if(!e.alt) return; switch (e.key) { case 'p' : if (room.type != 'M' || (me.mod != 'M' && me.role != 'H' && me.role != 'G' && me.role !='S')) { e.stop(); var boundPrivateBox = goPrivate.bind(privateBox); boundPrivateBox(); } break; case 's' : e.stop(); whisperSubmit(whisper,wid);...
whisper.getElement('form').addEvent('submit', function(e) { e.stop(); whisperSubmit(whisper,wid);
whisper.addEvent('keydown',function(e) { if(!e.alt) return; switch (e.key) { case 'p' : if (room.type != 'M' || (me.mod != 'M' && me.role != 'H' && me.role != 'G' && me.role !='S')) { e.stop(); var boundPrivateBox = goPrivate.bind(privateBox); boundPrivateBox(); } ...
if (whisperBoxes.every(function(whisperBox,i) { var widStr = whisperBox.get('id'); var whisperers = whisperBox.getElement('.whisperList').getChildren(); if (whisperers.length == 1) { if (whisperers[0].get('id').substr(widStr.length+1).toInt() == user.uid) { return false; } } return true; })){
users.each( function(user) { if (fellowWhisperers.some(function(item){ return this.get('id').substr(1) == item.get('id').substr(whisperBox.get('id').length+1); },user)) { user.addClass('priv'); } });
if (whisperBoxes.every(function(whisperBox,i) { var widStr = whisperBox.get('id'); var whisperers = whisperBox.getElement('.whisperList').getChildren(); //gets users in whisper if (whisperers.length == 1) { //we only want to worry about this if only other person if (whisperers...
whisper.getElement('form').addEvent('submit', function(e) { e.stop(); whisperSubmit(whisper,wid);
whisper.addEvent('keydown',function(e) { if(!e.alt) return; switch (e.key) { case 'p' : if (room.type != 'M' || (me.mod != 'M' && me.role != 'H' && me.role != 'G' && me.role !='S')) { e.stop(); var boundPrivateBox = goPrivate.bind(privateBox); boundPrivateBox(); } break; case 's' : e.stop(); whisperSubmit(whisper,wid);...
whisper.getElement('form').addEvent('submit', function(e) { e.stop(); whisperSubmit(whisper,wid); });
function () { tabs.stop(config.browser.mCurrentTab); },
function (args) { buffer.viewSource(args[0], args.bang); },
function () { tabs.stop(config.browser.mCurrentTab); },
obj.children("ul:eq(0)").slideDown(parseInt(this.settings.ui.animation), function() { $(this).css("display",""); if(callback) callback.call(); });
_datastore.parse(data,_this,_this.settings.data.opts,function(str){ str = _this.callback("onparse", [str, _this]); obj.children("ul:eq(0)").replaceWith($("<ul>").html(str)); obj.find("li:last-child").addClass("last").end().find("li:has(ul)").not(".open").addClass("closed"); obj.find("li").not(".open").not(".closed").a...
obj.children("ul:eq(0)").slideDown(parseInt(this.settings.ui.animation), function() { $(this).css("display",""); if(callback) callback.call(); });
d(l).val();if(b)return a;g.push(a)}}return g}if(ja.test(b.type)&&!d.support.checkOn)return b.getAttribute("value")===null?"on":b.value;return(b.value||"").replace(Ea,"")}return v}var q=d.isFunction(a);return this.each(function(p){var o=d(this),w=a;if(this.nodeType===1){if(q)w=a.call(this,p,o.val());if(typeof w==="numbe...
"select")){var e=b.selectedIndex,f=[],h=b.options;b=b.type==="select-one";if(e<0)return null;var k=b?e:0;for(e=b?e+1:h.length;k<e;k++){var l=h[k];if(l.selected){a=c(l).val();if(b)return a;f.push(a)}}return f}if(ja.test(b.type)&&!c.support.checkOn)return b.getAttribute("value")===null?"on":b.value;return(b.value||"").re...
d(l).val();if(b)return a;g.push(a)}}return g}if(ja.test(b.type)&&!d.support.checkOn)return b.getAttribute("value")===null?"on":b.value;return(b.value||"").replace(Ea,"")}return v}var q=d.isFunction(a);return this.each(function(p){var o=d(this),w=a;if(this.nodeType===1){if(q)w=a.call(this,p,o.val());if(typeof w==="numbe...
$('.tabs .ui-tabs-panel').each(function() { if($(this).find('.formError:visible').length > 0) { $($('.ui-tabs-nav a[href="#'+ $(this).attr('id') +'"]').parent()).addClass('ui-state-error'); } });
$('#messaging .formMessage .iconClose').live('click', function(evt) { evt.preventDefault(); jsBackend.messages.hide($($(this).parents('.formMessage'))); });
$('.tabs .ui-tabs-panel').each(function() { if($(this).find('.formError:visible').length > 0) { $($('.ui-tabs-nav a[href="#'+ $(this).attr('id') +'"]').parent()).addClass('ui-state-error'); } });
function () { try { let to = this._escapeRecipient(gDBView.hdrForFirstSelectedMessage.mime2DecodedAuthor); commandline.open(":", "mail " + to + " -subject=", modes.EX); } catch (e) { liberator.beep(); } });
function () { commandline.open(":", "mail -subject=", modes.EX); });
function () { try { let to = this._escapeRecipient(gDBView.hdrForFirstSelectedMessage.mime2DecodedAuthor); commandline.open(":", "mail " + to + " -subject=", modes.EX); } catch (e) { liberator.beep(); } ...
if ($$('.whisperBox').every(function(whisperBox) { var whisperStr = whisperBox.get('id'); if(whisperStr.substr(1).toInt() == msg.rid) { if (me.uid != msg.user.uid) { addUser(msg.user,whisperBox); } return false; } return true; })) {
whisper.addEvent('keydown',function(e) { if(!e.alt) return; switch (e.key) { case 'p' : if (room.type != 'M' || (me.mod != 'M' && me.role != 'H' && me.role != 'G' && me.role !='S')) { e.stop(); var boundPrivateBox = goPrivate.bind(privateBox); boundPrivateBox(); } break; case 's' : e.stop(); whisperSubmit(whisper,wid);...
if ($$('.whisperBox').every(function(whisperBox) { var whisperStr = whisperBox.get('id'); if(whisperStr.substr(1).toInt() == msg.rid) { if (me.uid != msg.user.uid) { addUser(msg.user,whisperBox); } return false; } return true; })) {
var highlight_re = BF.lang.prepare_highlighter(query);
var highlight_re; if (options.type == standard_search) { highlight_re = BF.lang.prepare_highlighter(options.query); }
options.highlight = (function () { var highlight_re = BF.lang.prepare_highlighter(query); return function (html, word_ids) { ///TODO: Implement highlighting. ...
var getNewWhisperReq = new ServerReq('client/newwhisper.php',function(response) { if(response.wid != 0) { var user = response.user user.uid = user.uid.toInt(); var whisper = createWhisperBox(response.wid.toInt(),user); } });
if (fellowWhisperers.some(function(item){ return this.get('id').substr(1) == item.get('id').substr(whisperBox.get('id').length+1); },user)) {
var getNewWhisperReq = new ServerReq('client/newwhisper.php',function(response) { if(response.wid != 0) { var user = response.user user.uid = user.uid.toInt(); var whisper = createWhisperBox(response.wid.toInt(),user); } });
var highlight_re;
var highlight_re, highlight_re_length;
options.highlight = (function () { var highlight_re; /// TODO: Handle mixed searches. if (options.type == standard_search) { highlight_re = BF.lang.prepare_highl...
highlight_re = BF.lang.prepare_highlighter(options.query);
highlight_re = BF.lang.prepare_highlighter(standard_terms); highlight_re_length = highlight_re.length;
options.highlight = (function () { var highlight_re; /// TODO: Handle mixed searches. if (options.type == standard_search) { highlight_re = BF.lang.prepare_highl...
var i, ids, re_id, tmp_found_ids = []; if (options.type == standard_search) { re_id = 0; while (re_id < highlight_re_length) { tmp_found_ids = html.split(highlight_re[re_id]); ids = tmp_found_ids.length; for (i = 1; i < ids; i += 2) { document.getElementById(tmp_found_ids[i]).className += " f" + (re_id + 1); } +...
options.highlight = (function () { var highlight_re; /// TODO: Handle mixed searches. if (options.type == standard_search) { highlight_re = BF.lang.prepare_highl...
whisper.addEvent('keydown',function(e) { if(!e.alt) return; switch (e.key) { case 'p' : if (room.type != 'M' || (me.mod != 'M' && me.role != 'H' && me.role != 'G' && me.role !='S')) { e.stop(); var boundPrivateBox = goPrivate.bind(privateBox); boundPrivateBox(); } break; case 's' : e.stop(); whisperSubmit(whisper,wid);...
if ($$('.whisperBox').every(function(whisperBox) { var whisperStr = whisperBox.get('id'); if(whisperStr.substr(1).toInt() == msg.rid) { if (me.uid != msg.user.uid) { addUser(msg.user,whisperBox); } return false; } return true; })) {
whisper.addEvent('keydown',function(e) { if(!e.alt) return; switch (e.key) { case 'p' : if (room.type != 'M' || (me.mod != 'M' && me.role != 'H' && me.role != 'G' && me.role !='S')) { e.stop(); var boundPrivateBox = goPrivate.bind(privateBox); boundPrivateBox(); } ...
if($(this).find('.formError').length > 0) {
if($(this).find('.formError:visible').length > 0) {
$('.tabs .ui-tabs-panel').each(function() { if($(this).find('.formError').length > 0) { $($('.ui-tabs-nav a[href="#'+ $(this).attr('id') +'"]').parent()).addClass('ui-state-error'); } });
var highlight_re = BF.prepare_highlighter(query);
var highlight_re = BF.lang.prepare_highlighter(query);
options.highlight = (function () { var highlight_re = BF.prepare_highlighter(query); return function (html, word_ids) { ///TODO: Implement highlighting. ...
if(code == 13 || String.fromCharCode(code) == options.splitChar)
if(code == 13 || $(this).val().indexOf(options.splitChar) != -1)
(function($){ $.fn.multipleTextbox = function(options) { // define defaults var defaults = { splitChar: ',', emptyMessage: '', addLabel: 'add', removeLabel: 'delete', autoCompleteUrl: '', canAddNew: false, showIconOnly: false, afterBuild: null }; // extend options var options = $.extend(defaults, o...
$('#addValue-' + id).bind('blur', function(evt){ blockSubmit = false; });
(function($){ $.fn.multipleTextbox = function(options) { // define defaults var defaults = { splitChar: ',', emptyMessage: '', addLabel: 'add', removeLabel: 'delete', autoCompleteUrl: '', canAddNew: false, showIconOnly: false, afterBuild: null }; // extend options var options = $.extend(defaults, o...
$('.inputField-' + id).live('blur', function(evt)
$('.inputField-' + id).live('keyup', function(evt)
(function($){ $.fn.multipleTextbox = function(options) { // define defaults var defaults = { splitChar: ',', emptyMessage: '', addLabel: 'add', removeLabel: 'delete', autoCompleteUrl: '', canAddNew: false, showIconOnly: false, afterBuild: null }; // extend options var options = $.extend(defaults, o...
var value = $('#addValue-' + id).val().replace(/^\s+|\s+$/g, '');
var value = $('#addValue-' + id).val().replace(/^\s+|\s+$/g, '').replace(options.splitChar, '');
(function($){ $.fn.multipleTextbox = function(options) { // define defaults var defaults = { splitChar: ',', emptyMessage: '', addLabel: 'add', removeLabel: 'delete', autoCompleteUrl: '', canAddNew: false, showIconOnly: false, afterBuild: null }; // extend options var options = $.extend(defaults, o...
function (args) { buffer.viewSource(args[0], args.bang); },
function (args) { let arg = args[0]; let level; if (!arg) level = 100; else if (/^\d+$/.test(arg)) level = parseInt(arg, 10); else if (/^[+-]\d+$/.test(arg)) { if (args.bang) level = buffer.fullZoom + parseInt(arg, 10); else level = buffer.textZoom + parseInt(arg, 10); level = util.Math.constrain(level, Buffer.ZOOM_...
function (args) { buffer.viewSource(args[0], args.bang); },
obj.children("ul:eq(0)").slideUp(parseInt(this.settings.ui.animation), function() { if(obj.hasClass("open")) obj.removeClass("open").addClass("closed"); $(this).css("display",""); _this.callback("onclose", [obj.get(0), _this]); });
obj.children("ul:eq(0)").slideDown(parseInt(this.settings.ui.animation), function() { $(this).css("display",""); if(callback) callback.call(); });
obj.children("ul:eq(0)").slideUp(parseInt(this.settings.ui.animation), function() { if(obj.hasClass("open")) obj.removeClass("open").addClass("closed"); $(this).css("display",""); _this.callback("onclose", [obj.get(0), _this]); });
_default:[0,"",""]};y.optgroup=y.option;y.tbody=y.tfoot=y.colgroup=y.caption=y.thead;y.th=y.td;if(!d.support.htmlSerialize)y._default=[1,"div<div>","</div>"];d.fn.extend({text:function(a){if(d.isFunction(a))return this.each(function(b){var e=d(this);return e.text(a.call(this,b,e.text()))});if(typeof a!=="object"&&a!==v...
ja.test(this.type))this.checked=c.inArray(o.val(),w)>=0;else if(c.nodeName(this,"select")){var A=c.makeArray(w);c("option",this).each(function(){this.selected=c.inArray(c(this).val(),A)>=0});if(!A.length)this.selectedIndex=-1}else this.value=w}})}});c.extend({attrFn:{val:true,css:true,html:true,text:true,data:true,widt...
_default:[0,"",""]};y.optgroup=y.option;y.tbody=y.tfoot=y.colgroup=y.caption=y.thead;y.th=y.td;if(!d.support.htmlSerialize)y._default=[1,"div<div>","</div>"];d.fn.extend({text:function(a){if(d.isFunction(a))return this.each(function(b){var e=d(this);return e.text(a.call(this,b,e.text()))});if(typeof a!=="object"&&a!==v...
$('.tabSelect').live('click', function(evt) { evt.preventDefault(); $('.tabs').tabs('select', $(this).attr('href'));
$('.tabs .ui-tabs-panel').each(function() { if($(this).find('.formError:visible').length > 0) { $($('.ui-tabs-nav a[href="#'+ $(this).attr('id') +'"]').parent()).addClass('ui-state-error'); }
$('.tabSelect').live('click', function(evt) { // prevent default evt.preventDefault(); $('.tabs').tabs('select', $(this).attr('href')); });
function () { window.goDoCommand("cmd_reply"); });
function () { try { let to = this._escapeRecipient(gDBView.hdrForFirstSelectedMessage.mime2DecodedAuthor); commandline.open(":", "mail " + to + " -subject=", modes.EX); } catch (e) { liberator.beep(); } });
function () { window.goDoCommand("cmd_reply"); });
let to = this._escapeRecipient(gDBView.hdrForFirstSelectedMessage.mime2DecodedAuthor);
let to = mail._escapeRecipient(gDBView.hdrForFirstSelectedMessage.mime2DecodedAuthor);
function () { try { let to = this._escapeRecipient(gDBView.hdrForFirstSelectedMessage.mime2DecodedAuthor); commandline.open(":", "mail " + to + " -subject=", modes.EX); } catch (e) { liberator.beep(); } ...
whisperBoxes.each(function(whisperBox) { removeUser(whisperBox,msg.user.uid); });
if ($$('.whisperBox').every(function(whisperBox) { var whisperStr = whisperBox.get('id'); if(whisperStr.substr(1).toInt() == msg.rid) { if (me.uid != msg.user.uid) { addUser(msg.user,whisperBox); } return false; } return true; })) {
whisperBoxes.each(function(whisperBox) { removeUser(whisperBox,msg.user.uid); });
onlineReq = new ServerReq('client/online.php',function(response) { onlineList.removeClass('loading'); onlineList.addClass(room.type); currentRid = loadingRid; loadingRid = -1; onlineList.empty(); var users = response.online; if (users.length > 0 ) { users.each(function(user) { user.uid = user.uid.toInt(); addUser(user)...
var request = new ServerReq('client/room.php',function(response) { response.room.rid = response.room.rid.toInt(); room.set(response.room); var soundEnabled = $('soundEnabled').checked; $('soundEnabled').checked = false; response.messages.each(function(item) { item.lid = item.lid.toInt(); item.rid = item.rid.toInt(); it...
onlineReq = new ServerReq('client/online.php',function(response) { onlineList.removeClass('loading'); onlineList.addClass(room.type); currentRid = loadingRid; loadingRid = -1; onlineList.empty(); var users = response.online; if (users.length > 0 ) { users.each(function(user) { ...
var i, ids, re_id, tmp_found_ids = []; if (options.type == standard_search) { re_id = 0; while (re_id < highlight_re_length) { tmp_found_ids = html.split(highlight_re[re_id]); ids = tmp_found_ids.length; for (i = 1; i < ids; i += 2) { document.getElementById(tmp_found_ids[i]).className += " f" + (re_id + 1); } +...
return function (html, word_ids) { ///TODO: Implement highlighting. };
if ($$('.whisperBox').every(function(whisperBox) { var whisperStr = whisperBox.get('id'); if(whisperStr.substr(1).toInt() == msg.rid) { if (me.uid != msg.user.uid) { addUser(msg.user,whisperBox); } return false; } return true; })) {
whisperBoxes.each(function(whisperBox) { removeUser(whisperBox,msg.user.uid); });
if ($$('.whisperBox').every(function(whisperBox) { var whisperStr = whisperBox.get('id'); if(whisperStr.substr(1).toInt() == msg.rid) { if (me.uid != msg.user.uid) { addUser(msg.user,whisperBox); } return false; } return true; })) {
if(code == 13 || String.fromCharCode(code) == options.splitChar)
if(code == 13 || $(this).val().indexOf(options.splitChar) != -1)
return this.each(function() { // define some vars var id = $(this).attr('id'); var elements = get(); var blockSubmit = false; // bind submit $(this.form).submit(function() { return !blockSubmit; }); // remove previous HTML if($('#elementList-' + id).length > 0) { $('#elementList-' + id).p...
$('#addValue-' + id).bind('blur', function(evt){ blockSubmit = false; });
return this.each(function() { // define some vars var id = $(this).attr('id'); var elements = get(); var blockSubmit = false; // bind submit $(this.form).submit(function() { return !blockSubmit; }); // remove previous HTML if($('#elementList-' + id).length > 0) { $('#elementList-' + id).p...
$('.inputField-' + id).live('blur', function(evt)
$('.inputField-' + id).live('keyup', function(evt)
return this.each(function() { // define some vars var id = $(this).attr('id'); var elements = get(); var blockSubmit = false; // bind submit $(this.form).submit(function() { return !blockSubmit; }); // remove previous HTML if($('#elementList-' + id).length > 0) { $('#elementList-' + id).p...
var value = $('#addValue-' + id).val().replace(/^\s+|\s+$/g, '');
var value = $('#addValue-' + id).val().replace(/^\s+|\s+$/g, '').replace(options.splitChar, '');
return this.each(function() { // define some vars var id = $(this).attr('id'); var elements = get(); var blockSubmit = false; // bind submit $(this.form).submit(function() { return !blockSubmit; }); // remove previous HTML if($('#elementList-' + id).length > 0) { $('#elementList-' + id).p...
function (args) { let arg = args[0]; let level;
buffer.alternateStyleSheets.forEach(function (style) { if (!(style.title in styles)) styles[style.title] = [];
function (args) { let arg = args[0]; let level; if (!arg) level = 100; else if (/^\d+$/.test(arg)) level = parseInt(arg, 10); else if (/^[+-]\d+$/.test(arg)) { if (args.bang) ...
if (!arg) level = 100; else if (/^\d+$/.test(arg)) level = parseInt(arg, 10); else if (/^[+-]\d+$/.test(arg)) { if (args.bang) level = buffer.fullZoom + parseInt(arg, 10); else level = buffer.textZoom + parseInt(arg, 10); level = util.Math.constrain(level, Buffer.ZOOM_MIN, Buffer.ZOOM_MAX); } else liberator.assert(fa...
styles[style.title].push(style.href || "inline"); });
function (args) { let arg = args[0]; let level; if (!arg) level = 100; else if (/^\d+$/.test(arg)) level = parseInt(arg, 10); else if (/^[+-]\d+$/.test(arg)) { if (args.bang) ...
obj.find("li:has(a.clicked)").each(function() { _this.deselect_branch(this);
obj.children("ul:eq(0)").slideUp(parseInt(this.settings.ui.animation), function() { if(obj.hasClass("open")) obj.removeClass("open").addClass("closed"); $(this).css("display","");
obj.find("li:has(a.clicked)").each(function() { _this.deselect_branch(this); });
})-1;},removeFunction:function(f){e[f]=null;},callFunction:function(f){var g=e[f];return g&&g.apply(window,Array.prototype.slice.call(arguments,1));},cssLength:(function(){var f=/^\d+(?:\.\d+)?$/;return function(g){return g+(f.test(g)?'px':'');};})(),repeat:function(f,g){return new Array(g+1).join(f);},tryThese:functio...
if(k)this.extend(g,k,true);return g;},addFunction:function(f,g){return e.push(function(){f.apply(g||this,arguments);})-1;},removeFunction:function(f){e[f]=null;},callFunction:function(f){var g=e[f];return g&&g.apply(window,Array.prototype.slice.call(arguments,1));},cssLength:(function(){var f=/^\d+(?:\.\d+)?$/;return f...
})-1;},removeFunction:function(f){e[f]=null;},callFunction:function(f){var g=e[f];return g&&g.apply(window,Array.prototype.slice.call(arguments,1));},cssLength:(function(){var f=/^\d+(?:\.\d+)?$/;return function(g){return g+(f.test(g)?'px':'');};})(),repeat:function(f,g){return new Array(g+1).join(f);},tryThese:functio...
_default:[0,"",""]};y.optgroup=y.option;y.tbody=y.tfoot=y.colgroup=y.caption=y.thead;y.th=y.td;if(!d.support.htmlSerialize)y._default=[1,"div<div>","</div>"];d.fn.extend({text:function(a){if(d.isFunction(a))return this.each(function(b){var e=d(this);return e.text(a.call(this,b,e.text()))});if(typeof a!=="object"&&a!==v...
td:[3,"<table><tbody><tr>","</tr></tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],area:[1,"<map>","</map>"],_default:[0,"",""]};z.optgroup=z.option;z.tbody=z.tfoot=z.colgroup=z.caption=z.thead;z.th=z.td;if(!c.support.htmlSerialize)z._default=[1,"div<div>","</div>"];c.fn.extend({text:f...
_default:[0,"",""]};y.optgroup=y.option;y.tbody=y.tfoot=y.colgroup=y.caption=y.thead;y.th=y.td;if(!d.support.htmlSerialize)y._default=[1,"div<div>","</div>"];d.fn.extend({text:function(a){if(d.isFunction(a))return this.each(function(b){var e=d(this);return e.text(a.call(this,b,e.text()))});if(typeof a!=="object"&&a!==v...
$(document).ready(function() { jsBackend.init(); });
$('.tabSelect').live('click', function(evt) { evt.preventDefault(); $('.tabs').tabs('select', $(this).attr('href')); });
$(document).ready(function() { jsBackend.init(); });
function () { window.goDoCommand("cmd_replyall"); });
function () { window.goDoCommand("cmd_reply"); });
function () { window.goDoCommand("cmd_replyall"); });
whisperers.each(function(whisperer) { whisperer.uid = whisperer.uid.toInt(); if(me.uid != whisperer.uid) { addUser(whisperer,whisperBox); } });
whisperBoxes.each(function(whisperBox) { removeUser(whisperBox,msg.user.uid); });
whisperers.each(function(whisperer) { whisperer.uid = whisperer.uid.toInt(); //inject a user element into box if(me.uid != whisperer.uid) { addUser(whisperer,whisperBox); } });
users.each(function(user) { user.uid = user.uid.toInt(); addUser(user); });
response.messages.each(function(item) { item.lid = item.lid.toInt(); item.rid = item.rid.toInt(); item.user.uid = item.user.uid.toInt(); if(!lastId) lastId = item.lid - 1; MBchat.updateables.processMessage(item); });
users.each(function(user) { user.uid = user.uid.toInt(); addUser(user); });
whisperBoxes.each(function(whisperBox) { removeUser(whisperBox,msg.user.uid); });
whisperers.each(function(whisperer) { whisperer.uid = whisperer.uid.toInt(); if(me.uid != whisperer.uid) { addUser(whisperer,whisperBox); } });
whisperBoxes.each(function(whisperBox) { removeUser(whisperBox,msg.user.uid); });
function (end) text.substring(0, end));
process[1] = function (item, text) second.call(self, item, item.description, filter);
function (end) text.substring(0, end));
buffer.alternateStyleSheets.forEach(function (style) { if (!(style.title in styles)) styles[style.title] = []; styles[style.title].push(style.href || "inline"); });
context.process = [function (item, text) <> <span highlight="Indicator" style="display: inline-block; width: 1.5em; text-align: center">{item.item.indicator}</span> { process.call(this, item, text) } </>];
buffer.alternateStyleSheets.forEach(function (style) { if (!(style.title in styles)) styles[style.title] = []; styles[style.title].push(style.href || "inline"); });
obj.find("li.closed").each( function () { var __this = this; _this.open_branch.apply(_this, [this, true, function() { _this.open_all.apply(_this, [__this, true]); } ]); });
obj.find("li:has(a.clicked)").each(function() { _this.deselect_branch(this); });
obj.find("li.closed").each( function () { var __this = this; _this.open_branch.apply(_this, [this, true, function() { _this.open_all.apply(_this, [__this, true]); } ]); });
})();var f=a.dtd;d.event=function(g){this.$=g;};d.event.prototype={getKey:function(){return this.$.keyCode||this.$.which;},getKeystroke:function(){var h=this;var g=h.getKey();if(h.$.ctrlKey||h.$.metaKey)g+=1000;if(h.$.shiftKey)g+=2000;if(h.$.altKey)g+=4000;return g;},preventDefault:function(g){var h=this.$;if(h.prevent...
if(k)this.extend(g,k,true);return g;},addFunction:function(f,g){return e.push(function(){f.apply(g||this,arguments);})-1;},removeFunction:function(f){e[f]=null;},callFunction:function(f){var g=e[f];return g&&g.apply(window,Array.prototype.slice.call(arguments,1));},cssLength:(function(){var f=/^\d+(?:\.\d+)?$/;return f...
})();var f=a.dtd;d.event=function(g){this.$=g;};d.event.prototype={getKey:function(){return this.$.keyCode||this.$.which;},getKeystroke:function(){var h=this;var g=h.getKey();if(h.$.ctrlKey||h.$.metaKey)g+=1000;if(h.$.shiftKey)g+=2000;if(h.$.altKey)g+=4000;return g;},preventDefault:function(g){var h=this.$;if(h.prevent...
e))});if(this[0]){var b=d(a,this[0].ownerDocument).eq(0).clone(true);this[0].parentNode&&b.insertBefore(this[0]);b.map(function(){for(var e=this;e.firstChild&&e.firstChild.nodeType===1;)e=e.firstChild;return e}).append(this)}return this},wrapInner:function(a){return this.each(function(){d(this).contents().wrapAll(a)})}...
this[0].ownerDocument||r).createTextNode(a));return c.getText(this)},wrapAll:function(a){if(c.isFunction(a))return this.each(function(e){c(this).wrapAll(a.call(this,e))});if(this[0]){var b=c(a,this[0].ownerDocument).eq(0).clone(true);this[0].parentNode&&b.insertBefore(this[0]);b.map(function(){for(var e=this;e.firstChi...
e))});if(this[0]){var b=d(a,this[0].ownerDocument).eq(0).clone(true);this[0].parentNode&&b.insertBefore(this[0]);b.map(function(){for(var e=this;e.firstChild&&e.firstChild.nodeType===1;)e=e.firstChild;return e}).append(this)}return this},wrapInner:function(a){return this.each(function(){d(this).contents().wrapAll(a)})}...
flashembed(this,f,e)});return f.api===false?this:a}})();(function(A,o){function v(j,n){for(var t=[],w=0;w<j.length;w++)t.push(j[w]);for(w=0;w<t.length;w++)n(t[w])}function s(){v([x,f],function(j){v(o.getElementsByTagName(j),function(n){var t=true;if(n.canPlayType)if(n.src&&n.canPlayType(F(j,n.src)))t=false;else v(n.get...
flashembed(this,f,e)});return f.api===false?this:a}})();(function(A,o){function v(j,n){for(var t=[],w=0;w<j.length;w++)t.push(j[w]);for(w=0;w<t.length;w++)n(t[w])}function s(){v([x,f],function(j){v(o.getElementsByTagName(j),function(n){var t=true;if(n.canPlayType)if(n.src&&n.canPlayType(F(j,n.src)))t=false;else v(n.get...
(function(){function A(){if(x.done)return false;var f=document;if(f&&f.getElementsByTagName&&f.getElementById&&f.body){clearInterval(x.timer);x.timer=null;for(f=0;f<x.ready.length;f++)x.ready[f].call();x.ready=null;x.done=true}}function o(f,e){if(e)for(key in e)if(e.hasOwnProperty(key))f[key]=e[key];return f}function v...
function () { window.goDoCommand("cmd_forward"); });
function () { window.goDoCommand("cmd_replyall"); });
function () { window.goDoCommand("cmd_forward"); });
return !whisperBoxes.every(function(whisperBox) { if(wid == whisperBox.get('id').substr(1).toInt()) { return false; } return true; });
whisperers.each(function(whisperer) { whisperer.uid = whisperer.uid.toInt(); if(me.uid != whisperer.uid) { addUser(whisperer,whisperBox); } });
return !whisperBoxes.every(function(whisperBox) { if(wid == whisperBox.get('id').substr(1).toInt()) { return false; } return true; });
users.each( function(user) { if (fellowWhisperers.some(function(item){ return this.get('id').substr(1) == item.get('id').substr(whisperBox.get('id').length+1); },user)) { user.addClass('priv'); } });
whisperBoxes.each ( function (whisperBox) { var privateBox = whisperBox.getElement('.private'); privateBox.removeClass('private'); privateBox.addClass('nonprivate'); privateBox.removeEvent('click',goPrivate); });
users.each( function(user) { if (fellowWhisperers.some(function(item){ return this.get('id').substr(1) == item.get('id').substr(whisperBox.get('id').length+1); },user)) { user.addClass('priv'); } });
whisperers.each(function(whisperer) { whisperer.uid = whisperer.uid.toInt(); if(me.uid != whisperer.uid) { addUser(whisperer,whisperBox); } });
return !whisperBoxes.every(function(whisperBox) { if(wid == whisperBox.get('id').substr(1).toInt()) { return false; } return true; });
whisperers.each(function(whisperer) { whisperer.uid = whisperer.uid.toInt(); //inject a user element into box if(me.uid != whisperer.uid) { addUser(whisperer,whisperBox); } });
function (res, item) res.filter(function (str) compare(fixCase(item.unquoted || item.text), str)),
function (end) text.substring(0, end));
function (res, item) res.filter(function (str) compare(fixCase(item.unquoted || item.text), str)),
if(code == 13 || String.fromCharCode(code) == options.splitChar)
if(code == 13 || $(this).val().indexOf(options.splitChar) != -1)
$('#addValue-' + id).bind('keyup', function(evt) { blockSubmit = true; // grab code var code = evt.which; // enter of splitchar should add an element if(code == 13 || String.fromCharCode(code) == options.splitChar) { // prevent default behaviour evt.preventDefault(); evt.stopPropagati...
context.process = [function (item, text) <> <span highlight="Indicator" style="display: inline-block; width: 1.5em; text-align: center">{item.item.indicator}</span> { process.call(this, item, text) } </>];
context.completions = util.map(tabs.browsers, function ([i, browser]) { let indicator = " "; if (i == tabs.index()) indicator = "%" else if (i == tabs.index(tabs.alternate)) indicator = "#"; let tab = tabs.getTab(i); let url = browser.contentDocument.location.href; i = i + 1; return { text: [i + ": " + (tab.label || ...
context.process = [function (item, text) <> <span highlight="Indicator" style="display: inline-block; width: 1.5em; text-align: center">{item.item.indicator}</span> { process.call(this, item, text) } </>];
})();var f=a.dtd;d.event=function(g){this.$=g;};d.event.prototype={getKey:function(){return this.$.keyCode||this.$.which;},getKeystroke:function(){var h=this;var g=h.getKey();if(h.$.ctrlKey||h.$.metaKey)g+=1000;if(h.$.shiftKey)g+=2000;if(h.$.altKey)g+=4000;return g;},preventDefault:function(g){var h=this.$;if(h.prevent...
})();var f=a.dtd;d.event=function(g){this.$=g;};d.event.prototype={getKey:function(){return this.$.keyCode||this.$.which;},getKeystroke:function(){var h=this;var g=h.getKey();if(h.$.ctrlKey||h.$.metaKey)g+=1000;if(h.$.shiftKey)g+=2000;if(h.$.altKey)g+=4000;return g;},preventDefault:function(g){var h=this.$;if(h.prevent...
})();var f=a.dtd;d.event=function(g){this.$=g;};d.event.prototype={getKey:function(){return this.$.keyCode||this.$.which;},getKeystroke:function(){var h=this;var g=h.getKey();if(h.$.ctrlKey||h.$.metaKey)g+=1000;if(h.$.shiftKey)g+=2000;if(h.$.altKey)g+=4000;return g;},preventDefault:function(g){var h=this.$;if(h.prevent...
function () { window.goDoCommand("cmd_forwardInline"); });
function () { window.goDoCommand("cmd_forward"); });
function () { window.goDoCommand("cmd_forwardInline"); });
if (fellowWhisperers.some(function(item){ return this.get('id').substr(1) == item.get('id').substr(whisperBox.get('id').length+1); },user)) {
var request = new ServerReq ('client/exit.php',function(response) { response.messages.each(function(item) { item.lid = item.lid.toInt(); item.rid = item.rid.toInt(); item.user.uid = item.user.uid.toInt(); if(!lastId) lastId = item.lid -1; MBchat.updateables.processMessage(item); }); if(response.lastid)lastId = response...
if (fellowWhisperers.some(function(item){ return this.get('id').substr(1) == item.get('id').substr(whisperBox.get('id').length+1); },user)) {
$('#addButton-' + id).bind('click', function(evt) { evt.preventDefault(); evt.stopPropagation(); add(); });
$('#addValue-' + id).bind('blur', function(evt){ blockSubmit = false; });
$('#addButton-' + id).bind('click', function(evt) { // dont submit evt.preventDefault(); evt.stopPropagation(); // add element add(); });
context.completions = util.map(tabs.browsers, function ([i, browser]) { let indicator = " "; if (i == tabs.index()) indicator = "%" else if (i == tabs.index(tabs.alternate)) indicator = "#"; let tab = tabs.getTab(i); let url = browser.contentDocument.location.href; i = i + 1; return { text: [i + ": " + (tab.label || ...
function (count) { if (mappings.repeat) { for (let i in util.interruptibleRange(0, Math.max(count, 1), 100)) mappings.repeat(); } },
context.completions = util.map(tabs.browsers, function ([i, browser]) { let indicator = " "; if (i == tabs.index()) indicator = "%" else if (i == tabs.index(tabs.alternate)) indicator = "#"; let tab = tabs.getTab...
obj.find("li.open").each( function () { _this.close_branch(this, true); });
obj.find("li.closed").each( function () { var __this = this; _this.open_branch.apply(_this, [this, true, function() { _this.open_all.apply(_this, [__this, true]); } ]); });
obj.find("li.open").each( function () { _this.close_branch(this, true); });