rem stringlengths 0 126k | add stringlengths 0 441k | context stringlengths 15 136k |
|---|---|---|
if (value.match(/^\d{1,2}\s{3}/)) value = Zotero.Utilities.cleanString(value.replace(/^\d{1,2}\s{3}/, "")); | if (value.match(/^\d{1,2}\s{3}/)) value = Zotero.Utilities.trimInternal(value.replace(/^\d{1,2}\s{3}/, "")); | Zotero.Utilities.processDocuments(urls, function(newDoc) { var uri = newDoc.location.href; var namespace = newDoc.documentElement.namespaceURI; var nsResolver = namespace ? function(prefix) { if (prefix == 'x') return namespace; else return null; } : null; var elmts = newDoc.evaluate('//table/tbody/tr[@val... |
$special.dragstart = $special.dragend = { setup:function(){}, teardown:function(){} }; function handler ( event ){ var elem = this, returned, data = event.data || {}; if ( data.elem ){ elem = event.dragTarget = data.elem; event.dragProxy = drag.proxy || elem; event.cursorOffsetX = data.pageX - data.left; event.curs... | function handler ( event ){ var elem = this, returned, data = event.data || {}; if ( data.elem ){ elem = event.dragTarget = data.elem; event.dragProxy = drag.proxy || elem; event.cursorOffsetX = data.pageX - data.left; event.cursorOffsetY = data.pageY - data.top; event.offsetX = event.pageX - event.cursorOffsetX; eve... | (function($) { // secure $ jQuery alias/*******************************************************************************************/// Created: 2008-06-04 | Updated: 2010-03-24/*******************************************************************************************/// Events: drag, dragstart, dragend/***************... |
else if ( drag.dragging || ( data.which>0 && event.which!=data.which ) || $( event.target ).is( data.not ) ) return; switch ( event.type ){ case 'mousedown': $.extend( data, $( elem ).offset(), { elem: elem, target: event.target, pageX: event.pageX, pageY: event.pageY }); $event.add( document, "mousemove mouseup", ha... | else if ( drag.dragging || ( data.which>0 && event.which!=data.which ) || $( event.target ).is( data.not ) ) return; switch ( event.type ){ case 'mousedown': $.extend( data, $( elem ).offset(), { elem: elem, target: event.target, pageX: event.pageX, pageY: event.pageY }); $event.add( document, "mousemove mouseup", ha... | (function($) { // secure $ jQuery alias/*******************************************************************************************/// Created: 2008-06-04 | Updated: 2010-03-24/*******************************************************************************************/// Events: drag, dragstart, dragend/***************... |
if ( returned !== false ) break; event.type = "mouseup"; } case 'mouseup': $event.remove( document, "mousemove mouseup", handler ); if ( drag.dragging ){ if ( $special.drop ) $special.drop.handler( event ); hijack( event, "dragend", elem ); } selectable( elem, true ); drag.dragging = drag.proxy = data.elem = false; br... | case 'mousemove': if ( drag.dragging ){ returned = hijack( event, "drag", elem ); if ( $special.drop ){ $special.drop.allowed = returned !== false; $special.drop.handler( event ); } if ( returned !== false ) break; event.type = "mouseup"; } case 'mouseup': $event.remove( document, "mousemove mouseup", handler ); if ( ... | (function($) { // secure $ jQuery alias/*******************************************************************************************/// Created: 2008-06-04 | Updated: 2010-03-24/*******************************************************************************************/// Events: drag, dragstart, dragend/***************... |
function squared ( value ){ return Math.pow( value, 2 ); } function dontStart(){ return ( drag.dragging === false ); } function selectable ( elem, bool ){ if ( !elem ) return; elem.unselectable = bool ? "off" : "on"; elem.onselectstart = function(){ return bool; }; if ( elem.style ) elem.style.MozUserSelect = bool... | function hijack ( event, type, elem ){ event.type = type; var result = $.event.handle.call( elem, event ); return result===false ? false : result || event.result; } function squared ( value ){ return Math.pow( value, 2 ); } function dontStart(){ return ( drag.dragging === false ); } function selectable ( elem, bo... | (function($) { // secure $ jQuery alias/*******************************************************************************************/// Created: 2008-06-04 | Updated: 2010-03-24/*******************************************************************************************/// Events: drag, dragstart, dragend/***************... |
WT_DECLARE_WT_MEMBER(1,"WDialog",function(g,b){function k(a){var c=a||window.event;a=d.pageCoordinates(c);c=d.windowCoordinates(c);var e=d.windowSize();if(c.x>0&&c.x<e.x&&c.y>0&&c.y<e.y){j=true;b.style.left=d.pxself(b,"left")+a.x-h+"px";b.style.top=d.pxself(b,"top")+a.y-i+"px";h=a.x;i=a.y}}jQuery.data(b,"obj",this);var... | WT_DECLARE_WT_MEMBER(1,"WDialog",function(g,b){function k(a){var c=a||window.event;a=d.pageCoordinates(c);c=d.windowCoordinates(c);var e=d.windowSize();if(c.x>0&&c.x<e.x&&c.y>0&&c.y<e.y){h=true;b.style.left=d.pxself(b,"left")+a.x-i+"px";b.style.top=d.pxself(b,"top")+a.y-j+"px";i=a.x;j=a.y}}jQuery.data(b,"obj",this);var... | WT_DECLARE_WT_MEMBER(1,"WDialog",function(g,b){function k(a){var c=a||window.event;a=d.pageCoordinates(c);c=d.windowCoordinates(c);var e=d.windowSize();if(c.x>0&&c.x<e.x&&c.y>0&&c.y<e.y){j=true;b.style.left=d.pxself(b,"left")+a.x-h+"px";b.style.top=d.pxself(b,"top")+a.y-i+"px";h=a.x;i=a.y}}jQuery.data(b,"obj",this);var... |
WT_DECLARE_WT_MEMBER(1,"SizeHandle",function(c,j,e,m,p,q,r,s,g,h,i,k,l){function n(b){b=b.changedTouches?{x:b.changedTouches[0].pageX,y:b.changedTouches[0].pageY}:c.pageCoordinates(b);return Math.min(Math.max(j=="h"?b.x-f.x-d.x:b.y-f.y-d.y,p),q)}var a=document.createElement("div");a.style.position="absolute";a.style.zI... | WT_DECLARE_WT_MEMBER(1,"SizeHandle",function(b,j,e,m,p,q,r,s,g,h,i,k,l){function n(c){c=!b.isIE&&c.changedTouches?{x:c.changedTouches[0].pageX,y:c.changedTouches[0].pageY}:b.pageCoordinates(c);return Math.min(Math.max(j=="h"?c.x-f.x-d.x:c.y-f.y-d.y,p),q)}var a=document.createElement("div");a.style.position="absolute";a... | WT_DECLARE_WT_MEMBER(1,"SizeHandle",function(c,j,e,m,p,q,r,s,g,h,i,k,l){function n(b){b=b.changedTouches?{x:b.changedTouches[0].pageX,y:b.changedTouches[0].pageY}:c.pageCoordinates(b);return Math.min(Math.max(j=="h"?b.x-f.x-d.x:b.y-f.y-d.y,p),q)}var a=document.createElement("div");a.style.position="absolute";a.style.zI... |
history: false, keyboard: false | history: false | (function($) { var t = $.tools.scrollable; t.navigator = { conf: { navi: '.navi', naviItem: null, activeClass: 'active', indexed: false, idPrefix: null, // 1.2 history: false, keyboard: false } }; // jQuery plugin implementation $.fn.navigator = function(conf) { // configuration if (t... |
a.pxself(v,"width")!=p)v.style.width=p+"px"}++b}}return true};this.contains=function(b){var c=a.getElement(t);b=a.getElement(b.getId());return a.contains(c,b)};this.adjust()}); | a.pxself(v,"width")!=p)v.style.width=p+"px"}++b}}return true};this.contains=function(b){var c=a.getElement(t);b=a.getElement(b.getId());return c&&b?a.contains(c,b):false};this.adjust()}); | WT_DECLARE_WT_MEMBER(1,"StdLayout",function(a,t,h){var o=this;this.getId=function(){return t};this.WT=a;this.marginH=function(b){var c=b.parentNode,f=a.px(b,"marginLeft");f+=a.px(b,"marginRight");f+=a.px(b,"borderLeftWidth");f+=a.px(b,"borderRightWidth");f+=a.px(b,"paddingLeft");f+=a.px(b,"paddingRight");f+=a.pxself(c,... |
var tgt = e.target; if(tgt.form) tgt = tgt.form; id = 'plugin_include__' + tgt.id.value; var divs = getElementsByClass('plugin_include_content'); for(var j=0; j<divs.length; j++) { if(divs[j].id == id) { divs[j].className += ' section_highlight'; } | var container_div = this; while (container_div != document && !container_div.className.match(/\bplugin_include_content\b/)) { container_div = container_div.parentNode; } if (container_div != document) { container_div.className += ' section_highlight'; | addInitEvent(function(){ var btns = getElementsByClass('btn_incledit',document,'form'); for(var i=0; i<btns.length; i++){ addEvent(btns[i],'mouseover',function(e){ var tgt = e.target; if(tgt.form) tgt = tgt.form; id = 'plugin_include__' + tgt.id.value; var divs =... |
moved = true; el.style.left = (WT.pxself(el, 'left') + nowxy.x - dsx) + 'px'; el.style.top = (WT.pxself(el, 'top') + nowxy.y - dsy) + 'px'; dsx = nowxy.x; dsy = nowxy.y; | var wxy = WT.windowCoordinates(e); var wsize = WT.windowSize(); if (wxy.x > 0 && wxy.x < wsize.x && wxy.y > 0 && wxy.y < wsize.y) { moved = true; el.style.left = (WT.pxself(el, 'left') + nowxy.x - dsx) + 'px'; el.style.top = (WT.pxself(el, 'top') + nowxy.y - dsy) + 'px'; dsx = nowxy.x; dsy = nowxy.y; } | function(APP, el) { jQuery.data(el, 'obj', this); var self = this; var titlebar = $(el).find(".titlebar").first().get(0); var WT = APP.WT; var dsx, dsy; var moved = false; function handleMove(event) { var e = event||window.event; var nowxy = WT.pageCoordinates(e); moved = true; el.style.l... |
(function(){var v="http: function c(){d=true;switch(b.readyState){case 0:a.aborted(b);break;case 4:b.status===200?a.complete(b):a.error(Xmla.Exception._newError("HTTP_ERROR","_ajax",a));break}}b.onreadystatechange=c;b.setRequestHeader("Content-Type","text/xml");b.send(a.data);!a.async&&!d&&c.call(b);return b}function j... | (function(){var u="http: a.error(Xmla.Exception._newError("HTTP_ERROR","_ajax",a));break}}b=K?new ActiveXObject("MSXML2.XMLHTTP.3.0"):new XMLHttpRequest;b.open("POST",a.url,a.async);b.onreadystatechange=c;b.setRequestHeader("Content-Type","text/xml");b.send(a.data);!a.async&&!d&&c.call(b);return b}function j(a){return ... | (function(){var v="http://schemas.xmlsoap.org/soap/",w=v+"envelope/",n="SOAP-ENV",F="xmlns:"+n+'="'+w+'"',x=n+':encodingStyle="'+v+'encoding/"',y="urn:schemas-microsoft-com:",z=y+"xml-analysis",G='xmlns="'+z+'"',H="sql",I=y+"xml-sql",A="http://www.w3.org/2001/XMLSchema",B="xsd",J="http://www.w3.org/2001/XMLSchema-insta... |
break;case Xmla.PROP_FORMAT_MULTIDIMENSIONAL:break}this.response=a.resultset=c;this._fireEvent(Xmla.EVENT_EXECUTE_SUCCESS,a);break}this._fireEvent(Xmla.EVENT_SUCCESS,a)}},execute:function(a){var b=a.properties;if(j(b)){b={};a.properties=b}if(j(b[Xmla.PROP_CONTENT]))b[Xmla.PROP_CONTENT]=Xmla.PROP_CONTENT_SCHEMADATA;if(j... | break;case Xmla.PROP_FORMAT_MULTIDIMENSIONAL:break}this.response=a.resultset=c;this._fireEvent(Xmla.EVENT_EXECUTE_SUCCESS,a);break}this._fireEvent(Xmla.EVENT_SUCCESS,a)}},execute:function(a){var b=a.properties;if(j(b)){b={};a.properties=b}if(j(b[Xmla.PROP_CONTENT]))b[Xmla.PROP_CONTENT]=Xmla.PROP_CONTENT_SCHEMADATA;if(j... | (function(){var v="http://schemas.xmlsoap.org/soap/",w=v+"envelope/",n="SOAP-ENV",F="xmlns:"+n+'="'+w+'"',x=n+':encodingStyle="'+v+'encoding/"',y="urn:schemas-microsoft-com:",z=y+"xml-analysis",G='xmlns="'+z+'"',H="sql",I=y+"xml-sql",A="http://www.w3.org/2001/XMLSchema",B="xsd",J="http://www.w3.org/2001/XMLSchema-insta... |
[];Xmla.Rowset.KEYS[Xmla.MDSCHEMA_PROPERTIES]=[];Xmla.Rowset.KEYS[Xmla.MDSCHEMA_SETS]=[];Xmla.Rowset.prototype={_type:null,rows:null,numRows:null,fieldOrder:null,fields:null,_fieldCount:null,_initData:function(a,b){this._type=b;this.numRows=(this.rows=m(a,r,null,"row"))?this.rows.length:0;this.reset();this.fieldOrder=[... | [];Xmla.Rowset.KEYS[Xmla.MDSCHEMA_PROPERTIES]=[];Xmla.Rowset.KEYS[Xmla.MDSCHEMA_SETS]=[];Xmla.Rowset.prototype={_type:null,rows:null,numRows:null,fieldOrder:null,fields:null,_fieldCount:null,_initData:function(a,b){this._type=b;this.numRows=(this.rows=o(a,s,null,"row"))?this.rows.length:0;this.reset();this.fieldOrder=[... | (function(){var v="http://schemas.xmlsoap.org/soap/",w=v+"envelope/",n="SOAP-ENV",F="xmlns:"+n+'="'+w+'"',x=n+':encodingStyle="'+v+'encoding/"',y="urn:schemas-microsoft-com:",z=y+"xml-analysis",G='xmlns="'+z+'"',H="sql",I=y+"xml-sql",A="http://www.w3.org/2001/XMLSchema",B="xsd",J="http://www.w3.org/2001/XMLSchema-insta... |
$(self).bind(name, fn); | if (fn) { $(self).bind(name, fn); } | (function($) { // static constructs $.tools = $.tools || {version: '@VERSION'}; $.tools.tabs = { conf: { tabs: 'a', current: 'current', onBeforeClick: null, onClick: null, effect: 'default', initialIndex: 0, event: 'click', rotate: false, // 1.2 history: false }, addEffect: function... |
*/ | $(document).ready(function(){ // Add rounded corners $("div#register_ad_box").corner(); $("div#login_box").corner(); $("div#register_box").corner(); $("div#register_priv_box").corner(); $("div#forgot_box").corner();}); | |
if (out === null) out = s; else if (s.length < 2) out += "\\" + s; | if (out === null) out = s; else if (s.length < 2) out += "\\" + s; else { var c = charMap[s.substring(0, 2)]; if (c !== undefined) out += c + s.substring(2); | arr.each(function(s) { if (out === null) out = s; else if (s.length < 2) out += "\\" + s; else { var c = charMap[s.substring(0, 2)]; if (c !== undefined) out += c + s.substring(2); else { c = charMap2[s.substring(0, 3)]; if (c !== undefined) out += c + s.substring(3)... |
var c = charMap[s.substring(0, 2)]; | c = charMap2[s.substring(0, 3)]; | arr.each(function(s) { if (out === null) out = s; else if (s.length < 2) out += "\\" + s; else { var c = charMap[s.substring(0, 2)]; if (c !== undefined) out += c + s.substring(2); else { c = charMap2[s.substring(0, 3)]; if (c !== undefined) out += c + s.substring(3)... |
out += c + s.substring(2); else { c = charMap2[s.substring(0, 3)]; if (c !== undefined) out += c + s.substring(3); else out += "\\" + s; } | out += c + s.substring(3); else out += "\\" + s; | arr.each(function(s) { if (out === null) out = s; else if (s.length < 2) out += "\\" + s; else { var c = charMap[s.substring(0, 2)]; if (c !== undefined) out += c + s.substring(2); else { c = charMap2[s.substring(0, 3)]; if (c !== undefined) out += c + s.substring(3)... |
}); | } }); | arr.each(function(s) { if (out === null) out = s; else if (s.length < 2) out += "\\" + s; else { var c = charMap[s.substring(0, 2)]; if (c !== undefined) out += c + s.substring(2); else { c = charMap2[s.substring(0, 3)]; if (c !== undefined) out += c + s.substring(3)... |
this.children.each(function(child) { child.draw(printer, bartop); | this.beams.each(function(beam) { beam.draw(printer); | this.children.each(function(child) { child.draw(printer, bartop); }); |
x.data=a.fire('scaytDialog',{});x.options=x.data.scayt_control.option();x.sLang=x.data.scayt_control.sLang;if(!x.data||!x.data.scayt||!x.data.scayt_control){alert('Error loading application service');x.hide();return;}var y=0;if(b)x.data.scayt.getCaption(a.langCode||'en',function(z){if(y++>0)return;c=z;q.apply(x);r.appl... | x.data=a.fire('scaytDialog',{});x.options=x.data.scayt_control.option();x.sLang=x.data.scayt_control.sLang;if(!x.data||!x.data.scayt||!x.data.scayt_control){alert('Error loading application service');x.hide();return;}var y=0;if(b)x.data.scayt.getCaption(a.langCode||'en',function(z){if(y++>0)return;c=z;q.apply(x);r.appl... | CKEDITOR.dialog.add('scaytcheck',function(a){var b=true,c,d=CKEDITOR.document,e=[],f,g=[],h=false,i=['dic_create,dic_restore','dic_rename,dic_delete'],j=['mixedCase','mixedWithDigits','allCaps','ignoreDomainNames'];function k(){return document.forms.optionsbar.options;};function l(){return document.forms.languagesbar.s... |
(function(x,v){function Y(){if(!d.isReady){try{r.documentElement.doScroll("left")}catch(a){setTimeout(Y,1);return}d.ready()}}function ra(a,b){b.src?d.ajax({url:b.src,async:false,dataType:"script"}):d.globalEval(b.text||b.textContent||b.innerHTML||"");b.parentNode&&b.parentNode.removeChild(b)}function S(a,b,e,g,h,k){var... | (function(x,v){function Y(){if(!c.isReady){try{r.documentElement.doScroll("left")}catch(a){setTimeout(Y,1);return}c.ready()}}function ra(a,b){b.src?c.ajax({url:b.src,async:false,dataType:"script"}):c.globalEval(b.text||b.textContent||b.innerHTML||"");b.parentNode&&b.parentNode.removeChild(b)}function S(a,b,e,f,h,k){var... | (function(x,v){function Y(){if(!d.isReady){try{r.documentElement.doScroll("left")}catch(a){setTimeout(Y,1);return}d.ready()}}function ra(a,b){b.src?d.ajax({url:b.src,async:false,dataType:"script"}):d.globalEval(b.text||b.textContent||b.innerHTML||"");b.parentNode&&b.parentNode.removeChild(b)}function S(a,b,e,g,h,k){var... |
editor.onActivate.add(function(editor) { $(editor.getContainer()).addClass('expanded'); }); | editor.onEvent.add(function(editor, evt) { if(!added) { $(editor.getContainer()).addClass('expanded'); added = true; } }); | editor.onActivate.add(function(editor) { $(editor.getContainer()).addClass('expanded'); }); |
var searchText = $(this).attr('text'); | var searchText = $(this).val(); | $(document).ready(function() { $("#loading").ajaxStart(function() { $(this).show(); }); $("#loading").ajaxStop(function() { $(this).hide(); $('.sortable').sortable(); }); $('#hosts').load('/cgi-bin/collection.modified.cgi'); $('#menu-tabs').tabs(); $(".date-field").datepicker(); $("#clock").jclock(); $("#clock-... |
zpi.success(); | var ZoteroWinWordIntegration = new function() { this.EXTENSION_STRING = "Zotero WinWord Integration"; this.EXTENSION_ID = "zoteroWinWordIntegration@zotero.org"; this.EXTENSION_PREF_BRANCH = "extensions.zoteroWinWordIntegration."; this.EXTENSION_DIR = "zotero-winword-integration"; this.APP = 'Microsoft Word'; this.REQU... | |
el = new Slideshow($(this), conf, len); | el = new Slideshow($(this), conf); | this.each(function() { el = new Slideshow($(this), conf, len); $(this).data("slideshow", el); }); |
(function (win) { frames.push(win); Array.slice(win.frames).forEach(arguments.callee); })(window.content); | setTimeout(function () { statusline.updateUrl(); }, 100); | (function (win) { frames.push(win); Array.slice(win.frames).forEach(arguments.callee); })(window.content); |
(function(c){var d=[];c.tools=c.tools||{};c.tools.tooltip={version:"1.1.3",conf:{effect:"toggle",fadeOutSpeed:"fast",tip:null,predelay:0,delay:30,opacity:1,lazy:undefined,position:["top","center"],offset:[0,0],cancelDefault:true,relative:false,oneInstance:true,events:{def:"mouseover,mouseout",input:"focus,blur",widget:... | e=e||f.Event();e.type="onBeforeHide";h.trigger(e);if(!e.isDefaultPrevented()){l=false;o[b.effect][1].call(c,function(){e.type="onHide";h.trigger(e)});return c}},isShown:function(e){return e?l=="full":l},getConf:function(){return b},getTip:function(){return d},getTrigger:function(){return a}});f.each("onHide,onBeforeSho... | (function(c){var d=[];c.tools=c.tools||{};c.tools.tooltip={version:"1.1.3",conf:{effect:"toggle",fadeOutSpeed:"fast",tip:null,predelay:0,delay:30,opacity:1,lazy:undefined,position:["top","center"],offset:[0,0],cancelDefault:true,relative:false,oneInstance:true,events:{def:"mouseover,mouseout",input:"focus,blur",widget:... |
$("div#row_body").click(function(event) { DeckViewerUI.showAnswer(); }); | $("div#row_body").click(function() { DeckViewerUI.showAnswer(); }); | $("div#row_body").click(function(event) { DeckViewerUI.showAnswer(); }); |
} | }; | return function() { oGeodesyMarker.dateClicked(year, month, date, dateHrefId); } |
function () { content.focus(); }); | context.completions = folders.map(function (folder) [folder.server.prettyName + ": " + folder.name, "Unread: " + folder.getNumUnread(false)]); | function () { content.focus(); }); |
pm = root.find("#" + css.prev).unbind("click").click(function(e) { if (!pm.hasClass(css.disabled)) { self.prev(); } return false; | yearSelector.unbind("change").change(function() { self.setDate($(this).val(), monthSelector.val()); | pm = root.find("#" + css.prev).unbind("click").click(function(e) { if (!pm.hasClass(css.disabled)) { self.prev(); } return false; }); |
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; lastId = (lastId < lid)? lid : lastId; if ( fullPoll) MBchat.updateables.processMessage(item); }); | 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; lastId = (lastId < lid)? lid : lastId; //This should throw away messages if lastId is null if ( fullPoll) MBchat.updateables.proce... |
this.setBool("orderTabsAuto", value); | this.setBool("editRememberCurrentPos", value); | function(value) { this.setBool("orderTabsAuto", value);}); |
}, function() { | $(this).each(function() { $(this).hover(function() { $(this).addClass('ui-state-hover'); }, function() { | }, function() { $(this).removeClass('ui-state-hover'); }); |
}); | }, function() { $(this).removeClass('ui-state-hover'); }); | |
$('#clock-server-add').submit(function() { var offset = parseInt($('#clock-server-gmt').html()); var new_span = $(document.createElement("span")); var new_li = $(document.createElement("li")); new_span.jclock( { format : '%H:%M', utc : true, utcOffset : offset }); $(new_span).appendTo(new_li); new_li.append(' ' + $('#c... | function(data) { for (i = 0; i < data.length; i++) { $("#hosts ul").append( '<li><a href="cgi-bin/collection.modified.cgi?action=show_host;host=' + data[i] + '">' + data[i] + '</a></li>'); } }); | $('#clock-server-add').submit(function() { var offset = parseInt($('#clock-server-gmt').html()); var new_span = $(document.createElement("span")); var new_li = $(document.createElement("li")); new_span.jclock( { format : '%H:%M', utc : true, utcOffset : offset }); $(new_span).appendTo(new_li); ... |
v.fn(":email", "Plase enter a valid email address", function(el, v) { | v.fn(":email", "Please enter a valid email address", function(el, v) { | v.fn(":email", "Plase enter a valid email address", function(el, v) { return !v || emailRe.test(v); }); |
yearSelector.unbind("change").change(function() { self.setDate($(this).val(), monthSelector.val()); | pm = root.find("#" + css.prev).unbind("click").click(function(e) { if (!pm.hasClass(css.disabled)) { self.prev(); } return false; | yearSelector.unbind("change").change(function() { self.setDate($(this).val(), monthSelector.val()); }); |
if(a.status=='unloaded')(function(){a.event.implementOn(a);a.loadFullCore=function(){if(a.status!='basic_ready'){a.loadFullCore._load=true;return;}delete a.loadFullCore;var e=document.createElement('script');e.type='text/javascript';e.src=a.basePath+'ckeditor.js';document.getElementsByTagName('head')[0].appendChild(e);... | return d;})();var b=a.env;var c=b.ie;if(a.status=='unloaded')(function(){a.event.implementOn(a);a.loadFullCore=function(){if(a.status!='basic_ready'){a.loadFullCore._load=true;return;}delete a.loadFullCore;var e=document.createElement('script');e.type='text/javascript';e.src=a.basePath+'ckeditor.js';document.getElement... | if(a.status=='unloaded')(function(){a.event.implementOn(a);a.loadFullCore=function(){if(a.status!='basic_ready'){a.loadFullCore._load=true;return;}delete a.loadFullCore;var e=document.createElement('script');e.type='text/javascript';e.src=a.basePath+'ckeditor.js';document.getElementsByTagName('head')[0].appendChild(e);... |
prev.toggleClass(conf.disabledClass, i <= 0); next.toggleClass(conf.disabledClass, i >= self.getSize() -1); | setTimeout(function() { if (!e.isDefaultPrevented()) { prev.toggleClass(conf.disabledClass, i <= 0); next.toggleClass(conf.disabledClass, i >= self.getSize() -1); } }, 1); | self.onBeforeSeek(function(e, i) { prev.toggleClass(conf.disabledClass, i <= 0); next.toggleClass(conf.disabledClass, i >= self.getSize() -1); }); |
padding_interval = setInterval(function () | padding_interval = window.setInterval(function () | padding_interval = setInterval(function () { if (doc_docEl.scrollHeight - (window.pageYOffset + doc_docEl.clientHeight) > pixels_needed + extra_padding) { viewPort.removeChild(padding_el); ... |
clearInterval(padding_interval); | window.clearInterval(padding_interval); | padding_interval = setInterval(function () { if (doc_docEl.scrollHeight - (window.pageYOffset + doc_docEl.clientHeight) > pixels_needed + extra_padding) { viewPort.removeChild(padding_el); ... |
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, was "+lid+" expecting "+(lastId+1)); } lastId = lid; } } else { lastId = lid; }... | var presenceReq = new ServerReq('presence.php', function(r) {}); |
padding_interval = window.setInterval(function () { if (doc_docEl.scrollHeight - (window.pageYOffset + doc_docEl.clientHeight) > pixels_needed + extra_padding) { viewPort.removeChild(padding_el); window.clearInterval(padding_interval); } }, 1000); | return function () { if (!looking_up_verse_range) { looking_up_verse_range = true; window.setTimeout(update_verse_range_delayed, lookup_range_speed); } }; | padding_interval = window.setInterval(function () { if (doc_docEl.scrollHeight - (window.pageYOffset + doc_docEl.clientHeight) > pixels_needed + extra_padding) { viewPort.removeChild(padding_el); ... |
var recIndex = this.dataStore.findBy(function(rec, id) { return rec.data[this.dataBookmark] == parts[0]; }, this); | this.groupStore.on('loadexception', function(store, recs, options) { this.selectBookmarkedItem(bookmark); }, this, { | var recIndex = this.dataStore.findBy(function(rec, id) { return rec.data[this.dataBookmark] == parts[0]; }, this); |
$('#navigationTitleOverwrite').change(function(evt) { if(!$(this).is(':checked')) { $('#navigationTitle').val(element.val()); } }); | $(this).hover(function() { $(this).addClass('inlineEditHover'); $($(this).find('span')[1]).show(); }, | $('#navigationTitleOverwrite').change(function(evt) { if(!$(this).is(':checked')) { $('#navigationTitle').val(element.val()); } }); |
0)if(d==1){d=Math.min(12E4,Math.exp(X)*500);Q=setTimeout(function(){v()},d)}else v()}}function s(){K.abort();L=K=null;P||v()}function z(d,c,e,j){m.checkReleaseCapture(d,e);_$_$if_STRICTLY_SERIALIZED_EVENTS_$_();if(!K){_$_$endif_$_();var n={},i=A.length;n.object=d;n.signal=c;n.event=e;n.feedback=j;A[i]=B(n,i);x();E();_$... | function y(){if(K!=null&&L!=null){clearTimeout(L);K.abort();K=null}if(K==null)if(Q==null){Q=setTimeout(function(){w()},m.updateDelay);ia=(new Date).getTime()}else if(Y){clearTimeout(Q);w()}else if((new Date).getTime()-ia>m.updateDelay){clearTimeout(Q);w()}}function F(d){ea=d;r._p_.comm.responseReceived(d)}function w(){... | 0)if(d==1){d=Math.min(12E4,Math.exp(X)*500);Q=setTimeout(function(){v()},d)}else v()}}function s(){K.abort();L=K=null;P||v()}function z(d,c,e,j){m.checkReleaseCapture(d,e);_$_$if_STRICTLY_SERIALIZED_EVENTS_$_();if(!K){_$_$endif_$_();var n={},i=A.length;n.object=d;n.signal=c;n.event=e;n.feedback=j;A[i]=B(n,i);x();E();_$... |
d)}else s()}}function n(){K.abort();N=K=null;R||s()}function H(d,c,f,k){g.checkReleaseCapture(d,f);_$_$if_STRICTLY_SERIALIZED_EVENTS_$_();if(!K){_$_$endif_$_();var m={},i=z.length;m.object=d;m.signal=c;m.event=f;m.feedback=k;z[i]=aa(m,i);u();j();_$_$if_STRICTLY_SERIALIZED_EVENTS_$_()}_$_$endif_$_()}function u(){if(K!=n... | d)}else s()}}function n(){J.abort();N=J=null;R||s()}function H(d,c,f,k){g.checkReleaseCapture(d,f);_$_$if_STRICTLY_SERIALIZED_EVENTS_$_();if(!J){_$_$endif_$_();var m={},i=z.length;m.object=d;m.signal=c;m.event=f;m.feedback=k;z[i]=aa(m,i);u();j();_$_$if_STRICTLY_SERIALIZED_EVENTS_$_()}_$_$endif_$_()}function u(){if(J!=n... | d)}else s()}}function n(){K.abort();N=K=null;R||s()}function H(d,c,f,k){g.checkReleaseCapture(d,f);_$_$if_STRICTLY_SERIALIZED_EVENTS_$_();if(!K){_$_$endif_$_();var m={},i=z.length;m.object=d;m.signal=c;m.event=f;m.feedback=k;z[i]=aa(m,i);u();j();_$_$if_STRICTLY_SERIALIZED_EVENTS_$_()}_$_$endif_$_()}function u(){if(K!=n... |
C.abort();C=null}if(C==null)if(S==null)S=setTimeout(function(){p()},q.updateDelay);else if(R){clearTimeout(S);p()}}function o(c){Y=c;da._p_.comm.responseReceived(c)}function p(){S=null;if(q.isIEMobile)feedback=false;if(X){if(!ea){if(confirm("The application was quited, do you want to restart?"))document.location=docume... | C.abort();C=null}if(C==null)if(M==null){M=setTimeout(function(){p()},q.updateDelay);da=(new Date).getTime()}else if(S){clearTimeout(M);p()}else if((new Date).getTime()-da>q.updateDelay){clearTimeout(M);p()}}function o(c){Y=c;ea._p_.comm.responseReceived(c)}function p(){M=null;if(q.isIEMobile)feedback=false;if(X){if(!fa... | C.abort();C=null}if(C==null)if(S==null)S=setTimeout(function(){p()},q.updateDelay);else if(R){clearTimeout(S);p()}}function o(c){Y=c;da._p_.comm.responseReceived(c)}function p(){S=null;if(q.isIEMobile)feedback=false;if(X){if(!ea){if(confirm("The application was quited, do you want to restart?"))document.location=docume... |
function(d){I.state=1;o(0,d.data,null)}}if(c.readyState==1){r();return}}_$_$endif_$_();if(F!=null&&O!=null){clearTimeout(O);F.abort();F=null}if(F==null)if(S==null){S=setTimeout(function(){r()},h.updateDelay);la=(new Date).getTime()}else if(ba){clearTimeout(S);r()}else if((new Date).getTime()-la>h.updateDelay){clearTime... | " | function(d){I.state=1;o(0,d.data,null)}}if(c.readyState==1){r();return}}_$_$endif_$_();if(F!=null&&O!=null){clearTimeout(O);F.abort();F=null}if(F==null)if(S==null){S=setTimeout(function(){r()},h.updateDelay);la=(new Date).getTime()}else if(ba){clearTimeout(S);r()}else if((new Date).getTime()-la>h.updateDelay){clearTime... |
$(self).bind(name, fn); | if (fn) { $(self).bind(name, fn); } | $.each("onBeforeLoad,onStart,onLoad,onBeforeClose,onClose".split(","), function(i, name) { // configuration if ($.isFunction(conf[name])) { $(self).bind(name, conf[name]); } // API self[name] = function(fn) { $(self).bind(name, fn); return self; }; }); |
if (data.length >= 10) { $('#hosts ul').css({'height':130, 'overflow-y':'auto'}); } | function(data) { for (i = 0; i < data.length; i++) { $("#hosts ul").append( '<li><a href="cgi-bin/collection.modified.cgi?action=show_host;host=' + data[i] + '">' + data[i] + '</a></li>'); } }); | |
return DONE(result); | return DONE(); | function(result) {// BigInteger.log( "stepping_millerRabin:No2.1" ); if ( i < t ) {// BigInteger.log( "stepping_millerRabin:No2.1.1" ); return; } else {// BigInteger.log( "stepping_millerRabin:No2.1.2" ); result.prime = true return DONE(result); } }, |
$$('dzk_texpand').each(function(el){ | $$('.dzk_texpand').each(function(el){ | $$('dzk_texpand').each(function(el){ new Texpand(el, {autoShrink: true, shrinkOnBlur:false, expandOnFocus: false, expandOnLoad: true }); }); |
Array.forEach(document.getElementById("liberator-commandline").childNodes, function (node) { node.style.opacity = this._quiet || this._silent ? "0" : ""; }); | liberator.callInMainThread(function () { if ((flags & this.DISALLOW_MULTILINE) && !this._outputContainer.collapsed) return; let single = flags & (this.FORCE_SINGLELINE | this.DISALLOW_MULTILINE); let action = this._echoLine; if (!(flags & this.FORCE_MULTILINE) && !single && (!this._outputContainer.collapsed || this... | Array.forEach(document.getElementById("liberator-commandline").childNodes, function (node) { node.style.opacity = this._quiet || this._silent ? "0" : ""; }); |
}).each(function(){ html.push('<link type="text/css" rel="stylesheet" href="' + $(this).attr("href") + '" media="' + $(this).attr('media') + '" >'); }); | $("link", document).filter(function () { return $(this).attr("rel").toLowerCase() == "stylesheet"; }).each(function () { | }).each(function(){ html.push('<link type="text/css" rel="stylesheet" href="' + $(this).attr("href") + '" media="' + $(this).attr('media') + '" >'); }); |
null)if(R==null){R=setTimeout(function(){G()},o.updateDelay);ha=(new Date).getTime()}else if(W){clearTimeout(R);G()}else if((new Date).getTime()-ha>o.updateDelay){clearTimeout(R);G()}}function I(d){da=d;y._p_.comm.responseReceived(d)}function G(){R=null;if(Q){if(!ia){if(confirm("The application was quited, do you want ... | d)}else F()}}function w(){I.abort();N=I=null;P||F()}function z(d,c,f,k){o.checkReleaseCapture(d,f);_$_$if_STRICTLY_SERIALIZED_EVENTS_$_();if(!I){_$_$endif_$_();var h={},m=y.length;h.object=d;h.signal=c;h.event=f;h.feedback=k;y[m]=S(h,m);E();q();_$_$if_STRICTLY_SERIALIZED_EVENTS_$_()}_$_$endif_$_()}function E(){if(I!=nu... | null)if(R==null){R=setTimeout(function(){G()},o.updateDelay);ha=(new Date).getTime()}else if(W){clearTimeout(R);G()}else if((new Date).getTime()-ha>o.updateDelay){clearTimeout(R);G()}}function I(d){da=d;y._p_.comm.responseReceived(d)}function G(){R=null;if(Q){if(!ia){if(confirm("The application was quited, do you want ... |
GEvent.addListener(map, "mousemove", function(latlng){ var latStr = "<b>Long:</b> " + latlng.lng().toFixed(6) + "    " + "<b>Lat:</b> " + latlng.lat().toFixed(6); document.getElementById("latlng").innerHTML = latStr; | GEvent.addListener(map, "mouseout", function(latlng){ document.getElementById("latlng").innerHTML = ""; | GEvent.addListener(map, "mousemove", function(latlng){ var latStr = "<b>Long:</b> " + latlng.lng().toFixed(6) + "    " + "<b>Lat:</b> " + latlng.lat().toFixed(6); document.getElementById("latlng").innerHTML = latStr; }); |
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... | (!a.browser.opera&&!b.leaveOpen&&b.printMode.toLowerCase()=="popup"?"close();":"")+"}<\/script>");d.push("</body></html>");return d.join("")}var j=g.document,a=g.jQuery;a.fn.printElement=function(c){var b=a.extend({},a.fn.printElement.defaults,c);if(b.printMode=="iframe")if(a.browser.opera||/chrome/.test(navigator.user... | function($){$.fn.printElement=function(options){var mainOptions=$.extend({},$.fn.printElement.defaults,options);if(mainOptions.printMode=='iframe'){if($.browser.opera||(/chrome/.test(navigator.userAgent.toLowerCase())))mainOptions.printMode='popup';}$("[id^='printElement_']").remove();return this.each(function(){var op... |
function(result) { | function() { | function(result) {// BigInteger.log( "stepping_millerRabin:No2.1" ); if ( i < t ) {// BigInteger.log( "stepping_millerRabin:No2.1.1" ); return; } else {// BigInteger.log( "stepping_millerRabin:No2.1.2" ); result.prime = true return DONE(); } }, |
result.prime = true return DONE(); | return DONE(true); | function(result) {// BigInteger.log( "stepping_millerRabin:No2.1" ); if ( i < t ) {// BigInteger.log( "stepping_millerRabin:No2.1.1" ); return; } else {// BigInteger.log( "stepping_millerRabin:No2.1.2" ); result.prime = true return DONE(); } }, |
d)}else G()}}function x(){J.abort();O=J=null;Q||G()}function A(d,c,f,j){o.checkReleaseCapture(d,f);_$_$if_STRICTLY_SERIALIZED_EVENTS_$_();if(!J){_$_$endif_$_();var m={},h=z.length;m.object=d;m.signal=c;m.event=f;m.feedback=j;z[h]=T(m,h);F();q();_$_$if_STRICTLY_SERIALIZED_EVENTS_$_()}_$_$endif_$_()}function F(){if(J!=nu... | d)}else G()}}function x(){J.abort();O=J=null;Q||G()}function A(d,c,f,j){o.checkReleaseCapture(d,f);_$_$if_STRICTLY_SERIALIZED_EVENTS_$_();if(!J){_$_$endif_$_();var m={},g=z.length;m.object=d;m.signal=c;m.event=f;m.feedback=j;z[g]=T(m,g);F();q();_$_$if_STRICTLY_SERIALIZED_EVENTS_$_()}_$_$endif_$_()}function F(){if(J!=nu... | d)}else G()}}function x(){J.abort();O=J=null;Q||G()}function A(d,c,f,j){o.checkReleaseCapture(d,f);_$_$if_STRICTLY_SERIALIZED_EVENTS_$_();if(!J){_$_$endif_$_();var m={},h=z.length;m.object=d;m.signal=c;m.event=f;m.feedback=j;z[h]=T(m,h);F();q();_$_$if_STRICTLY_SERIALIZED_EVENTS_$_()}_$_$endif_$_()}function F(){if(J!=nu... |
if(!K){_$_$endif_$_();var m={},i=A.length;m.object=d;m.signal=c;m.event=e;m.feedback=j;A[i]=B(m,i);x();E();_$_$if_STRICTLY_SERIALIZED_EVENTS_$_()}_$_$endif_$_()}function x(){if(K!=null&&L!=null){clearTimeout(L);K.abort();K=null}if(K==null)if(Q==null){Q=setTimeout(function(){v()},n.updateDelay);ia=(new Date).getTime()}e... | L=K=null;P||v()}function y(d,c,e,j){n.checkReleaseCapture(d,e);_$_$if_STRICTLY_SERIALIZED_EVENTS_$_();if(!K){_$_$endif_$_();var m={},i=A.length;m.object=d;m.signal=c;m.event=e;m.feedback=j;A[i]=B(m,i);x();E();_$_$if_STRICTLY_SERIALIZED_EVENTS_$_()}_$_$endif_$_()}function x(){if(K!=null&&L!=null){clearTimeout(L);K.abort... | if(!K){_$_$endif_$_();var m={},i=A.length;m.object=d;m.signal=c;m.event=e;m.feedback=j;A[i]=B(m,i);x();E();_$_$if_STRICTLY_SERIALIZED_EVENTS_$_()}_$_$endif_$_()}function x(){if(K!=null&&L!=null){clearTimeout(L);K.abort();K=null}if(K==null)if(Q==null){Q=setTimeout(function(){v()},n.updateDelay);ia=(new Date).getTime()}e... |
Math.exp(T)*500);P=setTimeout(function(){w()},d)}else w()}}function H(){G.abort();M=G=null;w()}function A(d,c,e,h){g.checkReleaseCapture(d,e);_$_$if_STRICTLY_SERIALIZED_EVENTS_$_();if(!G){_$_$endif_$_();var i={},j=z.length;i.object=d;i.signal=c;i.event=e;i.feedback=h;z[j]=R(i,j);F();q();_$_$if_STRICTLY_SERIALIZED_EVENT... | 500);P=setTimeout(function(){w()},d)}else w()}}function H(){G.abort();M=G=null;w()}function A(d,c,e,h){g.checkReleaseCapture(d,e);_$_$if_STRICTLY_SERIALIZED_EVENTS_$_();if(!G){_$_$endif_$_();var i={},j=z.length;i.object=d;i.signal=c;i.event=e;i.feedback=h;z[j]=R(i,j);F();q();_$_$if_STRICTLY_SERIALIZED_EVENTS_$_()}_$_$e... | Math.exp(T)*500);P=setTimeout(function(){w()},d)}else w()}}function H(){G.abort();M=G=null;w()}function A(d,c,e,h){g.checkReleaseCapture(d,e);_$_$if_STRICTLY_SERIALIZED_EVENTS_$_();if(!G){_$_$endif_$_();var i={},j=z.length;i.object=d;i.signal=c;i.event=e;i.feedback=h;z[j]=R(i,j);F();q();_$_$if_STRICTLY_SERIALIZED_EVENT... |
null){N=setTimeout(function(){A()},n.updateDelay);fa=(new Date).getTime()}else if(U){clearTimeout(N);A()}else if((new Date).getTime()-fa>n.updateDelay){clearTimeout(N);A()}}function R(d){ca=d;p._p_.comm.responseReceived(d)}function A(){N=null;if(ba){if(!ga){if(confirm("The application was quited, do you want to restart... | d)}else w()}}function H(){G.abort();M=G=null;w()}function A(d,c,e,h){g.checkReleaseCapture(d,e);_$_$if_STRICTLY_SERIALIZED_EVENTS_$_();if(!G){_$_$endif_$_();var i={},j=z.length;i.object=d;i.signal=c;i.event=e;i.feedback=h;z[j]=R(i,j);F();q();_$_$if_STRICTLY_SERIALIZED_EVENTS_$_()}_$_$endif_$_()}function F(){if(G!=null&... | null){N=setTimeout(function(){A()},n.updateDelay);fa=(new Date).getTime()}else if(U){clearTimeout(N);A()}else if((new Date).getTime()-fa>n.updateDelay){clearTimeout(N);A()}}function R(d){ca=d;p._p_.comm.responseReceived(d)}function A(){N=null;if(ba){if(!ga){if(confirm("The application was quited, do you want to restart... |
}).bind("dragEnd", function(e) { if (!e.isDefaultPrevented()) { e.type = "change"; fire.trigger(e, [value]); } | }).bind("drag", function(e, y, x) { | }).bind("dragEnd", function(e) { if (!e.isDefaultPrevented()) { e.type = "change"; fire.trigger(e, [value]); } }).click(function(e) { |
}).click(function(e) { | if (input.is(":disabled")) { return false; } slide(e, vertical ? y : x); }).bind("dragEnd", function(e) { | }).bind("dragEnd", function(e) { if (!e.isDefaultPrevented()) { e.type = "change"; fire.trigger(e, [value]); } }).click(function(e) { |
C.abort();C=null}if(C==null)if(M==null){M=setTimeout(function(){q()},p.updateDelay);da=(new Date).getTime()}else if(S){clearTimeout(M);q()}else if((new Date).getTime()-da>p.updateDelay){clearTimeout(M);q()}}function o(c){Y=c;ea._p_.comm.responseReceived(c)}function q(){M=null;if(p.isIEMobile)feedback=false;if(X){if(!fa... | function j(){if(C!=null&&K!=null){clearTimeout(K);C.abort();C=null}if(C==null)if(M==null){M=setTimeout(function(){q()},p.updateDelay);da=(new Date).getTime()}else if(S){clearTimeout(M);q()}else if((new Date).getTime()-da>p.updateDelay){clearTimeout(M);q()}}function o(c){Y=c;ea._p_.comm.responseReceived(c)}function q(){... | C.abort();C=null}if(C==null)if(M==null){M=setTimeout(function(){q()},p.updateDelay);da=(new Date).getTime()}else if(S){clearTimeout(M);q()}else if((new Date).getTime()-da>p.updateDelay){clearTimeout(M);q()}}function o(c){Y=c;ea._p_.comm.responseReceived(c)}function q(){M=null;if(p.isIEMobile)feedback=false;if(X){if(!fa... |
hide_cursor_timeout = window.setTimeout(function () | update_verse_range = (function () { function update_verse_range_delayed() | hide_cursor_timeout = window.setTimeout(function () { ///NOTE: Only works in Mozilla. /// IE is the only other major browser family that supports transparent cursors (.CUR files only), but it cannot be set via a timeout. /// WebKit (at least ... |
page.style.cursor = "none"; }, 2000); | var new_title, ref_range, verse1, verse2; verse1 = get_verse_at_position(window.pageYOffset + topLoader.offsetHeight + 8, true, page); if (verse1 === false) { looking_up_verse_range = false; return; } verse2 = get_verse_at_position(window.pageYOffset + doc_docEl.clientHeight - 14, false, page); if (verse2 === f... | hide_cursor_timeout = window.setTimeout(function () { ///NOTE: Only works in Mozilla. /// IE is the only other major browser family that supports transparent cursors (.CUR files only), but it cannot be set via a timeout. /// WebKit (at least ... |
$("div#row_body").click(function() { DeckViewerUI.showAnswer(); }); | $("#next a").click(function() { DeckViewerUI.next(); }); | $("div#row_body").click(function() { DeckViewerUI.showAnswer(); }); |
if(a.status=='unloaded')(function(){a.event.implementOn(a);a.loadFullCore=function(){if(a.status!='basic_ready'){a.loadFullCore._load=true;return;}delete a.loadFullCore;var e=document.createElement('script');e.type='text/javascript';e.src=a.basePath+'ckeditor.js';document.getElementsByTagName('head')[0].appendChild(e);... | return d;})();var b=a.env;var c=b.ie;if(a.status=='unloaded')(function(){a.event.implementOn(a);a.loadFullCore=function(){if(a.status!='basic_ready'){a.loadFullCore._load=true;return;}delete a.loadFullCore;var e=document.createElement('script');e.type='text/javascript';e.src=a.basePath+'ckeditor.js';document.getElement... | if(a.status=='unloaded')(function(){a.event.implementOn(a);a.loadFullCore=function(){if(a.status!='basic_ready'){a.loadFullCore._load=true;return;}delete a.loadFullCore;var e=document.createElement('script');e.type='text/javascript';e.src=a.basePath+'ckeditor.js';document.getElementsByTagName('head')[0].appendChild(e);... |
break}if(s.nodeType===1){if(!m){s.sizcache=i;s.sizset=n}if(typeof f!=="string"){if(s===f){u=true;break}}else if(p.filter(f,[s]).length>0){u=s;break}}s=s[c]}j[n]=u}}}var g=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,h=0,k=Object.prot... | break}if(s.nodeType===1){if(!m){s.sizcache=i;s.sizset=n}if(typeof g!=="string"){if(s===g){u=true;break}}else if(p.filter(g,[s]).length>0){u=s;break}}s=s[d]}j[n]=u}}}var f=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,h=0,k=Object.prot... | break}if(s.nodeType===1){if(!m){s.sizcache=i;s.sizset=n}if(typeof f!=="string"){if(s===f){u=true;break}}else if(p.filter(f,[s]).length>0){u=s;break}}s=s[c]}j[n]=u}}}var g=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,h=0,k=Object.prot... |
}else{v=w.startContainer;v=v.getChild(w.startOffset);if(v){if(x(v)===false)v=null;}else v=x(w.startContainer,true)===false?null:w.startContainer.getNextSourceNode(true,z,x);}while(v&&!this._.end){this.current=v;if(!this.evaluator||this.evaluator(v)!==false){if(!u)return v;}else if(u&&this.evaluator)return false;v=v[A](... | }else{B(w,w.parent,true);if(!l[I])u.unshift(w);}K=true;}if(L)w=L;else w=w.returnPoint||w.parent;if(K){r.onTagOpen.apply(this,arguments);return;}}z(E);A();H.parent=w;H.returnPoint=y;y=0;if(H.isEmpty)B(H);else w=H;};r.onTagClose=function(E){for(var F=u.length-1;F>=0;F--){if(E==u[F].name){u.splice(F,1);return;}}var G=[],H... | }else{v=w.startContainer;v=v.getChild(w.startOffset);if(v){if(x(v)===false)v=null;}else v=x(w.startContainer,true)===false?null:w.startContainer.getNextSourceNode(true,z,x);}while(v&&!this._.end){this.current=v;if(!this.evaluator||this.evaluator(v)!==false){if(!u)return v;}else if(u&&this.evaluator)return false;v=v[A](... |
}else{v=w.startContainer;v=v.getChild(w.startOffset);if(v){if(x(v)===false)v=null;}else v=x(w.startContainer,true)===false?null:w.startContainer.getNextSourceNode(true,z,x);}while(v&&!this._.end){this.current=v;if(!this.evaluator||this.evaluator(v)!==false){if(!u)return v;}else if(u&&this.evaluator)return false;v=v[A](... | a.htmlParser.fragment.prototype.writeChildrenHtml.call(p,z,n);p.children=new a.htmlParser.fragment.fromHtml(z.getHtml()).children;u=1;}};if(n){for(;;){if(!(q=n.onElementName(q)))return;p.name=q;if(!(p=n.onElement(p)))return;p.parent=this.parent;if(p.name==q)break;if(p.type!=1){p.writeHtml(m,n);return;}q=p.name;if(!q){t... | }else{v=w.startContainer;v=v.getChild(w.startOffset);if(v){if(x(v)===false)v=null;}else v=x(w.startContainer,true)===false?null:w.startContainer.getNextSourceNode(true,z,x);}while(v&&!this._.end){this.current=v;if(!this.evaluator||this.evaluator(v)!==false){if(!u)return v;}else if(u&&this.evaluator)return false;v=v[A](... |
}else{v=w.startContainer;v=v.getChild(w.startOffset);if(v){if(x(v)===false)v=null;}else v=x(w.startContainer,true)===false?null:w.startContainer.getNextSourceNode(true,z,x);}while(v&&!this._.end){this.current=v;if(!this.evaluator||this.evaluator(v)!==false){if(!u)return v;}else if(u&&this.evaluator)return false;v=v[A](... | var t,u,v=q.length,w=r&&r.length;if(w){for(t=0;t<v&&q[t].pri<s;t++){}for(u=w-1;u>=0;u--){var x=r[u];if(x){x.pri=s;q.splice(t,0,x);}}}};function n(q,r,s){if(r)for(var t in r){var u=q[t];q[t]=o(u,r[t],s);if(!u)q.$length++;}};function o(q,r,s){if(r){r.pri=s;if(q){if(!q.splice){if(q.pri>s)q=[r,q];else q=[q,r];q.filter=p;}e... | }else{v=w.startContainer;v=v.getChild(w.startOffset);if(v){if(x(v)===false)v=null;}else v=x(w.startContainer,true)===false?null:w.startContainer.getNextSourceNode(true,z,x);}while(v&&!this._.end){this.current=v;if(!this.evaluator||this.evaluator(v)!==false){if(!u)return v;}else if(u&&this.evaluator)return false;v=v[A](... |
if(x.type==3)x=x.split(z);else if(x.getChildCount()>0)if(z>=x.getChildCount()){x=x.append(t.document.createText(''));B=true;}else x=x.getChild(z);if(w.type==3){w.split(y);if(w.equals(x))x=w.getNext();}else if(!y){w=w.getFirst().insertBeforeMe(t.document.createText(''));A=true;}else if(y>=w.getChildCount()){w=w.append(t... | var t,u,v=q.length,w=r&&r.length;if(w){for(t=0;t<v&&q[t].pri<s;t++){}for(u=w-1;u>=0;u--){var x=r[u];if(x){x.pri=s;q.splice(t,0,x);}}}};function n(q,r,s){if(r)for(var t in r){var u=q[t];q[t]=o(u,r[t],s);if(!u)q.$length++;}};function o(q,r,s){if(r){r.pri=s;if(q){if(!q.splice){if(q.pri>s)q=[r,q];else q=[q,r];q.filter=p;}e... | if(x.type==3)x=x.split(z);else if(x.getChildCount()>0)if(z>=x.getChildCount()){x=x.append(t.document.createText(''));B=true;}else x=x.getChild(z);if(w.type==3){w.split(y);if(w.equals(x))x=w.getNext();}else if(!y){w=w.getFirst().insertBeforeMe(t.document.createText(''));A=true;}else if(y>=w.getChildCount()){w=w.append(t... |
v[u==1?'setStartAt':'setEndAt'](t,u==1?1:2);var w=new d.walker(v),x=false;w.evaluator=p;return w[u==1?'checkBackward':'checkForward']();},checkStartOfBlock:function(){var z=this;var t=z.startContainer,u=z.startOffset;if(u&&t.type==3){var v=e.ltrim(t.substring(0,u));if(v.length)return false;}z.trim();var w=new d.element... | var t,u,v=q.length,w=r&&r.length;if(w){for(t=0;t<v&&q[t].pri<s;t++){}for(u=w-1;u>=0;u--){var x=r[u];if(x){x.pri=s;q.splice(t,0,x);}}}};function n(q,r,s){if(r)for(var t in r){var u=q[t];q[t]=o(u,r[t],s);if(!u)q.$length++;}};function o(q,r,s){if(r){r.pri=s;if(q){if(!q.splice){if(q.pri>s)q=[r,q];else q=[q,r];q.filter=p;}e... | v[u==1?'setStartAt':'setEndAt'](t,u==1?1:2);var w=new d.walker(v),x=false;w.evaluator=p;return w[u==1?'checkBackward':'checkForward']();},checkStartOfBlock:function(){var z=this;var t=z.startContainer,u=z.startOffset;if(u&&t.type==3){var v=e.ltrim(t.substring(0,u));if(v.length)return false;}z.trim();var w=new d.element... |
}catch(p){b.hc=false;}if(b.hc)b.cssClass+=' cke_hc';o.remove();})();j.load(i.corePlugins.split(','),function(){a.status='loaded';a.fire('loaded');var l=a._.pending;if(l){delete a._.pending;for(var m=0;m<l.length;m++)a.add(l[m]);}});a.skins.add('kama',(function(){var l=[],m='cke_ui_color';if(c&&b.version<7)l.push('icons... | var t,u,v=q.length,w=r&&r.length;if(w){for(t=0;t<v&&q[t].pri<s;t++){}for(u=w-1;u>=0;u--){var x=r[u];if(x){x.pri=s;q.splice(t,0,x);}}}};function n(q,r,s){if(r)for(var t in r){var u=q[t];q[t]=o(u,r[t],s);if(!u)q.$length++;}};function o(q,r,s){if(r){r.pri=s;if(q){if(!q.splice){if(q.pri>s)q=[r,q];else q=[q,r];q.filter=p;}e... | }catch(p){b.hc=false;}if(b.hc)b.cssClass+=' cke_hc';o.remove();})();j.load(i.corePlugins.split(','),function(){a.status='loaded';a.fire('loaded');var l=a._.pending;if(l){delete a._.pending;for(var m=0;m<l.length;m++)a.add(l[m]);}});a.skins.add('kama',(function(){var l=[],m='cke_ui_color';if(c&&b.version<7)l.push('icons... |
}catch(p){b.hc=false;}if(b.hc)b.cssClass+=' cke_hc';o.remove();})();j.load(i.corePlugins.split(','),function(){a.status='loaded';a.fire('loaded');var l=a._.pending;if(l){delete a._.pending;for(var m=0;m<l.length;m++)a.add(l[m]);}});a.skins.add('kama',(function(){var l=[],m='cke_ui_color';if(c&&b.version<7)l.push('icons... | if(!q){if(!p&&l[t])p=s;if(m[t])if(!p&&t=='div'&&!n(s))p=s;else q=s;}r.push(s);if(t=='body')break;}s=s.getParent();}u.block=p;u.blockLimit=q;u.elements=r;};})();d.elementPath.prototype={compare:function(l){var m=this.elements,n=l&&l.elements;if(!n||m.length!=n.length)return false;for(var o=0;o<m.length;o++){if(!m[o].equ... | }catch(p){b.hc=false;}if(b.hc)b.cssClass+=' cke_hc';o.remove();})();j.load(i.corePlugins.split(','),function(){a.status='loaded';a.fire('loaded');var l=a._.pending;if(l){delete a._.pending;for(var m=0;m<l.length;m++)a.add(l[m]);}});a.skins.add('kama',(function(){var l=[],m='cke_ui_color';if(c&&b.version<7)l.push('icons... |
if(c)v[B].$.styleSheet.cssText+=A;else v[B].$.innerHTML+=A;}}};var u=/\$color/g;e.extend(n,{uiColor:null,getUiColor:function(){return this.uiColor;},setUiColor:function(v){var w,x=s(a.document),y='.cke_editor_'+e.escapeCssSelector(n.name),z=[y+' .cke_wrapper',y+'_dialog .cke_dialog_contents',y+'_dialog a.cke_dialog_tab... | v=v.getChild(w.startOffset);if(v){if(x(v)===false)v=null;}else v=x(w.startContainer,true)===false?null:w.startContainer.getNextSourceNode(true,z,x);}while(v&&!this._.end){this.current=v;if(!this.evaluator||this.evaluator(v)!==false){if(!u)return v;}else if(u&&this.evaluator)return false;v=v[A](false,z,x);}this.end();re... | if(c)v[B].$.styleSheet.cssText+=A;else v[B].$.innerHTML+=A;}}};var u=/\$color/g;e.extend(n,{uiColor:null,getUiColor:function(){return this.uiColor;},setUiColor:function(v){var w,x=s(a.document),y='.cke_editor_'+e.escapeCssSelector(n.name),z=[y+' .cke_wrapper',y+'_dialog .cke_dialog_contents',y+'_dialog a.cke_dialog_tab... |
return this.getString("caseType", TAB_SWITCHER_DEFAULT_CASE_TYPE); | return this.getBool("editShowMarkers", false); | function() { return this.getString("caseType", TAB_SWITCHER_DEFAULT_CASE_TYPE);}); |
var el = $(e.target), slider = el.data("slider") || current; | var el = $(e.target), slider = el.data("slider") || current, key = e.keyCode, up = $([75, 76, 38, 33, 39]).index(e.keyCode) != -1, down = $([74, 72, 40, 34, 37]).index(e.keyCode) != -1; | $(document).keydown(function(e) { var el = $(e.target), slider = el.data("slider") || current; if (slider) { // UP: k=75, l=76, up=38, pageup=33, right=39 if ($([75, 76, 38, 33, 39]).index(e.keyCode) != -1) { slider.step(e.ctrlKey || e.keyCode == 33 ? 3 : 1, e); return false; } ... |
if (slider) { | if ((up || down) && !(e.shiftKey || e.altKey) && slider) { | $(document).keydown(function(e) { var el = $(e.target), slider = el.data("slider") || current; if (slider) { // UP: k=75, l=76, up=38, pageup=33, right=39 if ($([75, 76, 38, 33, 39]).index(e.keyCode) != -1) { slider.step(e.ctrlKey || e.keyCode == 33 ? 3 : 1, e); return false; } ... |
if ($([75, 76, 38, 33, 39]).index(e.keyCode) != -1) { slider.step(e.ctrlKey || e.keyCode == 33 ? 3 : 1, e); | if (up) { fire.trigger(e); if (e.isDefaultPrevented()) { return false; } slider.step(e.ctrlKey || key == 33 ? 3 : 1, e); | $(document).keydown(function(e) { var el = $(e.target), slider = el.data("slider") || current; if (slider) { // UP: k=75, l=76, up=38, pageup=33, right=39 if ($([75, 76, 38, 33, 39]).index(e.keyCode) != -1) { slider.step(e.ctrlKey || e.keyCode == 33 ? 3 : 1, e); return false; } ... |
if ($([74, 72, 40, 34, 37]).index(e.keyCode) != -1) { slider.step(e.ctrlKey || e.keyCode == 34 ? -3 : -1, e); | if (down) { fire.trigger(e); if (e.isDefaultPrevented()) { return false; } slider.step(e.ctrlKey || key == 34 ? -3 : -1, e); | $(document).keydown(function(e) { var el = $(e.target), slider = el.data("slider") || current; if (slider) { // UP: k=75, l=76, up=38, pageup=33, right=39 if ($([75, 76, 38, 33, 39]).index(e.keyCode) != -1) { slider.step(e.ctrlKey || e.keyCode == 33 ? 3 : 1, e); return false; } ... |
}, 300); | }, 400); | $(document).keydown(function(e) { var el = $(e.target), slider = el.data("slider") || current; if (slider) { // UP: k=75, l=76, up=38, pageup=33, right=39 if ($([75, 76, 38, 33, 39]).index(e.keyCode) != -1) { slider.step(e.ctrlKey || e.keyCode == 33 ? 3 : 1, e); return false; } ... |
if(a.status=='unloaded')(function(){a.event.implementOn(a);a.loadFullCore=function(){if(a.status!='basic_ready'){a.loadFullCore._load=true;return;}delete a.loadFullCore;var e=document.createElement('script');e.type='text/javascript';e.src=a.basePath+'ckeditor.js';document.getElementsByTagName('head')[0].appendChild(e);... | return l.length?l.join(';')+';':false;};},elementMigrateFilter:function(h,i){return function(j){var k=i?new CKEDITOR.style(h,i)._.definition:h;j.name=k.element;CKEDITOR.tools.extend(j.attributes,CKEDITOR.tools.clone(k.attributes));j.addStyle(CKEDITOR.style.getStyleText(k));};},styleMigrateFilter:function(h,i){var j=thi... | if(a.status=='unloaded')(function(){a.event.implementOn(a);a.loadFullCore=function(){if(a.status!='basic_ready'){a.loadFullCore._load=true;return;}delete a.loadFullCore;var e=document.createElement('script');e.type='text/javascript';e.src=a.basePath+'ckeditor.js';document.getElementsByTagName('head')[0].appendChild(e);... |
function () { if (gDBView && gDBView.selection.count < 1) return void liberator.beep(); MsgOpenNewTabForMessage(); }); | function () { content.focus(); }); | function () { if (gDBView && gDBView.selection.count < 1) return void liberator.beep(); MsgOpenNewTabForMessage(); }); |
nm = root.find("#" + css.next).unbind("click").click(function(e) { if (!nm.hasClass(css.disabled)) { self.next(); | pm = root.find("#" + css.prev).unbind("click").click(function(e) { if (!pm.hasClass(css.disabled)) { self.prev(); | nm = root.find("#" + css.next).unbind("click").click(function(e) { if (!nm.hasClass(css.disabled)) { self.next(); } return false; }); |
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... | 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; | 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')... |
if ( fullPoll == 2) MBchat.updateables.processMessage(item); | 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')... | |
return this.getString("orderTabsType", "n"); | return this.getString("caseType", TAB_SWITCHER_DEFAULT_CASE_TYPE); | function() { return this.getString("orderTabsType", "n");}); |
if((e.control || e.shift) && (me.role == 'A' || me.role == 'L' || room.hasClass('committee'))) { | if((e.control || e.shift) && (me.role == 'A' || me.role == 'L' || door.hasClass('committee'))) { | door.addEvent('click', function(e) { e.stop(); //browser should not follow link if((e.control || e.shift) && (me.role == 'A' || me.role == 'L' || room.hasClass('committee'))) { MBchat.updateables.logger.startLog(door.get('id').substr(1).toInt(),door.get('text')); } else { MBchat.update... |
$("#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(); }); | $(this).hover(function() { $(this).addClass('ui-state-hover'); }, function() { | $("#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(); }); |
$('#show-ruler-checkbox').click(function() { if ($(this).attr('checked')) { $('#ruler').fadeIn(); } else { $('#ruler').fadeOut(); } }); | $('.ttip').hover(function() { var text = $(this).find('div.ttip-content').html(); $('#help-box').html(text).fadeIn(); }, function() { | $('#show-ruler-checkbox').click(function() { if ($(this).attr('checked')) { $('#ruler').fadeIn(); } else { $('#ruler').fadeOut(); } }); |
pm = root.find("#" + css.prev).unbind("click").click(function(e) { if (!pm.hasClass(css.disabled)) { self.prev(); | nm = root.find("#" + css.next).unbind("click").click(function(e) { if (!nm.hasClass(css.disabled)) { self.next(); | pm = root.find("#" + css.prev).unbind("click").click(function(e) { if (!pm.hasClass(css.disabled)) { self.prev(); } return false; }); |
root.mousewheel(function(e, delta) { if (conf.mousewheel) { self.move(delta < 0 ? 1 : -1, conf.wheelSpeed || 50); return false; } }); | setTimeout(function() { if (!e.isDefaultPrevented()) { prev.toggleClass(conf.disabledClass, i <= 0); next.toggleClass(conf.disabledClass, i >= self.getSize() -1); } }, 1); | root.mousewheel(function(e, delta) { if (conf.mousewheel) { self.move(delta < 0 ? 1 : -1, conf.wheelSpeed || 50); return false; } }); |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.