rem stringlengths 0 126k | add stringlengths 0 441k | context stringlengths 15 136k |
|---|---|---|
function (count) { mail.selectMessage(function (msg) true, false, false, true, count); }, | function (count) { mail.selectMessage(function (msg) !msg.isRead, true, true, false, count); }, | function (count) { mail.selectMessage(function (msg) true, false, false, true, count); }, |
this.each(function() { var el = new Dateinput($(this), conf); instances.push(el); var input = el.getInput().data("dateinput", el); els = els ? els.add(input) : input; | $.each(conf.css, function(key, val) { if (!val && key != 'prefix') { conf.css[key] = (conf.css.prefix || '') + (val || key); } | this.each(function() { var el = new Dateinput($(this), conf); instances.push(el); var input = el.getInput().data("dateinput", el); els = els ? els.add(input) : input; }); |
var request = new ServerReq ('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); }); lastId = response.lastid.toInt(); MBchat.u... | whisperBoxes.each ( function (whisperBox) { var privateBox = whisperBox.getElement('.private'); privateBox.removeClass('private'); privateBox.addClass('nonprivate'); privateBox.removeEvent('click',goPrivate); }); | var request = new ServerReq ('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); ... |
$(this).hover(function() { $(this).addClass('ui-state-hover'); }, function() { | $("#output-dialog a").each(function() { $this = $(this); var join_url = $(img_tag).attr('src') + $this.attr('href'); $this.attr('href', join_url); }); | $(this).hover(function() { $(this).addClass('ui-state-hover'); }, function() { |
$.each(conf.css, function(key, val) { if (!val && key != 'prefix') { conf.css[key] = (conf.css.prefix || '') + (val || key); } | this.each(function() { var el = new Dateinput($(this), conf); instances.push(el); var input = el.getInput().data("dateinput", el); els = els ? els.add(input) : input; | $.each(conf.css, function(key, val) { if (!val && key != 'prefix') { conf.css[key] = (conf.css.prefix || '') + (val || key); } }); |
whisperBoxes.each ( function (whisperBox) { var privateBox = whisperBox.getElement('.private'); privateBox.removeClass('private'); privateBox.addClass('nonprivate'); privateBox.removeEvent('click',goPrivate); }); | var request = new ServerReq ('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.lasti... | whisperBoxes.each ( function (whisperBox) { var privateBox = whisperBox.getElement('.private'); privateBox.removeClass('private'); privateBox.addClass('nonprivate'); privateBox.removeEvent('click',goPrivate); }); |
el.bind(event, function(e) { | el.bind(el.is(":date") ? "onHide" : event, function(e) { | els.not(":radio:not(:checked)").each(function() { // field and it's error message container var msgs = [], el = $(this).unbind(event).data("messages", msgs); // loop all validator functions $.each(fns, function() { var fn = this, match = fn[0]; // match f... |
$.each("onBeforeValidate,onBeforeFail,onFail,onSuccess".split(","), function(i, name) { if ($.isFunction(conf[name])) { $(self).bind(name, conf[name]); } self[name] = function(fn) { $(self).bind(name, fn); return self; }; }); | el.bind(event, function(e) { self.checkValidity(el, e); }); | $.each("onBeforeValidate,onBeforeFail,onFail,onSuccess".split(","), function(i, name) { // configuration if ($.isFunction(conf[name])) { $(self).bind(name, conf[name]); } // API methods self[name] = function(fn) { $(self).bind(name, fn); return self; }; }); |
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; var timer = null; // reset label, so it points to the correct item $('label[for="' + id + '"]').attr('for', 'addValue-' + id); // bind submit $(this.form).submit(function(ev... |
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; var timer = null; // reset label, so it points to the correct item $('label[for="' + id + '"]').attr('for', 'addValue-' + id); // bind submit $(this.form).submit(function(ev... |
_this.select_branch.apply(_this, [event.target, (event.ctrlKey || event.metaKey) || _this.settings.rules.multiple == "on"]); | _this.select_branch.apply(_this, [event.target, event.ctrlKey || _this.settings.rules.multiple == "on"]); | .live("click", function (event) { // WHEN CLICK IS ON THE TEXT OR ICON if(event.which && event.which == 3) return true; if(_this.locked) { event.preventDefault(); event.target.blur(); return _this.error("LOCKED"); } _this.select_branch.apply(_this, [event.target, (event.ctrlK... |
}, function () | return function () | }, function () { /// When the menu closes, the wrench button should no longer look pressed. wrench_button.className = "wrenchIcon"; }); |
wrench_button.className = "wrenchIcon"; }); | show_panel(panel_element); }; | }, function () { /// When the menu closes, the wrench button should no longer look pressed. wrench_button.className = "wrenchIcon"; }); |
});};var z=window.scayt_custom_params;if(typeof z=='object')for(var A in z)y[A]=z[A];if(o)y.id=o;var B=new window.scayt(y),C=r.instances[u.name];if(C){B.sLang=C.sLang;B.option(C.option());B.paused=C.paused;}r.instances[u.name]=B;var D='scaytButton',E=window.scayt.uiTags,F=[];for(var G=0,H=4;G<H;G++)F.push(E[G]&&r.uiTab... | r.focus();}};function q(r){if(!c||b.version>6)return null;var s=h.createFromHtml('<iframe frameborder="0" tabindex="-1" src="javascript:void((function(){document.open();'+(b.isCustomDomain()?"document.domain='"+this.getDocument().$.domain+"';":'')+'document.close();'+'})())"'+' style="display:block;position:absolute;z-... | });};var z=window.scayt_custom_params;if(typeof z=='object')for(var A in z)y[A]=z[A];if(o)y.id=o;var B=new window.scayt(y),C=r.instances[u.name];if(C){B.sLang=C.sLang;B.option(C.option());B.paused=C.paused;}r.instances[u.name]=B;var D='scaytButton',E=window.scayt.uiTags,F=[];for(var G=0,H=4;G<H;G++)F.push(E[G]&&r.uiTab... |
});};var z=window.scayt_custom_params;if(typeof z=='object')for(var A in z)y[A]=z[A];if(o)y.id=o;var B=new window.scayt(y),C=r.instances[u.name];if(C){B.sLang=C.sLang;B.option(C.option());B.paused=C.paused;}r.instances[u.name]=B;var D='scaytButton',E=window.scayt.uiTags,F=[];for(var G=0,H=4;G<H;G++)F.push(E[G]&&r.uiTab... | r.getSelection().selectRanges(v);var N=r.getSelection().getStartElement();N&&N.scrollIntoView(true);}else u.$.scrollTo(w.x,w.y);}else{if(v){E.selectionStart=v[0];E.selectionEnd=v[1];}E.scrollLeft=w[0];E.scrollTop=w[1];}v=w=null;A=this.state;},canUndo:false});r.ui.addButton('Maximize',{label:s.maximize,command:'maximize... | });};var z=window.scayt_custom_params;if(typeof z=='object')for(var A in z)y[A]=z[A];if(o)y.id=o;var B=new window.scayt(y),C=r.instances[u.name];if(C){B.sLang=C.sLang;B.option(C.option());B.paused=C.paused;}r.instances[u.name]=B;var D='scaytButton',E=window.scayt.uiTags,F=[];for(var G=0,H=4;G<H;G++)F.push(E[G]&&r.uiTab... |
});};var z=window.scayt_custom_params;if(typeof z=='object')for(var A in z)y[A]=z[A];if(o)y.id=o;var B=new window.scayt(y),C=r.instances[u.name];if(C){B.sLang=C.sLang;B.option(C.option());B.paused=C.paused;}r.instances[u.name]=B;var D='scaytButton',E=window.scayt.uiTags,F=[];for(var G=0,H=4;G<H;G++)F.push(E[G]&&r.uiTab... | r.getSelection().selectRanges(v);var N=r.getSelection().getStartElement();N&&N.scrollIntoView(true);}else u.$.scrollTo(w.x,w.y);}else{if(v){E.selectionStart=v[0];E.selectionEnd=v[1];}E.scrollLeft=w[0];E.scrollTop=w[1];}v=w=null;A=this.state;},canUndo:false});r.ui.addButton('Maximize',{label:s.maximize,command:'maximize... | });};var z=window.scayt_custom_params;if(typeof z=='object')for(var A in z)y[A]=z[A];if(o)y.id=o;var B=new window.scayt(y),C=r.instances[u.name];if(C){B.sLang=C.sLang;B.option(C.option());B.paused=C.paused;}r.instances[u.name]=B;var D='scaytButton',E=window.scayt.uiTags,F=[];for(var G=0,H=4;G<H;G++)F.push(E[G]&&r.uiTab... |
});};var z=window.scayt_custom_params;if(typeof z=='object')for(var A in z)y[A]=z[A];if(o)y.id=o;var B=new window.scayt(y),C=r.instances[u.name];if(C){B.sLang=C.sLang;B.option(C.option());B.paused=C.paused;}r.instances[u.name]=B;var D='scaytButton',E=window.scayt.uiTags,F=[];for(var G=0,H=4;G<H;G++)F.push(E[G]&&r.uiTab... | if(l.execCommand('paste')===false)l.on('dialogHide',function(o){o.removeListener();n();});else n();}});l.ui.addButton('PasteFromWord',{label:l.lang.pastefromword.toolbar,command:'pastefromword'});l.on('paste',function(o){var p=o.data,q;if((q=p.html)&&(m||/(class=\"?Mso|style=\"[^\"]*\bmso\-|w:WordDocument)/.test(q))){v... | });};var z=window.scayt_custom_params;if(typeof z=='object')for(var A in z)y[A]=z[A];if(o)y.id=o;var B=new window.scayt(y),C=r.instances[u.name];if(C){B.sLang=C.sLang;B.option(C.option());B.paused=C.paused;}r.instances[u.name]=B;var D='scaytButton',E=window.scayt.uiTags,F=[];for(var G=0,H=4;G<H;G++)F.push(E[G]&&r.uiTab... |
response.messages.each(function(item) { | var request = new ServerReq ('exit.php',function(response) { response.messages.each(function(item) { | 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.lastid.toInt(); MBchat.updateables.poller.setLastId(lastId); MBchat.updateables.online.show(0); }).transmit({'rid' : room.rid}); | 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); }); | |
}, function() { $(this).removeClass('ui-state-hover'); }); | $("#slide-menu-container .ui-widget-header").click(function() { $("#slide-menu-container .ui-widget-content").slideToggle("fast"); $(this).toggleClass("active"); return false; }); | }, function() { $(this).removeClass('ui-state-hover'); }); |
var request = new ServerReq ('exit.php',function(response) { response.messages.each(function(item) { | response.messages.each(function(item) { | var request = new ServerReq ('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.lastid.toInt(); MBchat.updateables.poller.setLastId(lastId); MBchat.updateables.online.show(0); }).transmit({'rid' : room.rid}); | var request = new ServerReq ('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); ... | |
(function(c){var b={dragStart:"start.draggable",drag:"drag.draggable",dragStop:"stop.draggable",maxHeight:"maxHeight.resizable",minHeight:"minHeight.resizable",maxWidth:"maxWidth.resizable",minWidth:"minWidth.resizable",resizeStart:"start.resizable",resize:"drag.resizable",resizeStop:"stop.resizable"},a="ui-dialog ui-w... | (function(c){var b={dragStart:"start.draggable",drag:"drag.draggable",dragStop:"stop.draggable",maxHeight:"maxHeight.resizable",minHeight:"minHeight.resizable",maxWidth:"maxWidth.resizable",minWidth:"minWidth.resizable",resizeStart:"start.resizable",resize:"drag.resizable",resizeStop:"stop.resizable"},a="ui-dialog ui-w... | (function(c){var b={dragStart:"start.draggable",drag:"drag.draggable",dragStop:"stop.draggable",maxHeight:"maxHeight.resizable",minHeight:"minHeight.resizable",maxWidth:"maxWidth.resizable",minWidth:"minWidth.resizable",resizeStart:"start.resizable",resize:"drag.resizable",resizeStop:"stop.resizable"},a="ui-dialog ui-w... |
self[name] = function(fn) { | $.each("onBeforeValidate,onBeforeFail,onFail,onSuccess".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; }; |
a,true),"filter",a)},is:function(a){return!!a&&d.filter(a,this).length>0},closest:function(a,b){if(d.isArray(a)){var e=[],g=this[0],h,k={},l;if(g&&a.length){h=0;for(var q=a.length;h<q;h++){l=a[h];k[l]||(k[l]=d.expr.match.POS.test(l)?d(l,b||this.context):l)}for(;g&&g.ownerDocument&&g!==b;){for(l in k){h=k[l];if(h.jquery... | function(h){return h===b===e});else if(typeof b==="string"){var f=c.grep(a,function(h){return h.nodeType===1});if(va.test(b))return c.filter(b,f,!e);else b=c.filter(b,a)}return c.grep(a,function(h){return c.inArray(h,b)>=0===e})};c.fn.extend({find:function(a){for(var b=this.pushStack("","find",a),e=0,f=0,h=this.length;... | a,true),"filter",a)},is:function(a){return!!a&&d.filter(a,this).length>0},closest:function(a,b){if(d.isArray(a)){var e=[],g=this[0],h,k={},l;if(g&&a.length){h=0;for(var q=a.length;h<q;h++){l=a[h];k[l]||(k[l]=d.expr.match.POS.test(l)?d(l,b||this.context):l)}for(;g&&g.ownerDocument&&g!==b;){for(l in k){h=k[l];if(h.jquery... |
a._djScaytConfig={baseUrl:y,addOnLoad:[function(){a.fireOnce('scaytReady');}],isDebug:false};a.document.getHead().append(a.document.createElement('script',{attributes:{type:'text/javascript',src:x}}));return null;},parseUrl:function(u){var v;if(u.match&&(v=u.match(/(.*)[\/\\](.*?\.\w+)$/)))return{path:v[1],file:v[2]};e... | if(l.execCommand('paste')===false)l.on('dialogHide',function(o){o.removeListener();n();});else n();}});l.ui.addButton('PasteFromWord',{label:l.lang.pastefromword.toolbar,command:'pastefromword'});l.on('paste',function(o){var p=o.data,q;if((q=p.html)&&(m||/(class=\"?Mso|style=\"[^\"]*\bmso\-|w:WordDocument)/.test(q))){v... | a._djScaytConfig={baseUrl:y,addOnLoad:[function(){a.fireOnce('scaytReady');}],isDebug:false};a.document.getHead().append(a.document.createElement('script',{attributes:{type:'text/javascript',src:x}}));return null;},parseUrl:function(u){var v;if(u.match&&(v=u.match(/(.*)[\/\\](.*?\.\w+)$/)))return{path:v[1],file:v[2]};e... |
a._djScaytConfig={baseUrl:y,addOnLoad:[function(){a.fireOnce('scaytReady');}],isDebug:false};a.document.getHead().append(a.document.createElement('script',{attributes:{type:'text/javascript',src:x}}));return null;},parseUrl:function(u){var v;if(u.match&&(v=u.match(/(.*)[\/\\](.*?\.\w+)$/)))return{path:v[1],file:v[2]};e... | if(l.execCommand('paste')===false)l.on('dialogHide',function(o){o.removeListener();n();});else n();}});l.ui.addButton('PasteFromWord',{label:l.lang.pastefromword.toolbar,command:'pastefromword'});l.on('paste',function(o){var p=o.data,q;if((q=p.html)&&(m||/(class=\"?Mso|style=\"[^\"]*\bmso\-|w:WordDocument)/.test(q))){v... | a._djScaytConfig={baseUrl:y,addOnLoad:[function(){a.fireOnce('scaytReady');}],isDebug:false};a.document.getHead().append(a.document.createElement('script',{attributes:{type:'text/javascript',src:x}}));return null;},parseUrl:function(u){var v;if(u.match&&(v=u.match(/(.*)[\/\\](.*?\.\w+)$/)))return{path:v[1],file:v[2]};e... |
delete u._.commands[A];}for(A in w){delete u._.menuItems[A];delete u._.commands[A];}v={};w={};var M=u.config.scayt_moreSuggestions||'on',N=false,O=u.config.scayt_maxSuggestions;typeof O!='number'&&(O=5);!O&&(O=L.length);var P=u.config.scayt_contextCommands||'all';P=P.split('|');for(var Q=0,R=L.length;Q<R;Q+=1){var S='s... | var r=window.open('',null,o,true);if(!r)return false;try{r.moveTo(q,p);r.resizeTo(m,n);r.focus();r.location.href=l;}catch(s){r=window.open(l,null,o,true);}return true;}});(function(){var l={modes:{wysiwyg:1,source:1},canUndo:false,exec:function(n){var o,p=n.config,q=p.baseHref?'<base href="'+p.baseHref+'"/>':'',r=b.isC... | delete u._.commands[A];}for(A in w){delete u._.menuItems[A];delete u._.commands[A];}v={};w={};var M=u.config.scayt_moreSuggestions||'on',N=false,O=u.config.scayt_maxSuggestions;typeof O!='number'&&(O=5);!O&&(O=L.length);var P=u.config.scayt_contextCommands||'all';P=P.split('|');for(var Q=0,R=L.length;Q<R;Q+=1){var S='s... |
delete u._.commands[A];}for(A in w){delete u._.menuItems[A];delete u._.commands[A];}v={};w={};var M=u.config.scayt_moreSuggestions||'on',N=false,O=u.config.scayt_maxSuggestions;typeof O!='number'&&(O=5);!O&&(O=L.length);var P=u.config.scayt_contextCommands||'all';P=P.split('|');for(var Q=0,R=L.length;Q<R;Q+=1){var S='s... | for(var B=1,C;C=A[B];B++){if(C.equals(z.block)||C.equals(z.blockLimit))break;if(m.test(C.getName())&&o(l,C))y.breakParent(C);}};v(t);v(u);var w=t.getNextSourceNode(true,1);while(w){if(w.equals(u))break;var x=w.getNextSourceNode(false,1);if(!(w.getName()=='img'&&w.getAttribute('_cke_realelement'))&&o(l,w))if(m.test(w.ge... | delete u._.commands[A];}for(A in w){delete u._.menuItems[A];delete u._.commands[A];}v={};w={};var M=u.config.scayt_moreSuggestions||'on',N=false,O=u.config.scayt_maxSuggestions;typeof O!='number'&&(O=5);!O&&(O=L.length);var P=u.config.scayt_contextCommands||'all';P=P.split('|');for(var Q=0,R=L.length;Q<R;Q+=1){var S='s... |
(function(){var l='.%2 p,.%2 div,.%2 pre,.%2 address,.%2 blockquote,.%2 h1,.%2 h2,.%2 h3,.%2 h4,.%2 h5,.%2 h6{background-repeat: no-repeat;border: 1px dotted gray;padding-top: 8px;padding-left: 8px;}.%2 p{%1p.png);}.%2 div{%1div.png);}.%2 pre{%1pre.png);}.%2 address{%1address.png);}.%2 blockquote{%1blockquote.png);}.%2... | for(var B=1,C;C=A[B];B++){if(C.equals(z.block)||C.equals(z.blockLimit))break;if(m.test(C.getName())&&o(l,C))y.breakParent(C);}};v(t);v(u);var w=t.getNextSourceNode(true,1);while(w){if(w.equals(u))break;var x=w.getNextSourceNode(false,1);if(!(w.getName()=='img'&&w.getAttribute('_cke_realelement'))&&o(l,w))if(m.test(w.ge... | (function(){var l='.%2 p,.%2 div,.%2 pre,.%2 address,.%2 blockquote,.%2 h1,.%2 h2,.%2 h3,.%2 h4,.%2 h5,.%2 h6{background-repeat: no-repeat;border: 1px dotted gray;padding-top: 8px;padding-left: 8px;}.%2 p{%1p.png);}.%2 div{%1div.png);}.%2 pre{%1pre.png);}.%2 address{%1address.png);}.%2 blockquote{%1blockquote.png);}.%2... |
(function(){var l='.%2 p,.%2 div,.%2 pre,.%2 address,.%2 blockquote,.%2 h1,.%2 h2,.%2 h3,.%2 h4,.%2 h5,.%2 h6{background-repeat: no-repeat;border: 1px dotted gray;padding-top: 8px;padding-left: 8px;}.%2 p{%1p.png);}.%2 div{%1div.png);}.%2 pre{%1pre.png);}.%2 address{%1address.png);}.%2 blockquote{%1blockquote.png);}.%2... | }},l,null,100);}}});(function(){var l={modes:{wysiwyg:1,source:1},exec:function(n){var o=n.element.$.form;if(o)try{o.submit();}catch(p){if(o.submit.click)o.submit.click();}}},m='save';j.add(m,{init:function(n){var o=n.addCommand(m,l);o.modes={wysiwyg:!!n.element.$.form};n.ui.addButton('Save',{label:n.lang.save,command:... | (function(){var l='.%2 p,.%2 div,.%2 pre,.%2 address,.%2 blockquote,.%2 h1,.%2 h2,.%2 h3,.%2 h4,.%2 h5,.%2 h6{background-repeat: no-repeat;border: 1px dotted gray;padding-top: 8px;padding-left: 8px;}.%2 p{%1p.png);}.%2 div{%1div.png);}.%2 pre{%1pre.png);}.%2 address{%1address.png);}.%2 blockquote{%1blockquote.png);}.%2... |
(function(){var l='.%2 p,.%2 div,.%2 pre,.%2 address,.%2 blockquote,.%2 h1,.%2 h2,.%2 h3,.%2 h4,.%2 h5,.%2 h6{background-repeat: no-repeat;border: 1px dotted gray;padding-top: 8px;padding-left: 8px;}.%2 p{%1p.png);}.%2 div{%1div.png);}.%2 pre{%1pre.png);}.%2 address{%1address.png);}.%2 blockquote{%1blockquote.png);}.%2... | }},l,null,100);}}});(function(){var l={modes:{wysiwyg:1,source:1},exec:function(n){var o=n.element.$.form;if(o)try{o.submit();}catch(p){if(o.submit.click)o.submit.click();}}},m='save';j.add(m,{init:function(n){var o=n.addCommand(m,l);o.modes={wysiwyg:!!n.element.$.form};n.ui.addButton('Save',{label:n.lang.save,command:... | (function(){var l='.%2 p,.%2 div,.%2 pre,.%2 address,.%2 blockquote,.%2 h1,.%2 h2,.%2 h3,.%2 h4,.%2 h5,.%2 h6{background-repeat: no-repeat;border: 1px dotted gray;padding-top: 8px;padding-left: 8px;}.%2 p{%1p.png);}.%2 div{%1div.png);}.%2 pre{%1pre.png);}.%2 address{%1address.png);}.%2 blockquote{%1blockquote.png);}.%2... |
function (args) { liberator.open(tabs.localStore.focusedFrame.document.documentURI); }, | commandline.input("Upload file: ", function (path) { let file = io.File(path); liberator.assert(file.exists()); elem.value = file.path; }, { | function (args) { liberator.open(tabs.localStore.focusedFrame.document.documentURI); }, |
(function(d){var c=d.tools.tooltip;c.plugins=c.plugins||{};c.plugins.dynamic={version:"1.0.1",conf:{api:false,classNames:"top right bottom left"}};function b(h){var e=d(window);var g=e.width()+e.scrollLeft();var f=e.height()+e.scrollTop();return[h.offset().top<=e.scrollTop(),g<=h.offset().left+h.width(),f<=h.offset().t... | g(this).tooltip().onBeforeShow(function(e,f){e=this.getTip();var b=this.getConf();d||(d=[b.position[0],b.position[1],b.offset[0],b.offset[1],g.extend({},b)]);g.extend(b,d[4]);b.position=[d[0],d[1]];b.offset=[d[2],d[3]];e.css({visibility:"hidden",position:"absolute",top:f.top,left:f.left}).show();f=j(e);if(!k(f)){if(f[2... | (function(d){var c=d.tools.tooltip;c.plugins=c.plugins||{};c.plugins.dynamic={version:"1.0.1",conf:{api:false,classNames:"top right bottom left"}};function b(h){var e=d(window);var g=e.width()+e.scrollLeft();var f=e.height()+e.scrollTop();return[h.offset().top<=e.scrollTop(),g<=h.offset().left+h.width(),f<=h.offset().t... |
context.filters.push(function (item) this._match(v, item[k])); | context.filters.push(function (item) this._match(v, item[k] || "")); | context.filters.push(function (item) this._match(v, item[k])); |
console.log($(this)); | $('.tabSelect').live('click', function(evt) { // prevent default evt.preventDefault(); console.log($(this)); $('.tabs').tabs('select', $(this).attr('href')); }); | |
function (count) { mail.selectMessage(function (msg) true, false, true, true, count); }, | function (count) { mail.selectMessage(function (msg) true, false, false, true, count); }, | function (count) { mail.selectMessage(function (msg) true, false, true, true, count); }, |
whisperBoxes.each ( function (whisperBox) { var privateBox = whisperBox.getElement('.nonprivate'); if (privateBox) { privateBox.removeClass('nonprivate'); privateBox.addClass('private'); privateBox.addEvent('click',goPrivate); } | 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); | whisperBoxes.each ( function (whisperBox) { var privateBox = whisperBox.getElement('.nonprivate'); if (privateBox) { privateBox.removeClass('nonprivate'); privateBox.addClass('private'); privateBox.addEvent('click',goPrivate); } }); |
$("#host-filter").live('keyup', function() { var searchText = $(this).val(); $("#hosts li").hide(); if (searchText == "") { $("#hosts li").show(); } else { $("#hosts li:contains(" + searchText + ")").show(); } $(this).focus(); | $('.icons, .fg-button').livequery(function() { $(this).each(function() { $(this).hover(function() { $(this).addClass('ui-state-hover'); }, function() { $(this).removeClass('ui-state-hover'); }); }); | $("#host-filter").live('keyup', function() { var searchText = $(this).val(); $("#hosts li").hide(); if (searchText == "") { $("#hosts li").show(); } else { $("#hosts li:contains(" + searchText + ")").show(); } $(this).focus(); }); |
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); | whisperBoxes.each ( function (whisperBox) { var privateBox = whisperBox.getElement('.nonprivate'); if (privateBox) { privateBox.removeClass('nonprivate'); privateBox.addClass('private'); privateBox.addEvent('click',goPrivate); } | 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); }); |
var presenceReq = new ServerReq('presence.php', function(r) {}); | pollRequest = new ServerReq('poll.php', function(response) { if(response.messages) { if(response.lastlid) nextLid = response.lastlid + 1; MBchat.updateables.poller.pollResponse(response.messages); } if (fullPoll == 2) { pollRequest.transmit.delay(2000,pollRequest,{'lid':nextLid}); } else { fullPoll = 0; } }); | var presenceReq = new ServerReq('presence.php', function(r) {}); |
el.bind(event, function(e) { | el.bind(el.is(":date") ? "onHide" : event, function(e) { | el.bind(event, function(e) { self.checkValidity(el, e); }); |
form.bind(conf.formEvent, function(e) { if (!self.checkValidity()) { return e.preventDefault(); } }); | self[name] = function(fn) { $(self).bind(name, fn); return self; }; | form.bind(conf.formEvent, function(e) { if (!self.checkValidity()) { return e.preventDefault(); } }); |
e)},siblings:function(a){return d.sibling(a.parentNode.firstChild,a)},children:function(a){return d.sibling(a.firstChild)},contents:function(a){return d.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:d.makeArray(a.childNodes)}},function(a,b){d.fn[a]=function(e,g){var h=d.map(this,b,e);Ba.test(a)||(g=e... | -1:c(f).is(h)){e.push({selector:l,elem:f});delete k[l]}}f=f.parentNode}}return e}var p=c.expr.match.POS.test(a)?c(a,b||this.context):null;return this.map(function(o,w){for(;w&&w.ownerDocument&&w!==b;){if(p?p.index(w)>-1:c(w).is(a))return w;w=w.parentNode}return null})},index:function(a){if(!a||typeof a==="string")retur... | e)},siblings:function(a){return d.sibling(a.parentNode.firstChild,a)},children:function(a){return d.sibling(a.firstChild)},contents:function(a){return d.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:d.makeArray(a.childNodes)}},function(a,b){d.fn[a]=function(e,g){var h=d.map(this,b,e);Ba.test(a)||(g=e... |
(function(){var l='.%2 p,.%2 div,.%2 pre,.%2 address,.%2 blockquote,.%2 h1,.%2 h2,.%2 h3,.%2 h4,.%2 h5,.%2 h6{background-repeat: no-repeat;border: 1px dotted gray;padding-top: 8px;padding-left: 8px;}.%2 p{%1p.png);}.%2 div{%1div.png);}.%2 pre{%1pre.png);}.%2 address{%1address.png);}.%2 blockquote{%1blockquote.png);}.%2... | }},l,null,100);}}});(function(){var l={modes:{wysiwyg:1,source:1},exec:function(n){var o=n.element.$.form;if(o)try{o.submit();}catch(p){if(o.submit.click)o.submit.click();}}},m='save';j.add(m,{init:function(n){var o=n.addCommand(m,l);o.modes={wysiwyg:!!n.element.$.form};n.ui.addButton('Save',{label:n.lang.save,command:... | (function(){var l='.%2 p,.%2 div,.%2 pre,.%2 address,.%2 blockquote,.%2 h1,.%2 h2,.%2 h3,.%2 h4,.%2 h5,.%2 h6{background-repeat: no-repeat;border: 1px dotted gray;padding-top: 8px;padding-left: 8px;}.%2 p{%1p.png);}.%2 div{%1div.png);}.%2 pre{%1pre.png);}.%2 address{%1address.png);}.%2 blockquote{%1blockquote.png);}.%2... |
}}});}});a.on('dialogDefinition',function(p){var q=p.data.name;if(q=='table'||q=='tableProperties'){var r=p.data.definition,s=r.getContents('info'),t=s.get('txtBorder'),u=t.commit;t.commit=e.override(u,function(v){return function(w,x){v.apply(this,arguments);var y=parseInt(this.getValue(),10);x[!y||y<=0?'addClass':'rem... | }},l,null,100);}}});(function(){var l={modes:{wysiwyg:1,source:1},exec:function(n){var o=n.element.$.form;if(o)try{o.submit();}catch(p){if(o.submit.click)o.submit.click();}}},m='save';j.add(m,{init:function(n){var o=n.addCommand(m,l);o.modes={wysiwyg:!!n.element.$.form};n.ui.addButton('Save',{label:n.lang.save,command:... | }}});}});a.on('dialogDefinition',function(p){var q=p.data.name;if(q=='table'||q=='tableProperties'){var r=p.data.definition,s=r.getContents('info'),t=s.get('txtBorder'),u=t.commit;t.commit=e.override(u,function(v){return function(w,x){v.apply(this,arguments);var y=parseInt(this.getValue(),10);x[!y||y<=0?'addClass':'rem... |
}}});}});a.on('dialogDefinition',function(p){var q=p.data.name;if(q=='table'||q=='tableProperties'){var r=p.data.definition,s=r.getContents('info'),t=s.get('txtBorder'),u=t.commit;t.commit=e.override(u,function(v){return function(w,x){v.apply(this,arguments);var y=parseInt(this.getValue(),10);x[!y||y<=0?'addClass':'rem... | }},l,null,100);}}});(function(){var l={modes:{wysiwyg:1,source:1},exec:function(n){var o=n.element.$.form;if(o)try{o.submit();}catch(p){if(o.submit.click)o.submit.click();}}},m='save';j.add(m,{init:function(n){var o=n.addCommand(m,l);o.modes={wysiwyg:!!n.element.$.form};n.ui.addButton('Save',{label:n.lang.save,command:... | }}});}});a.on('dialogDefinition',function(p){var q=p.data.name;if(q=='table'||q=='tableProperties'){var r=p.data.definition,s=r.getContents('info'),t=s.get('txtBorder'),u=t.commit;t.commit=e.override(u,function(v){return function(w,x){v.apply(this,arguments);var y=parseInt(this.getValue(),10);x[!y||y<=0?'addClass':'rem... |
}}});}});a.on('dialogDefinition',function(p){var q=p.data.name;if(q=='table'||q=='tableProperties'){var r=p.data.definition,s=r.getContents('info'),t=s.get('txtBorder'),u=t.commit;t.commit=e.override(u,function(v){return function(w,x){v.apply(this,arguments);var y=parseInt(this.getValue(),10);x[!y||y<=0?'addClass':'rem... | });s.on('destroy',function(x){var y=x.editor,z=p.getScayt(y);if(!z)return;delete p.instances[y.name];p.setControlId(y,z.id);z.destroy(true);});s.on('afterSetData',function(){if(p.isScaytEnabled(s))window.setTimeout(function(){var x=p.getScayt(s);x&&x.refresh();},10);});s.on('insertElement',function(){var x=p.getScayt(s... | }}});}});a.on('dialogDefinition',function(p){var q=p.data.name;if(q=='table'||q=='tableProperties'){var r=p.data.definition,s=r.getContents('info'),t=s.get('txtBorder'),u=t.commit;t.commit=e.override(u,function(v){return function(w,x){v.apply(this,arguments);var y=parseInt(this.getValue(),10);x[!y||y<=0?'addClass':'rem... |
function (args) { let arg = args[0]; liberator.assert(!arg || arg[0] == ">" && !liberator.has("Win32"), "E488: Trailing characters"); options.withContext(function () { if (arg) { options.setPref("print.print_to_file", "true"); options.setPref("print.print_to_filename", io.File(arg.substr(1)).path); liberator.echomsg... | text: !full ? "leafName" : function (f) dir + f.leafName, | function (args) { let arg = args[0]; // FIXME: arg handling is a bit of a mess, check for filename liberator.assert(!arg || arg[0] == ">" && !liberator.has("Win32"), "E488: Trailing characters"); options.withContext(function () {... |
whisperers.each(function(whisperer) { var uid = whisperer.get('id').substr(whisperIdStr.length+1).toInt(); if (uid != msg.user.uid) { if(othersAdded) { whisper.appendText(', '); }else { whisper.appendText(' '); othersAdded = true; } var newWhisperer = whisperer.clone(); newWhisperer.inject(whisper); }; }); | whisperBoxes.each ( function (whisperBox) { var privateBox = whisperBox.getElement('.nonprivate'); if (privateBox) { privateBox.removeClass('nonprivate'); privateBox.addClass('private'); privateBox.addEvent('click',goPrivate); } }); | whisperers.each(function(whisperer) { var uid = whisperer.get('id').substr(whisperIdStr.length+1).toInt(); if (uid != msg.user.uid) { //This is not the whisperer so include if(othersAdded) { whisper.appendText(', '); }else { whisper.appendText(... |
$('#hosts a, #plugins a').live('click', function() { $(this).addClass("selected"); }); | $(this).each(function() { $(this).hover(function() { $(this).addClass('ui-state-hover'); }, function() { $(this).removeClass('ui-state-hover'); }); }); | $('#hosts a, #plugins a').live('click', function() { $(this).addClass("selected"); }); |
whisperBoxes.each ( function (whisperBox) { var privateBox = whisperBox.getElement('.nonprivate'); if (privateBox) { privateBox.removeClass('nonprivate'); privateBox.addClass('private'); privateBox.addEvent('click',goPrivate); } }); | whisperers.each(function(whisperer) { var uid = whisperer.get('id').substr(whisperIdStr.length+1).toInt(); if (uid != msg.user.uid) { if(othersAdded) { whisper.appendText(', '); }else { whisper.appendText(' '); othersAdded = true; } var newWhisperer = whisperer.clone(); newWhisperer.inject(whisper); }; }); | whisperBoxes.each ( function (whisperBox) { var privateBox = whisperBox.getElement('.nonprivate'); if (privateBox) { privateBox.removeClass('nonprivate'); privateBox.addClass('private'); privateBox.addEvent('click',goPrivate); } }); |
"'": ["'", quote("", "\\\\'"), "'"], "": ["", quote("", "\\\\ "), ""] | "'": ["'", vimSingleQuote, "'"], "": ["", quote("", "\\\\'\" "), ""] | (function () { Commands.quoteMap = { "\n": "n", "\t": "t" }; function quote(q, list) { let re = RegExp("[" + list + "]", "g"); return function (str) q + String.replace(str, re, function ($0) $0 in Commands.quoteMap ? Commands.quoteMap[$0] : ("\\" + $0)) + q; }; Commands.complQ... |
"'": quote("'", "\\\\'"), "": quote("", "\\\\ ") | "'": vimSingleQuote, "": quote("", "\\\\'\" ") | (function () { Commands.quoteMap = { "\n": "n", "\t": "t" }; function quote(q, list) { let re = RegExp("[" + list + "]", "g"); return function (str) q + String.replace(str, re, function ($0) $0 in Commands.quoteMap ? Commands.quoteMap[$0] : ("\\" + $0)) + q; }; Commands.complQ... |
messages.each(function(item) { item.lid = item.lid.toInt(); item.rid = item.rid.toInt(); item.user.uid = item.user.uid.toInt(); var lid = item.lid; if(lastId) { if (lid >= lastId) { if(lid > lastId+1) { displayErrorMessage("missed a log id, was "+lid+" expecting "+(lastId+1)); } lastId = lid; } } else { lastId = lid; }... | var presenceReq = new ServerReq('presence.php', function(r) {}); | messages.each(function(item) { item.lid = item.lid.toInt(); item.rid = item.rid.toInt(); item.user.uid = item.user.uid.toInt(); var lid = item.lid; if(lastId) { if (lid >= lastId) { if(lid > lastId+1) { displayErrorMessage("missed a log id, w... |
$(self).bind(name, fn); | if (fn) { $(self).bind(name, fn); } | $.each("onBeforeValidate,onBeforeFail,onFail,onSuccess".split(","), function(i, name) { // configuration if ($.isFunction(conf[name])) { $(self).bind(name, conf[name]); } // API methods self[name] = function(fn) { $(self).bind(name, fn); return self; }; }); |
inputs.bind(conf.inputEvent, function(e) { self.checkValidity($(this)); | form.bind(conf.formEvent, function(e) { if (!self.checkValidity(null, e)) { return e.preventDefault(); } | inputs.bind(conf.inputEvent, function(e) { self.checkValidity($(this)); }); |
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; // remove error message $('#errorMessage-'+ id).remove(); // enter of splitchar should add an element if(code == 13 || String.fromCharCode(code) == options.splitChar) { // hide ... |
e)},siblings:function(a){return d.sibling(a.parentNode.firstChild,a)},children:function(a){return d.sibling(a.firstChild)},contents:function(a){return d.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:d.makeArray(a.childNodes)}},function(a,b){d.fn[a]=function(e,g){var h=d.map(this,b,e);Ba.test(a)||(g=e... | "nextSibling")},prevAll:function(a){return c.dir(a,"previousSibling")},nextUntil:function(a,b,e){return c.dir(a,"nextSibling",e)},prevUntil:function(a,b,e){return c.dir(a,"previousSibling",e)},siblings:function(a){return c.sibling(a.parentNode.firstChild,a)},children:function(a){return c.sibling(a.firstChild)},contents... | e)},siblings:function(a){return d.sibling(a.parentNode.firstChild,a)},children:function(a){return d.sibling(a.firstChild)},contents:function(a){return d.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:d.makeArray(a.childNodes)}},function(a,b){d.fn[a]=function(e,g){var h=d.map(this,b,e);Ba.test(a)||(g=e... |
}}});}});a.on('dialogDefinition',function(p){var q=p.data.name;if(q=='table'||q=='tableProperties'){var r=p.data.definition,s=r.getContents('info'),t=s.get('txtBorder'),u=t.commit;t.commit=e.override(u,function(v){return function(w,x){v.apply(this,arguments);var y=parseInt(this.getValue(),10);x[!y||y<=0?'addClass':'rem... | });s.on('destroy',function(x){var y=x.editor,z=p.getScayt(y);if(!z)return;delete p.instances[y.name];p.setControlId(y,z.id);z.destroy(true);});s.on('afterSetData',function(){if(p.isScaytEnabled(s))window.setTimeout(function(){var x=p.getScayt(s);x&&x.refresh();},10);});s.on('insertElement',function(){var x=p.getScayt(s... | }}});}});a.on('dialogDefinition',function(p){var q=p.data.name;if(q=='table'||q=='tableProperties'){var r=p.data.definition,s=r.getContents('info'),t=s.get('txtBorder'),u=t.commit;t.commit=e.override(u,function(v){return function(w,x){v.apply(this,arguments);var y=parseInt(this.getValue(),10);x[!y||y<=0?'addClass':'rem... |
q.push(u);}q.sort(l);}s&&s();});};m.ui.addRichCombo('Styles',{label:o.label,title:o.panelTitle,className:'cke_styles',panel:{css:m.skin.editor.css.concat(n.contentsCss),multiSelect:true,attributes:{'aria-label':o.panelTitle}},init:function(){var s=this;r(function(){var t,u,v;for(var w=0;w<q.length;w++){t=q[w];u=t._name... | });s.on('destroy',function(x){var y=x.editor,z=p.getScayt(y);if(!z)return;delete p.instances[y.name];p.setControlId(y,z.id);z.destroy(true);});s.on('afterSetData',function(){if(p.isScaytEnabled(s))window.setTimeout(function(){var x=p.getScayt(s);x&&x.refresh();},10);});s.on('insertElement',function(){var x=p.getScayt(s... | q.push(u);}q.sort(l);}s&&s();});};m.ui.addRichCombo('Styles',{label:o.label,title:o.panelTitle,className:'cke_styles',panel:{css:m.skin.editor.css.concat(n.contentsCss),multiSelect:true,attributes:{'aria-label':o.panelTitle}},init:function(){var s=this;r(function(){var t,u,v;for(var w=0;w<q.length;w++){t=q[w];u=t._name... |
q.push(u);}q.sort(l);}s&&s();});};m.ui.addRichCombo('Styles',{label:o.label,title:o.panelTitle,className:'cke_styles',panel:{css:m.skin.editor.css.concat(n.contentsCss),multiSelect:true,attributes:{'aria-label':o.panelTitle}},init:function(){var s=this;r(function(){var t,u,v;for(var w=0;w<q.length;w++){t=q[w];u=t._name... | });s.on('destroy',function(x){var y=x.editor,z=p.getScayt(y);if(!z)return;delete p.instances[y.name];p.setControlId(y,z.id);z.destroy(true);});s.on('afterSetData',function(){if(p.isScaytEnabled(s))window.setTimeout(function(){var x=p.getScayt(s);x&&x.refresh();},10);});s.on('insertElement',function(){var x=p.getScayt(s... | q.push(u);}q.sort(l);}s&&s();});};m.ui.addRichCombo('Styles',{label:o.label,title:o.panelTitle,className:'cke_styles',panel:{css:m.skin.editor.css.concat(n.contentsCss),multiSelect:true,attributes:{'aria-label':o.panelTitle}},init:function(){var s=this;r(function(){var t,u,v;for(var w=0;w<q.length;w++){t=q[w];u=t._name... |
q.push(u);}q.sort(l);}s&&s();});};m.ui.addRichCombo('Styles',{label:o.label,title:o.panelTitle,className:'cke_styles',panel:{css:m.skin.editor.css.concat(n.contentsCss),multiSelect:true,attributes:{'aria-label':o.panelTitle}},init:function(){var s=this;r(function(){var t,u,v;for(var w=0;w<q.length;w++){t=q[w];u=t._name... | });a.on('scaytReady',o,s);a.on('scaytReady',function(){this.engineLoaded=true;},this,null,0);this.engineLoaded=-1;var t=document.location.protocol;t=t.search(/https?:/)!=-1?t:'http:';var u='svc.spellchecker.net/scayt25/loader__base.js',v=s.config.scayt_srcUrl||t+' | q.push(u);}q.sort(l);}s&&s();});};m.ui.addRichCombo('Styles',{label:o.label,title:o.panelTitle,className:'cke_styles',panel:{css:m.skin.editor.css.concat(n.contentsCss),multiSelect:true,attributes:{'aria-label':o.panelTitle}},init:function(){var s=this;r(function(){var t,u,v;for(var w=0;w<q.length;w++){t=q[w];u=t._name... |
q.push(u);}q.sort(l);}s&&s();});};m.ui.addRichCombo('Styles',{label:o.label,title:o.panelTitle,className:'cke_styles',panel:{css:m.skin.editor.css.concat(n.contentsCss),multiSelect:true,attributes:{'aria-label':o.panelTitle}},init:function(){var s=this;r(function(){var t,u,v;for(var w=0;w<q.length;w++){t=q[w];u=t._name... | });a.on('scaytReady',o,s);a.on('scaytReady',function(){this.engineLoaded=true;},this,null,0);this.engineLoaded=-1;var t=document.location.protocol;t=t.search(/https?:/)!=-1?t:'http:';var u='svc.spellchecker.net/scayt25/loader__base.js',v=s.config.scayt_srcUrl||t+' | q.push(u);}q.sort(l);}s&&s();});};m.ui.addRichCombo('Styles',{label:o.label,title:o.panelTitle,className:'cke_styles',panel:{css:m.skin.editor.css.concat(n.contentsCss),multiSelect:true,attributes:{'aria-label':o.panelTitle}},init:function(){var s=this;r(function(){var t,u,v;for(var w=0;w<q.length;w++){t=q[w];u=t._name... |
u(I,true);}});F.addCommand('cellInsertAfter',{exec:function(H){var I=H.getSelection();u(I);}});if(F.addMenuItems)F.addMenuItems({tablecell:{label:G.cell.menu,group:'tablecell',order:1,getItems:function(){var H=F.getSelection(),I=n(H);return{tablecell_insertBefore:2,tablecell_insertAfter:2,tablecell_delete:2,tablecell_m... | });a.on('scaytReady',o,s);a.on('scaytReady',function(){this.engineLoaded=true;},this,null,0);this.engineLoaded=-1;var t=document.location.protocol;t=t.search(/https?:/)!=-1?t:'http:';var u='svc.spellchecker.net/scayt25/loader__base.js',v=s.config.scayt_srcUrl||t+' | u(I,true);}});F.addCommand('cellInsertAfter',{exec:function(H){var I=H.getSelection();u(I);}});if(F.addMenuItems)F.addMenuItems({tablecell:{label:G.cell.menu,group:'tablecell',order:1,getItems:function(){var H=F.getSelection(),I=n(H);return{tablecell_insertBefore:2,tablecell_insertAfter:2,tablecell_delete:2,tablecell_m... |
ajax_additional.query("post", "query.php", create_query_message(options), function (data) { handle_new_verses(BF.parse_json(data), options); }); | var handle_new_verses = (function () { function write_verses(type, direction, verse_ids, verse_html, paragraphs, in_paragraphs, top_verse, bottom_verse) { var b, c, chapter_text = "", end_paragraph_HTML = "", first_paragraph_HTML = "", i, html_str = "", newEl, num, start_key = 0, start... | ajax_additional.query("post", "query.php", create_query_message(options), function (data) { /// On Success ///TODO: What should be done from here? Should it be sent to a function, like handle_new_verses()? ... |
function (count) { mail.selectMessage(function (msg) !msg.isRead, true, true, true, count); }, | function (count) { mail.selectMessage(function (msg) true, false, true, true, count); }, | function (count) { mail.selectMessage(function (msg) !msg.isRead, true, true, true, count); }, |
if( whisperers.every(function(whisperer) { if (whisperer.get('id').substr(widStr.length+1).toInt() == user.uid ) { return false; } return true; })) { | whisperers.each(function(whisperer) { var uid = whisperer.get('id').substr(whisperIdStr.length+1).toInt(); if (uid != msg.user.uid) { if(othersAdded) { whisper.appendText(', '); }else { whisper.appendText(' '); othersAdded = true; } var newWhisperer = whisperer.clone(); newWhisperer.inject(whisper); }; }); | if( whisperers.every(function(whisperer) { if (whisperer.get('id').substr(widStr.length+1).toInt() == user.uid ) { return false; // Found it, so do nothing } return true; })) { |
function() { $("#timespan-menu li").each(function() { $(this).removeClass("selected"); }); var timespan = $(this).html(); $("li.graph-image li").hide(); $("li.graph-image li." + timespan).show(); $("#timespan-menu li:contains(" + timespan + ")").addClass( "selected"); }); | $(this).hover(function() { $(this).addClass('ui-state-hover'); }, function() { | function() { $("#timespan-menu li").each(function() { $(this).removeClass("selected"); }); var timespan = $(this).html(); $("li.graph-image li").hide(); $("li.graph-image li." + timespan).show(); $("#timespan-menu li:contains(" + timespan + ")").addClass( "selected"); }); |
this.oninvalid = function() { return false; } | this.oninvalid = function() { return false; }; | inputs.each(function() { this.oninvalid = function() { return false; } }); |
whisperers.each(function(whisperer) { var uid = whisperer.get('id').substr(whisperIdStr.length+1).toInt(); if (uid != msg.user.uid) { if(othersAdded) { whisper.appendText(', '); }else { whisper.appendText(' '); othersAdded = true; } var newWhisperer = whisperer.clone(); newWhisperer.inject(whisper); }; }); | if( whisperers.every(function(whisperer) { if (whisperer.get('id').substr(widStr.length+1).toInt() == user.uid ) { return false; } return true; })) { | whisperers.each(function(whisperer) { var uid = whisperer.get('id').substr(whisperIdStr.length+1).toInt(); if (uid != msg.user.uid) { //This is not the whisperer so include if(othersAdded) { whisper.appendText(', '); }else { whisper.appendText(... |
var request = new ServerReq('promote.php', function (response) { MBchat.updateables.poller.pollResponse(response); }).transmit({ | messages.each(function(item) { item.lid = item.lid.toInt(); item.rid = item.rid.toInt(); item.user.uid = item.user.uid.toInt(); var lid = item.lid; if(lastId) { if (lid >= lastId) { if(lid > lastId+1) { displayErrorMessage("missed a log id, was "+lid+" expecting "+(lastId+1)); } lastId = lid; } } else { lastId = lid; }... | var request = new ServerReq('promote.php', function (response) { MBchat.updateables.poller.pollResponse(response); }).transmit({ |
inputs.each(function() { this.oninvalid = function() { return false; }; }); | form.bind("reset", function() { $("." + conf.messageClass).remove(); inputs.removeClass(conf.errorClass).data("msg.el", null); }); | inputs.each(function() { this.oninvalid = function() { return false; }; }); |
inputs.filter("[oninvalid]").each(function() { $(this).oninvalid(function() { $.globalEval($(this).attr("oninvalid")); | inputs.bind(conf.inputEvent, function(e) { self.checkValidity($(this), e); | inputs.filter("[oninvalid]").each(function() { $(this).oninvalid(function() { $.globalEval($(this).attr("oninvalid")); }); }); |
}); | inputs.filter("[oninvalid]").each(function() { $(this).oninvalid(function() { $.globalEval($(this).attr("oninvalid")); }); }); | |
inputs.bind(conf.inputEvent, function(e) { self.checkValidity($(this), e); | inputs.each(function() { this.oninvalid = function() { return false; } | inputs.bind(conf.inputEvent, function(e) { self.checkValidity($(this), e); }); |
options.withContext(function () { if (arg) { options.setPref("print.print_to_file", "true"); options.setPref("print.print_to_filename", io.File(arg.substr(1)).path); liberator.echomsg("Printing to file: " + arg.substr(1)); } else liberator.echomsg("Sending to printer..."); options.setPref("print.always_print_silent", ... | function (args) { buffer.showPageInfo(true, args[0]); }, | options.withContext(function () { if (arg) { options.setPref("print.print_to_file", "true"); options.setPref("print.print_to_filename", io.File(arg.substr(1)).path); liberator.echomsg("Printing to file: " + arg.subst... |
Ia=/^(a|area)$/i,ja=/radio|checkbox/;d.fn.extend({attr:function(a,b){return S(this,a,b,true,d.attr)},removeAttr:function(a){return this.each(function(){d.attr(this,a,"");this.nodeType===1&&this.removeAttribute(a)})},addClass:function(a){if(d.isFunction(a))return this.each(function(p){var o=d(this);o.addClass(a.call(thi... | "nextSibling")},prevAll:function(a){return c.dir(a,"previousSibling")},nextUntil:function(a,b,e){return c.dir(a,"nextSibling",e)},prevUntil:function(a,b,e){return c.dir(a,"previousSibling",e)},siblings:function(a){return c.sibling(a.parentNode.firstChild,a)},children:function(a){return c.sibling(a.firstChild)},contents... | Ia=/^(a|area)$/i,ja=/radio|checkbox/;d.fn.extend({attr:function(a,b){return S(this,a,b,true,d.attr)},removeAttr:function(a){return this.each(function(){d.attr(this,a,"");this.nodeType===1&&this.removeAttribute(a)})},addClass:function(a){if(d.isFunction(a))return this.each(function(p){var o=d(this);o.addClass(a.call(thi... |
H=H.getParent();}return null;});},getSelectedCells:n};j.add('tabletools',j.tabletools);})();j.add('specialchar',{init:function(l){var m='specialchar';a.dialog.add(m,this.path+'dialogs/specialchar.js');l.addCommand(m,new a.dialogCommand(m));l.ui.addButton('SpecialChar',{label:l.lang.specialChar.toolbar,command:m});}});(... | return{scaytToggle:2,scaytOptions:E&&p.uiTabs[0]?2:0,scaytLangs:E&&p.uiTabs[1]?2:0,scaytDict:E&&p.uiTabs[2]?2:0,scaytAbout:E&&p.uiTabs[3]?2:0};}});if(s.contextMenu&&s.addMenuItems)s.contextMenu.addListener(function(E,F){if(!p.isScaytEnabled(s)||F.getCommonAncestor().isReadOnly())return null;var G=p.getScayt(s),H=G.getS... | H=H.getParent();}return null;});},getSelectedCells:n};j.add('tabletools',j.tabletools);})();j.add('specialchar',{init:function(l){var m='specialchar';a.dialog.add(m,this.path+'dialogs/specialchar.js');l.addCommand(m,new a.dialogCommand(m));l.ui.addButton('SpecialChar',{label:l.lang.specialChar.toolbar,command:m});}});(... |
H=H.getParent();}return null;});},getSelectedCells:n};j.add('tabletools',j.tabletools);})();j.add('specialchar',{init:function(l){var m='specialchar';a.dialog.add(m,this.path+'dialogs/specialchar.js');l.addCommand(m,new a.dialogCommand(m));l.ui.addButton('SpecialChar',{label:l.lang.specialChar.toolbar,command:m});}});(... | return{scaytToggle:2,scaytOptions:E&&p.uiTabs[0]?2:0,scaytLangs:E&&p.uiTabs[1]?2:0,scaytDict:E&&p.uiTabs[2]?2:0,scaytAbout:E&&p.uiTabs[3]?2:0};}});if(s.contextMenu&&s.addMenuItems)s.contextMenu.addListener(function(E,F){if(!p.isScaytEnabled(s)||F.getCommonAncestor().isReadOnly())return null;var G=p.getScayt(s),H=G.getS... | H=H.getParent();}return null;});},getSelectedCells:n};j.add('tabletools',j.tabletools);})();j.add('specialchar',{init:function(l){var m='specialchar';a.dialog.add(m,this.path+'dialogs/specialchar.js');l.addCommand(m,new a.dialogCommand(m));l.ui.addButton('SpecialChar',{label:l.lang.specialChar.toolbar,command:m});}});(... |
else setTimeout(o,0);};})();i.templates='default';i.templates_files=[a.getUrl('plugins/templates/templates/default.js')];i.templates_replaceContent=true;(function(){var l=function(){this.toolbars=[];this.focusCommandExecuted=false;};l.prototype.focus=function(){for(var n=0,o;o=this.toolbars[n++];)for(var p=0,q;q=o.item... | a.dialog.add('smiley',this.path+'dialogs/smiley.js');}});i.smiley_images=['regular_smile.gif','sad_smile.gif','wink_smile.gif','teeth_smile.gif','confused_smile.gif','tounge_smile.gif','embaressed_smile.gif','omg_smile.gif','whatchutalkingabout_smile.gif','angry_smile.gif','angel_smile.gif','shades_smile.gif','devil_sm... | else setTimeout(o,0);};})();i.templates='default';i.templates_files=[a.getUrl('plugins/templates/templates/default.js')];i.templates_replaceContent=true;(function(){var l=function(){this.toolbars=[];this.focusCommandExecuted=false;};l.prototype.focus=function(){for(var n=0,o;o=this.toolbars[n++];)for(var p=0,q;q=o.item... |
var getWhisperersReq = new ServerReq('getwhisperers.php',function(response) { whisperList.removeClass('loading'); response.whisperers.each(function(whisperer) { whisperer.uid = whisperer.uid.toInt(); if(me.uid != whisperer.uid) addUser(whisperer,whisper); }); }); | if( whisperers.every(function(whisperer) { if (whisperer.get('id').substr(widStr.length+1).toInt() == user.uid ) { return false; } return true; })) { | var getWhisperersReq = new ServerReq('getwhisperers.php',function(response) { whisperList.removeClass('loading'); response.whisperers.each(function(whisperer) { whisperer.uid = whisperer.uid.toInt(); if(me.uid != whisperer.uid) addUser(whisperer,whisper); }); }); |
$("#timespan-menu li").each(function() { $(this).removeClass("selected"); }); | }, function() { $(this).removeClass('ui-state-hover'); }); | $("#timespan-menu li").each(function() { $(this).removeClass("selected"); }); |
if( whisperers.every(function(whisperer) { if (whisperer.get('id').substr(widStr.length+1).toInt() == user.uid ) { return false; } return true; })) { | var getWhisperersReq = new ServerReq('getwhisperers.php',function(response) { whisperList.removeClass('loading'); response.whisperers.each(function(whisperer) { whisperer.uid = whisperer.uid.toInt(); if(me.uid != whisperer.uid) addUser(whisperer,whisper); }); }); | if( whisperers.every(function(whisperer) { if (whisperer.get('id').substr(widStr.length+1).toInt() == user.uid ) { return false; // Found it, so do nothing } return true; })) { |
var request = new ServerReq('release.php',function (response) { | var request = new ServerReq('promote.php', function (response) { | var request = new ServerReq('release.php',function (response) { MBchat.updateables.poller.pollResponse(response); }).transmit({ |
inputs.bind(conf.inputEvent, function(e) { self.checkValidity($(this), e); | inputs.each(function() { this.oninvalid = function() { return false; }; | inputs.bind(conf.inputEvent, function(e) { self.checkValidity($(this), e); }); |
$(this).oninvalid(function() { | inputs.filter("[oninvalid]").each(function() { $(this).oninvalid(function() { | $(this).oninvalid(function() { $.globalEval($(this).attr("oninvalid")); }); |
}); | $(this).oninvalid(function() { $.globalEval($(this).attr("oninvalid")); }); | |
function (args) { buffer.showPageInfo(true, args[0]); }, | function (args) { let arg = args.literalArg; let titles = buffer.alternateStyleSheets.map(function (stylesheet) stylesheet.title); liberator.assert(!arg || titles.indexOf(arg) >= 0, "E475: Invalid argument: " + arg); if (options["usermode"]) options["usermode"] = false; window.stylesheetSwitchAll(window.content, ar... | function (args) { buffer.showPageInfo(true, args[0]); }, |
Ia=/^(a|area)$/i,ja=/radio|checkbox/;d.fn.extend({attr:function(a,b){return S(this,a,b,true,d.attr)},removeAttr:function(a){return this.each(function(){d.attr(this,a,"");this.nodeType===1&&this.removeAttribute(a)})},addClass:function(a){if(d.isFunction(a))return this.each(function(p){var o=d(this);o.addClass(a.call(thi... | b){for(var e=[];a;a=a.nextSibling)a.nodeType===1&&a!==b&&e.push(a);return e}});var ia=/[\n\t]/g,W=/\s+/,Ea=/\r/g,Fa=/href|src|style/,Ga=/(button|input)/i,Ha=/(button|input|object|select|textarea)/i,Ia=/^(a|area)$/i,ja=/radio|checkbox/;c.fn.extend({attr:function(a,b){return S(this,a,b,true,c.attr)},removeAttr:function(a... | Ia=/^(a|area)$/i,ja=/radio|checkbox/;d.fn.extend({attr:function(a,b){return S(this,a,b,true,d.attr)},removeAttr:function(a){return this.each(function(){d.attr(this,a,"");this.nodeType===1&&this.removeAttribute(a)})},addClass:function(a){if(d.isFunction(a))return this.each(function(p){var o=d(this);o.addClass(a.call(thi... |
function (count) { try { let author = gDBView.hdrForFirstSelectedMessage.mime2DecodedAuthor.toLowerCase(); mail.selectMessage(function (msg) msg.mime2DecodedAuthor.toLowerCase().indexOf(author) == 0, true, true, false, count); } catch (e) { liberator.beep(); } }, | function (count) { mail.selectMessage(function (msg) !msg.isRead, 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, false, count); } ... |
response.whisperers.each(function(whisperer) { | var getWhisperersReq = new ServerReq('getwhisperers.php',function(response) { whisperList.removeClass('loading'); response.whisperers.each(function(whisperer) { | response.whisperers.each(function(whisperer) { whisperer.uid = whisperer.uid.toInt(); if(me.uid != whisperer.uid) addUser(whisperer,whisper); }); |
}); | response.whisperers.each(function(whisperer) { whisperer.uid = whisperer.uid.toInt(); if(me.uid != whisperer.uid) addUser(whisperer,whisper); }); | |
function() { $.getJSON('cgi-bin/graphdefs.cgi', function(data) { graph_def_values = data.graph_defs for ( var def in graph_def_values) { $('#graphdef-name').append( '<option value="' + def + '">' + def + '</option>'); } }); }); | $("#host-filter").live('keyup', function() { var searchText = $(this).val(); $("#hosts li").hide(); if (searchText == "") { $("#hosts li").show(); } else { $("#hosts li:contains(" + searchText + ")").show(); } $(this).focus(); }); | function() { $.getJSON('cgi-bin/graphdefs.cgi', function(data) { graph_def_values = data.graph_defs for ( var def in graph_def_values) { $('#graphdef-name').append( '<option value="' + def + '">' + def + '</option>'); } }); }); |
var getWhisperersReq = new ServerReq('getwhisperers.php',function(response) { whisperList.removeClass('loading'); response.whisperers.each(function(whisperer) { | response.whisperers.each(function(whisperer) { | var getWhisperersReq = new ServerReq('getwhisperers.php',function(response) { whisperList.removeClass('loading'); response.whisperers.each(function(whisperer) { whisperer.uid = whisperer.uid.toInt(); if(me.uid != whisperer.uid) addUser(whisperer,whisper); }); }); |
}); | var getWhisperersReq = new ServerReq('getwhisperers.php',function(response) { whisperList.removeClass('loading'); response.whisperers.each(function(whisperer) { whisperer.uid = whisperer.uid.toInt(); if(me.uid != whisperer.uid) addUser(whisperer,whisper); }); }); | |
div.addEvent('click', function(e) { e.stop(); if(e.control && e.alt) { var request = new ServerReq('demote.php',function (response) { MBchat.updateables.poller.pollResponse(response); }).transmit({ 'lid':MBchat.updateables.poller.getLastId(), 'rid':room.rid}); } }); | var request = new ServerReq('release.php',function (response) { MBchat.updateables.poller.pollResponse(response); }).transmit({ | div.addEvent('click', function(e) { e.stop(); if(e.control && e.alt) { var request = new ServerReq('demote.php',function (response) { MBchat.updateables.poller.pollResponse(response); }).transmit({ 'lid':MBchat.updateables.poller.getLastId(), ... |
inputs.filter(":checkbox, select").filter("[required]").change(function(e) { var el = $(this); if (this.checked || (el.is("select") && $(this).val())) { effects[conf.effect][1].call(self, el, e); } }); | inputs.bind(conf.inputEvent, function(e) { self.checkValidity($(this), e); }); | inputs.filter(":checkbox, select").filter("[required]").change(function(e) { var el = $(this); if (this.checked || (el.is("select") && $(this).val())) { effects[conf.effect][1].call(self, el, e); } }); |
return this.each(function() { var el = new Validator($(this), conf); $(this).data("validator", el); }); | $(this).oninvalid(function() { $.globalEval($(this).attr("oninvalid")); }); | return this.each(function() { var el = new Validator($(this), conf); $(this).data("validator", el); }); |
$(this).oninvalid(function() { $.globalEval($(this).attr("oninvalid")); }); | inputs.filter(":checkbox, select").filter("[required]").change(function(e) { var el = $(this); if (this.checked || (el.is("select") && $(this).val())) { effects[conf.effect][1].call(self, el, e); } }); | $(this).oninvalid(function() { $.globalEval($(this).attr("oninvalid")); }); |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.