rem
stringlengths 0
126k
| add
stringlengths 0
441k
| context
stringlengths 15
136k
|
---|---|---|
i.appendChild(j.$.cloneNode(true));return i.innerHTML;},setHtml:function(i){return this.$.innerHTML=i;},setText:function(i){h.prototype.setText=this.$.innerText!=undefined?function(j){return this.$.innerText=j;}:function(j){return this.$.textContent=j;};return this.setText(i);},getAttribute:(function(){var i=function(j){return this.$.getAttribute(j,2);};if(c&&(b.ie7Compat||b.ie6Compat))return function(j){var n=this;switch(j){case 'class':j='className';break;case 'tabindex':var k=i.call(n,j);if(k!==0&&n.$.tabIndex===0)k=null;return k;break;case 'checked':var l=n.$.attributes.getNamedItem(j),m=l.specified?l.nodeValue:n.$.checked;return m?'checked':null;case 'hspace':return n.$.hspace;case 'style':return n.$.style.cssText;}return i.call(n,j);};else return i;})(),getChildren:function(){return new d.nodeList(this.$.childNodes);},getComputedStyle:c?function(i){return this.$.currentStyle[e.cssStyleToDomStyle(i)];}:function(i){return this.getWindow().$.getComputedStyle(this.$,'').getPropertyValue(i);},getDtd:function(){var i=f[this.getName()];this.getDtd=function(){return i;};return i;},getElementsByTag:g.prototype.getElementsByTag,getTabIndex:c?function(){var i=this.$.tabIndex;if(i===0&&!f.$tabIndex[this.getName()]&&parseInt(this.getAttribute('tabindex'),10)!==0)i=-1;return i;}:b.webkit?function(){var i=this.$.tabIndex;if(i==undefined){i=parseInt(this.getAttribute('tabindex'),10);if(isNaN(i))i=-1;}return i;}:function(){return this.$.tabIndex;},getText:function(){return this.$.textContent||this.$.innerText||'';},getWindow:function(){return this.getDocument().getWindow();},getId:function(){return this.$.id||null;},getNameAtt:function(){return this.$.name||null;},getName:function(){var i=this.$.nodeName.toLowerCase();if(c){var j=this.$.scopeName;if(j!='HTML')i=j.toLowerCase()+':'+i;}return(this.getName=function(){return i;})();},getValue:function(){return this.$.value;},getFirst:function(i){var j=this.$.firstChild,k=j&&new d.node(j);if(k&&i&&!i(k))k=k.getNext(i);return k;},getLast:function(i){var j=this.$.lastChild,k=j&&new d.node(j);if(k&&i&&!i(k))k=k.getPrevious(i);return k;},getStyle:function(i){return this.$.style[e.cssStyleToDomStyle(i)];},is:function(){var i=this.getName();for(var j=0;j<arguments.length;j++){if(arguments[j]==i)return true;}return false;},isEditable:function(){var i=this.getName(),j=!f.$nonEditable[i]&&(f[i]||f.span);return j&&j['#'];},isIdentical:function(i){if(this.getName()!=i.getName())return false;var j=this.$.attributes,k=i.$.attributes,l=j.length,m=k.length; | }:function(i){return!!(this.$.compareDocumentPosition(i.$)&16);},focus:function(){try{this.$.focus();}catch(i){}},getHtml:function(){var i=this.$.innerHTML;return c?i.replace(/<\?[^>]*>/g,''):i;},getOuterHtml:function(){var j=this;if(j.$.outerHTML)return j.$.outerHTML.replace(/<\?[^>]*>/,'');var i=j.$.ownerDocument.createElement('div');i.appendChild(j.$.cloneNode(true));return i.innerHTML;},setHtml:function(i){return this.$.innerHTML=i;},setText:function(i){h.prototype.setText=this.$.innerText!=undefined?function(j){return this.$.innerText=j;}:function(j){return this.$.textContent=j;};return this.setText(i);},getAttribute:(function(){var i=function(j){return this.$.getAttribute(j,2);};if(c&&(b.ie7Compat||b.ie6Compat))return function(j){var n=this;switch(j){case 'class':j='className';break;case 'tabindex':var k=i.call(n,j);if(k!==0&&n.$.tabIndex===0)k=null;return k;break;case 'checked':var l=n.$.attributes.getNamedItem(j),m=l.specified?l.nodeValue:n.$.checked;return m?'checked':null;case 'hspace':return n.$.hspace;case 'style':return n.$.style.cssText;}return i.call(n,j);};else return i;})(),getChildren:function(){return new d.nodeList(this.$.childNodes);},getComputedStyle:c?function(i){return this.$.currentStyle[e.cssStyleToDomStyle(i)];}:function(i){return this.getWindow().$.getComputedStyle(this.$,'').getPropertyValue(i);},getDtd:function(){var i=f[this.getName()];this.getDtd=function(){return i;};return i;},getElementsByTag:g.prototype.getElementsByTag,getTabIndex:c?function(){var i=this.$.tabIndex;if(i===0&&!f.$tabIndex[this.getName()]&&parseInt(this.getAttribute('tabindex'),10)!==0)i=-1;return i;}:b.webkit?function(){var i=this.$.tabIndex;if(i==undefined){i=parseInt(this.getAttribute('tabindex'),10);if(isNaN(i))i=-1;}return i;}:function(){return this.$.tabIndex;},getText:function(){return this.$.textContent||this.$.innerText||'';},getWindow:function(){return this.getDocument().getWindow();},getId:function(){return this.$.id||null;},getNameAtt:function(){return this.$.name||null;},getName:function(){var i=this.$.nodeName.toLowerCase();if(c){var j=this.$.scopeName;if(j!='HTML')i=j.toLowerCase()+':'+i;}return(this.getName=function(){return i;})();},getValue:function(){return this.$.value;},getFirst:function(i){var j=this.$.firstChild,k=j&&new d.node(j);if(k&&i&&!i(k))k=k.getNext(i);return k;},getLast:function(i){var j=this.$.lastChild,k=j&&new d.node(j);if(k&&i&&!i(k))k=k.getPrevious(i);return k;},getStyle:function(i){return this.$.style[e.cssStyleToDomStyle(i)]; | i.appendChild(j.$.cloneNode(true));return i.innerHTML;},setHtml:function(i){return this.$.innerHTML=i;},setText:function(i){h.prototype.setText=this.$.innerText!=undefined?function(j){return this.$.innerText=j;}:function(j){return this.$.textContent=j;};return this.setText(i);},getAttribute:(function(){var i=function(j){return this.$.getAttribute(j,2);};if(c&&(b.ie7Compat||b.ie6Compat))return function(j){var n=this;switch(j){case 'class':j='className';break;case 'tabindex':var k=i.call(n,j);if(k!==0&&n.$.tabIndex===0)k=null;return k;break;case 'checked':var l=n.$.attributes.getNamedItem(j),m=l.specified?l.nodeValue:n.$.checked;return m?'checked':null;case 'hspace':return n.$.hspace;case 'style':return n.$.style.cssText;}return i.call(n,j);};else return i;})(),getChildren:function(){return new d.nodeList(this.$.childNodes);},getComputedStyle:c?function(i){return this.$.currentStyle[e.cssStyleToDomStyle(i)];}:function(i){return this.getWindow().$.getComputedStyle(this.$,'').getPropertyValue(i);},getDtd:function(){var i=f[this.getName()];this.getDtd=function(){return i;};return i;},getElementsByTag:g.prototype.getElementsByTag,getTabIndex:c?function(){var i=this.$.tabIndex;if(i===0&&!f.$tabIndex[this.getName()]&&parseInt(this.getAttribute('tabindex'),10)!==0)i=-1;return i;}:b.webkit?function(){var i=this.$.tabIndex;if(i==undefined){i=parseInt(this.getAttribute('tabindex'),10);if(isNaN(i))i=-1;}return i;}:function(){return this.$.tabIndex;},getText:function(){return this.$.textContent||this.$.innerText||'';},getWindow:function(){return this.getDocument().getWindow();},getId:function(){return this.$.id||null;},getNameAtt:function(){return this.$.name||null;},getName:function(){var i=this.$.nodeName.toLowerCase();if(c){var j=this.$.scopeName;if(j!='HTML')i=j.toLowerCase()+':'+i;}return(this.getName=function(){return i;})();},getValue:function(){return this.$.value;},getFirst:function(i){var j=this.$.firstChild,k=j&&new d.node(j);if(k&&i&&!i(k))k=k.getNext(i);return k;},getLast:function(i){var j=this.$.lastChild,k=j&&new d.node(j);if(k&&i&&!i(k))k=k.getPrevious(i);return k;},getStyle:function(i){return this.$.style[e.cssStyleToDomStyle(i)];},is:function(){var i=this.getName();for(var j=0;j<arguments.length;j++){if(arguments[j]==i)return true;}return false;},isEditable:function(){var i=this.getName(),j=!f.$nonEditable[i]&&(f[i]||f.span);return j&&j['#'];},isIdentical:function(i){if(this.getName()!=i.getName())return false;var j=this.$.attributes,k=i.$.attributes,l=j.length,m=k.length; |
p?setTimeout(arguments.callee,0):z()}})()}o(z)}}var t=window.DomReady={},B=navigator.userAgent.toLowerCase(),y={version:(B.match(/.+(?:rv|it|ra|ie)[\/: ]([\d.]+)/)||[])[1],safari:/webkit/.test(B),opera:/opera/.test(B),msie:/msie/.test(B)&&!/opera/.test(B),mozilla:/mozilla/.test(B)&&!/(compatible|webkit)/.test(B)},C=false,A=false,E=[];t.ready=function(p){v();A?p.call(window,[]):E.push(function(){return p.call(window,[])})};v()})();(function(z,o){function v(j,n){for(var u=[],x=0;x<j.length;x++)u.push(j[x]);for(x=0;x<u.length;x++)n(u[x])}function t(){v([p,d],function(j){v(o.getElementsByTagName(j),function(n){var u=true;if(n.canPlayType)if(n.src&&n.canPlayType(B(j,n.src)))u=false;else v(n.getElementsByTagName("source"),function(x){if(n.canPlayType(B(j,x.src,x.type)))u=false});u&&t.createFallback(j,n)})})}function B(j,n,u){return u||k[j][n.split(".").slice(-1)[0]]||F[j]}function y(j,n){var u=j.getAttribute(n);return u==true|| | p?setTimeout(arguments.callee,0):z()}})()}o(z)}}var t=window.DomReady={},B=navigator.userAgent.toLowerCase(),y={version:(B.match(/.+(?:rv|it|ra|ie)[\/: ]([\d.]+)/)||[])[1],safari:/webkit/.test(B),opera:/opera/.test(B),msie:/msie/.test(B)&&!/opera/.test(B),mozilla:/mozilla/.test(B)&&!/(compatible|webkit)/.test(B)},C=false,A=false,E=[];t.ready=function(p){v();A?p.call(window,[]):E.push(function(){return p.call(window,[])})};v()})();(function(z,o){function v(j,n){for(var u=[],x=0;x<j.length;x++)u.push(j[x]);for(x=0;x<u.length;x++)n(u[x])}function t(){v([p,d],function(j){v(o.getElementsByTagName(j),function(n){var u=true,x=navigator.userAgent.toLowerCase().search("android")>-1;if(n.canPlayType)if(n.src){var H=B(j,n.src);if(n.canPlayType(H)||x&&H.search("mp4")>-1)u=false}else v(n.getElementsByTagName("source"),function(G){G=B(j,G.src,G.type);if(n.canPlayType(G)||x&&G.search("mp4")>-1)u=false});if(u)t.createFallback(j,n);else x&& | flashembed(this,d,e)});return d.api===false?this:a}})();(function(){function z(){if(!A){A=true;if(E){for(var p=0;p<E.length;p++)E[p].call(window,[]);E=[]}}}function o(p){var d=window.onload;window.onload=typeof window.onload!="function"?p:function(){d&&d();p()}}function v(){if(!C){C=true;document.addEventListener&&!y.opera&&document.addEventListener("DOMContentLoaded",z,false);y.msie&&window==top&&function(){if(!A){try{document.documentElement.doScroll("left")}catch(d){setTimeout(arguments.callee,0);return}z()}}();y.opera&&document.addEventListener("DOMContentLoaded",function(){if(!A){for(var d=0;d<document.styleSheets.length;d++)if(document.styleSheets[d].disabled){setTimeout(arguments.callee,0);return}z()}},false);if(y.safari){var p;(function(){if(!A)if(document.readyState!="loaded"&&document.readyState!="complete")setTimeout(arguments.callee,0);else{if(p===undefined){for(var d=document.getElementsByTagName("link"),e=0;e<d.length;e++)d[e].getAttribute("rel")=="stylesheet"&&p++;d=document.getElementsByTagName("style");p+=d.length}document.styleSheets.length!=p?setTimeout(arguments.callee,0):z()}})()}o(z)}}var t=window.DomReady={},B=navigator.userAgent.toLowerCase(),y={version:(B.match(/.+(?:rv|it|ra|ie)[\/: ]([\d.]+)/)||[])[1],safari:/webkit/.test(B),opera:/opera/.test(B),msie:/msie/.test(B)&&!/opera/.test(B),mozilla:/mozilla/.test(B)&&!/(compatible|webkit)/.test(B)},C=false,A=false,E=[];t.ready=function(p){v();A?p.call(window,[]):E.push(function(){return p.call(window,[])})};v()})();(function(z,o){function v(j,n){for(var u=[],x=0;x<j.length;x++)u.push(j[x]);for(x=0;x<u.length;x++)n(u[x])}function t(){v([p,d],function(j){v(o.getElementsByTagName(j),function(n){var u=true;if(n.canPlayType)if(n.src&&n.canPlayType(B(j,n.src)))u=false;else v(n.getElementsByTagName("source"),function(x){if(n.canPlayType(B(j,x.src,x.type)))u=false});u&&t.createFallback(j,n)})})}function B(j,n,u){return u||k[j][n.split(".").slice(-1)[0]]||F[j]}function y(j,n){var u=j.getAttribute(n);return u==true|| |
flashembed(this,f,e)});return f.api===false?this:a}})();(function(A,o){function v(j,n){for(var t=[],w=0;w<j.length;w++)t.push(j[w]);for(w=0;w<t.length;w++)n(t[w])}function s(){v([x,f],function(j){v(o.getElementsByTagName(j),function(n){var t=true;if(n.canPlayType)if(n.src&&n.canPlayType(F(j,n.src)))t=false;else v(n.getElementsByTagName("source"),function(w){if(n.canPlayType(F(j,w.src,w.type)))t=false});t&&s.createFallback(j,n)})})}function F(j,n,t){return t||k[j][n.split(".").slice(-1)[0]]||C[j]}function y(j,n){var t=j.getAttribute(n);return t==true|| typeof t=="string"}function B(j){if(j.substr(0,1)=="/")return q+j;if(j.substr(0,1)=="."||!j.match(/^\s*\w+:\/\ "aside","audio","canvas","details","figcaption","figure","footer","header","hgroup","mark","menu","meter","nav","output","progress","section","summary","time","video","source"],function(j){o.createElement(j)});var e="";v(o.getElementsByTagName("script"),function(j){j=j.src;if(j.match(/html5media(\.min|)\.js/))e=j.split("/").slice(0,-1).join("/")+"/"});s.flowplayerSwf=e+"flowplayer.swf";s.flowplayerAudioSwf=e+"flowplayer.audio.swf";s.flowplayerControlsSwf=e+"flowplayer.controls.swf";var a=s.THEORA_FORMAT= 'video/ogg; codecs="theora, vorbis"',b=s.H264_FORMAT='video/mp4; codecs="avc1.42E01E, mp4a.40.2"',c=s.VORBIS_FORMAT='audio/ogg; codecs="vorbis"',m=s.M4A_FORMAT="audio/x-m4a;",d=s.MP3_FORMAT="audio/mpeg;",l=s.WAV_FORMAT='audio/wav; codecs="1"',C=s.assumedFormats={video:b,audio:d},h=s.fallbackFormats=[s.H264_FORMAT,s.M4A_FORMAT,s.MP3_FORMAT],k=s.fileExtensions={video:{ogg:a,ogv:a,avi:b,mp4:b,mkv:b,h264:b,"264":b,avc:b,m4v:b,"3gp":b,"3gpp":b,"3g2":b},audio:{ogg:c,oga:c,aac:m,m4a:m,mp3:d,wav:l}},q=A.location.protocol+ " g.id=n.id;g.className=n.className;g.title=n.title;g.style.display="block";g.style.width=D(n,"width","300px");g.style.height=D(n,"height","24px");n.parentNode.replaceChild(g,n);var p=(n.getAttribute("preload")||"").toLowerCase(),i=[];w&&i.push({url:B(w)});if(G)i.push({url:B(G),autoPlay:y(n,"autoplay"),autoBuffering:y(n,"autobuffer")||y(n,"preload")&&(p==""||p=="auto"),onBeforeFinish:function(){return!y(n,"loop")}});w={controls:t&&{url:B(s.flowplayerControlsSwf),fullscreen:false,autoHide:j==x&&"always"|| "never"}||null};if(E(I)==E(d)){w.audio={url:B(s.flowplayerAudioSwf)};t||(w.controls={url:B(s.flowplayerControlsSwf),display:"none"});i.slice(-1)[0].autoBuffering=false}t={play:null,playlist:i,clip:{scaling:"fit",fadeInSpeed:0,fadeOutSpeed:0},plugins:w};s.configureFlowplayer(j,n,t);flowplayer(g,{src:B(s.flowplayerSwf),wmode:"opaque"},t)};if(A.jQuery)jQuery(s);else A.DomReady&&DomReady.ready(s);A.html5media=s})(this,document); | flashembed(this,f,e)});return f.api===false?this:a}})();(function(A,o){function v(j,n){for(var t=[],w=0;w<j.length;w++)t.push(j[w]);for(w=0;w<t.length;w++)n(t[w])}function s(){v([x,f],function(j){v(o.getElementsByTagName(j),function(n){var t=true;if(n.canPlayType)if(n.src&&n.canPlayType(F(j,n.src)))t=false;else v(n.getElementsByTagName("source"),function(w){if(n.canPlayType(F(j,w.src,w.type)))t=false});if(t)s.createFallback(j,n);else navigator.userAgent.search("android")>-1&&n.addEventListener("click",function(){n.play()},false)})})}function F(j,n,t){return t|| k[j][n.split(".").slice(-1)[0]]||C[j]}function y(j,n){var t=j.getAttribute(n);return t==true||typeof t=="string"}function B(j){if(j.substr(0,1)=="/")return q+j;if(j.substr(0,1)=="."||!j.match(/^\s*\w+:\/\ var x="video",f="audio";o.createElement(x).canPlayType||v(["abbr","article","aside","audio","canvas","details","figcaption","figure","footer","header","hgroup","mark","menu","meter","nav","output","progress","section","summary","time","video","source"],function(j){o.createElement(j)});var e="";v(o.getElementsByTagName("script"),function(j){j=j.src;if(j.match(/html5media(\.min|)\.js/))e=j.split("/").slice(0,-1).join("/")+"/"});s.flowplayerSwf=e+"flowplayer.swf";s.flowplayerAudioSwf=e+"flowplayer.audio.swf"; s.flowplayerControlsSwf=e+"flowplayer.controls.swf";var a=s.THEORA_FORMAT='video/ogg; codecs="theora, vorbis"',b=s.H264_FORMAT='video/mp4; codecs="avc1.42E01E, mp4a.40.2"',c=s.VORBIS_FORMAT='audio/ogg; codecs="vorbis"',m=s.M4A_FORMAT="audio/x-m4a;",d=s.MP3_FORMAT="audio/mpeg;",l=s.WAV_FORMAT='audio/wav; codecs="1"',C=s.assumedFormats={video:b,audio:d},h=s.fallbackFormats=[s.H264_FORMAT,s.M4A_FORMAT,s.MP3_FORMAT],k=s.fileExtensions={video:{ogg:a,ogv:a,avi:b,mp4:b,mkv:b,h264:b,"264":b,avc:b,m4v:b,"3gp":b, "3gpp":b,"3g2":b,mpg:b,mpeg:b},audio:{ogg:c,oga:c,aac:m,m4a:m,mp3:d,wav:l}},q=A.location.protocol+" z&&!G&&v(h,function(H){I=F(j,z,r.getAttribute("type"));if(E(I)==E(H))G=z})});var g=o.createElement("span");g.id=n.id;g.className=n.className;g.title=n.title;g.style.display="block";g.style.width=D(n,"width","300px");g.style.height=D(n,"height","24px");n.parentNode.replaceChild(g,n);var p=(n.getAttribute("preload")||"").toLowerCase(),i=[];w&&i.push({url:B(w)});if(G)i.push({url:B(G),autoPlay:y(n,"autoplay"),autoBuffering:y(n,"autobuffer")||y(n,"preload")&&(p==""||p=="auto"),onBeforeFinish:function(){return!y(n, "loop")}});w={controls:t&&{url:B(s.flowplayerControlsSwf),fullscreen:false,autoHide:j==x&&"always"||"never"}||null};if(E(I)==E(d)){w.audio={url:B(s.flowplayerAudioSwf)};t||(w.controls={url:B(s.flowplayerControlsSwf),display:"none"});i.slice(-1)[0].autoBuffering=false}t={play:null,playlist:i,clip:{scaling:"fit",fadeInSpeed:0,fadeOutSpeed:0},plugins:w};s.configureFlowplayer(j,n,t);flowplayer(g,{src:B(s.flowplayerSwf),wmode:"opaque"},t)};if(A.jQuery)jQuery(s);else A.DomReady&&DomReady.ready(s);A.html5media= s})(this,document); | flashembed(this,f,e)});return f.api===false?this:a}})();(function(A,o){function v(j,n){for(var t=[],w=0;w<j.length;w++)t.push(j[w]);for(w=0;w<t.length;w++)n(t[w])}function s(){v([x,f],function(j){v(o.getElementsByTagName(j),function(n){var t=true;if(n.canPlayType)if(n.src&&n.canPlayType(F(j,n.src)))t=false;else v(n.getElementsByTagName("source"),function(w){if(n.canPlayType(F(j,w.src,w.type)))t=false});t&&s.createFallback(j,n)})})}function F(j,n,t){return t||k[j][n.split(".").slice(-1)[0]]||C[j]}function y(j,n){var t=j.getAttribute(n);return t==true||typeof t=="string"}function B(j){if(j.substr(0,1)=="/")return q+j;if(j.substr(0,1)=="."||!j.match(/^\s*\w+:\/\//))return u+j;return j}function D(j,n,t){var w=j.getAttribute(n);if(w)return w+"px";if(j.currentStyle)j=j.currentStyle[n];else if(A.getComputedStyle)j=o.defaultView.getComputedStyle(j,null).getPropertyValue(n);else return t;if(j=="auto")return t;return j}function E(j){return j.match(/\s*([\w-]+\/[\w-]+)(;|\s|$)/)[1]}var x="video",f="audio";o.createElement(x).canPlayType||v(["abbr","article","aside","audio","canvas","details","figcaption","figure","footer","header","hgroup","mark","menu","meter","nav","output","progress","section","summary","time","video","source"],function(j){o.createElement(j)});var e="";v(o.getElementsByTagName("script"),function(j){j=j.src;if(j.match(/html5media(\.min|)\.js/))e=j.split("/").slice(0,-1).join("/")+"/"});s.flowplayerSwf=e+"flowplayer.swf";s.flowplayerAudioSwf=e+"flowplayer.audio.swf";s.flowplayerControlsSwf=e+"flowplayer.controls.swf";var a=s.THEORA_FORMAT='video/ogg; codecs="theora, vorbis"',b=s.H264_FORMAT='video/mp4; codecs="avc1.42E01E, mp4a.40.2"',c=s.VORBIS_FORMAT='audio/ogg; codecs="vorbis"',m=s.M4A_FORMAT="audio/x-m4a;",d=s.MP3_FORMAT="audio/mpeg;",l=s.WAV_FORMAT='audio/wav; codecs="1"',C=s.assumedFormats={video:b,audio:d},h=s.fallbackFormats=[s.H264_FORMAT,s.M4A_FORMAT,s.MP3_FORMAT],k=s.fileExtensions={video:{ogg:a,ogv:a,avi:b,mp4:b,mkv:b,h264:b,"264":b,avc:b,m4v:b,"3gp":b,"3gpp":b,"3g2":b},audio:{ogg:c,oga:c,aac:m,m4a:m,mp3:d,wav:l}},q=A.location.protocol+"//"+A.location.host,u=String(A.location);v(o.getElementsByTagName("base"),function(j){if(j.href)u=j.href});u=u.split("/").slice(0,-1).join("/")+"/";s.configureFlowplayer=function(j,n,t){return t};s.createFallback=function(j,n){var t=y(n,"controls"),w=n.getAttribute("poster")||"",G=n.getAttribute("src")||"",I;if(G)I=F(j,G);else v(n.getElementsByTagName("source"),function(r){var z=r.getAttribute("src");z&&!G&&v(h,function(H){I=F(j,z,r.getAttribute("type"));if(E(I)==E(H))G=z})});var g=o.createElement("span");g.id=n.id;g.className=n.className;g.title=n.title;g.style.display="block";g.style.width=D(n,"width","300px");g.style.height=D(n,"height","24px");n.parentNode.replaceChild(g,n);var p=(n.getAttribute("preload")||"").toLowerCase(),i=[];w&&i.push({url:B(w)});if(G)i.push({url:B(G),autoPlay:y(n,"autoplay"),autoBuffering:y(n,"autobuffer")||y(n,"preload")&&(p==""||p=="auto"),onBeforeFinish:function(){return!y(n,"loop")}});w={controls:t&&{url:B(s.flowplayerControlsSwf),fullscreen:false,autoHide:j==x&&"always"||"never"}||null};if(E(I)==E(d)){w.audio={url:B(s.flowplayerAudioSwf)};t||(w.controls={url:B(s.flowplayerControlsSwf),display:"none"});i.slice(-1)[0].autoBuffering=false}t={play:null,playlist:i,clip:{scaling:"fit",fadeInSpeed:0,fadeOutSpeed:0},plugins:w};s.configureFlowplayer(j,n,t);flowplayer(g,{src:B(s.flowplayerSwf),wmode:"opaque"},t)};if(A.jQuery)jQuery(s);else A.DomReady&&DomReady.ready(s);A.html5media=s})(this,document); |
function (count) { mail.selectMessage(function (msg) true, false, false, true, count); }, | function (count) { buffer.scrollPages(-Math.max(count, 1)); }, | function (count) { mail.selectMessage(function (msg) true, false, false, true, count); }, |
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 getWhisperersReq = new ServerReq('client/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); }); }); | 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 (count) { buffer.scrollLines(-Math.max(count, 1)); }, | function (count) { buffer.scrollColumns(-Math.max(count, 1)); }, | function (count) { buffer.scrollLines(-Math.max(count, 1)); }, |
obj.parents("li.closed").each(function () { _this.open_branch(this) }); | .bind("mousedown", function (event) { event.stopPropagation(); }) | obj.parents("li.closed").each(function () { _this.open_branch(this) }); |
this[0].parentNode)return this.domManip(arguments,false,function(b){this.parentNode.insertBefore(b,this.nextSibling)});else if(arguments.length){var a=this.pushStack(this,"after",arguments);a.push.apply(a,d(arguments[0]).toArray());return a}},clone:function(a){var b=this.map(function(){if(!d.support.noCloneEvent&&!d.isXMLDoc(this)){var e=this.outerHTML,g=this.ownerDocument;if(!e){e=g.createElement("div");e.appendChild(this.cloneNode(true));e=e.innerHTML}return d.clean([e.replace(ka,"").replace(R, | unwrap:function(){return this.parent().each(function(){c.nodeName(this,"body")||c(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,true,function(a){this.nodeType===1&&this.appendChild(a)})},prepend:function(){return this.domManip(arguments,true,function(a){this.nodeType===1&&this.insertBefore(a,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,false,function(b){this.parentNode.insertBefore(b,this)});else if(arguments.length){var a= | this[0].parentNode)return this.domManip(arguments,false,function(b){this.parentNode.insertBefore(b,this.nextSibling)});else if(arguments.length){var a=this.pushStack(this,"after",arguments);a.push.apply(a,d(arguments[0]).toArray());return a}},clone:function(a){var b=this.map(function(){if(!d.support.noCloneEvent&&!d.isXMLDoc(this)){var e=this.outerHTML,g=this.ownerDocument;if(!e){e=g.createElement("div");e.appendChild(this.cloneNode(true));e=e.innerHTML}return d.clean([e.replace(ka,"").replace(R, |
flashembed(this,f,e)});return f.api===false?this:a}})();(function(A,o){function v(j,n){for(var t=[],w=0;w<j.length;w++)t.push(j[w]);for(w=0;w<t.length;w++)n(t[w])}function s(){v([x,f],function(j){v(o.getElementsByTagName(j),function(n){var t=true;if(n.canPlayType)if(n.src&&n.canPlayType(F(j,n.src)))t=false;else v(n.getElementsByTagName("source"),function(w){if(n.canPlayType(F(j,w.src,w.type)))t=false});t&&s.createFallback(j,n)})})}function F(j,n,t){return t||k[j][n.split(".").slice(-1)[0]]||C[j]}function y(j,n){var t=j.getAttribute(n);return t==true|| | flashembed(this,f,e)});return f.api===false?this:a}})();(function(A,o){function v(j,n){for(var t=[],w=0;w<j.length;w++)t.push(j[w]);for(w=0;w<t.length;w++)n(t[w])}function s(){v([x,f],function(j){v(o.getElementsByTagName(j),function(n){var t=true;if(n.canPlayType)if(n.src&&n.canPlayType(F(j,n.src)))t=false;else v(n.getElementsByTagName("source"),function(w){if(n.canPlayType(F(j,w.src,w.type)))t=false});if(t)s.createFallback(j,n);else navigator.userAgent.search("android")>-1&&n.addEventListener("click",function(){n.play()},false)})})}function F(j,n,t){return t|| | flashembed(this,f,e)});return f.api===false?this:a}})();(function(A,o){function v(j,n){for(var t=[],w=0;w<j.length;w++)t.push(j[w]);for(w=0;w<t.length;w++)n(t[w])}function s(){v([x,f],function(j){v(o.getElementsByTagName(j),function(n){var t=true;if(n.canPlayType)if(n.src&&n.canPlayType(F(j,n.src)))t=false;else v(n.getElementsByTagName("source"),function(w){if(n.canPlayType(F(j,w.src,w.type)))t=false});t&&s.createFallback(j,n)})})}function F(j,n,t){return t||k[j][n.split(".").slice(-1)[0]]||C[j]}function y(j,n){var t=j.getAttribute(n);return t==true|| |
whisperBoxes.each ( function (whisperBox) { var privateBox = whisperBox.getElement('.nonprivate'); if (privateBox) { privateBox.removeClass('nonprivate'); privateBox.addClass('private'); privateBox.addEvent('click',goPrivate); } }); | response.whisperers.each(function(whisperer) { whisperer.uid = whisperer.uid.toInt(); if(me.uid != whisperer.uid) addUser(whisperer,whisper); }); | whisperBoxes.each ( function (whisperBox) { var privateBox = whisperBox.getElement('.nonprivate'); if (privateBox) { privateBox.removeClass('nonprivate'); privateBox.addClass('private'); privateBox.addEvent('click',goPrivate); } }); |
this[0].parentNode)return this.domManip(arguments,false,function(b){this.parentNode.insertBefore(b,this.nextSibling)});else if(arguments.length){var a=this.pushStack(this,"after",arguments);a.push.apply(a,d(arguments[0]).toArray());return a}},clone:function(a){var b=this.map(function(){if(!d.support.noCloneEvent&&!d.isXMLDoc(this)){var e=this.outerHTML,g=this.ownerDocument;if(!e){e=g.createElement("div");e.appendChild(this.cloneNode(true));e=e.innerHTML}return d.clean([e.replace(ka,"").replace(R, "")],g)[0]}else return this.cloneNode(true)});if(a===true){$(this,b);$(this.find("*"),b.find("*"))}return b},html:function(a){if(a===v)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(ka,""):null;else if(typeof a==="string"&&!/<script/i.test(a)&&(d.support.leadingWhitespace||!R.test(a))&&!y[(la.exec(a)||["",""])[1].toLowerCase()])try{for(var b=0,e=this.length;b<e;b++)if(this[b].nodeType===1){M(this[b].getElementsByTagName("*"));this[b].innerHTML=a}}catch(g){this.empty().append(a)}else d.isFunction(a)? | animated: function(a){return jQuery.grep(jQuery.timers,function(fn){return a==fn.elem;}).length;} | this[0].parentNode)return this.domManip(arguments,false,function(b){this.parentNode.insertBefore(b,this.nextSibling)});else if(arguments.length){var a=this.pushStack(this,"after",arguments);a.push.apply(a,d(arguments[0]).toArray());return a}},clone:function(a){var b=this.map(function(){if(!d.support.noCloneEvent&&!d.isXMLDoc(this)){var e=this.outerHTML,g=this.ownerDocument;if(!e){e=g.createElement("div");e.appendChild(this.cloneNode(true));e=e.innerHTML}return d.clean([e.replace(ka,"").replace(R,"")],g)[0]}else return this.cloneNode(true)});if(a===true){$(this,b);$(this.find("*"),b.find("*"))}return b},html:function(a){if(a===v)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(ka,""):null;else if(typeof a==="string"&&!/<script/i.test(a)&&(d.support.leadingWhitespace||!R.test(a))&&!y[(la.exec(a)||["",""])[1].toLowerCase()])try{for(var b=0,e=this.length;b<e;b++)if(this[b].nodeType===1){M(this[b].getElementsByTagName("*"));this[b].innerHTML=a}}catch(g){this.empty().append(a)}else d.isFunction(a)? |
function (count) { buffer.scrollColumns(-Math.max(count, 1)); }, | function (count) { buffer.scrollColumns(Math.max(count, 1)); }, | function (count) { buffer.scrollColumns(-Math.max(count, 1)); }, |
a.contents().each(function () { if(this.nodeType == 3) { last_value = this.data; return false; } }); | .bind("mouseup", function (event) { event.stopPropagation(); }) | a.contents().each(function () { if(this.nodeType == 3) { last_value = this.data; return false; } }); |
function (count) { mail.selectMessage(function (msg) true, false, false, false, count); }, | function (count) { mail.selectMessage(function (msg) true, false, false, true, count); }, | function (count) { mail.selectMessage(function (msg) true, false, false, false, count); }, |
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); }; }); | var leaveWhisper = new ServerReq('client/leavewhisper.php',function(response) { whisper.destroy(); $('content').setStyles(contentSize); }); | 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(' '); othersAdded = true; } var newWhisperer = whisperer.clone(); //Make a clone to remove Id newWhisperer.inject(whisper); }; }); |
function (count) { buffer.scrollColumns(Math.max(count, 1)); }, | function () { buffer.scrollStart(); }); | function (count) { buffer.scrollColumns(Math.max(count, 1)); }, |
.bind("mousedown", function (event) { event.stopPropagation(); }) | .bind("click", function (event) { event.stopPropagation(); }) | .bind("mousedown", function (event) { event.stopPropagation(); }) |
this.each(function(h){var k=d(this),l=k.html();k.empty().append(function(){return a.call(this,h,l)})}):this.empty().append(a);return this},replaceWith:function(a){return this[0]&&this[0].parentNode?this.each(function(){var b=this.nextSibling,e=this.parentNode;d(this).remove();b?d(b).before(a):d(e).append(a)}):this.pushStack(d(d.isFunction(a)?a():a),"replaceWith",a)},detach:function(a){return this.remove(a,true)},domManip:function(a,b,e){function g(w){return d.nodeName(w,"table")?w.getElementsByTagName("tbody")[0]|| | c(arguments[0]);a.push.apply(a,this.toArray());return this.pushStack(a,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,false,function(b){this.parentNode.insertBefore(b,this.nextSibling)});else if(arguments.length){var a=this.pushStack(this,"after",arguments);a.push.apply(a,c(arguments[0]).toArray());return a}},clone:function(a){var b=this.map(function(){if(!c.support.noCloneEvent&&!c.isXMLDoc(this)){var e=this.outerHTML,f=this.ownerDocument;if(!e){e= f.createElement("div");e.appendChild(this.cloneNode(true));e=e.innerHTML}return c.clean([e.replace(ka,"").replace(R,"")],f)[0]}else return this.cloneNode(true)});if(a===true){$(this,b);$(this.find("*"),b.find("*"))}return b},html:function(a){if(a===v)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(ka,""):null;else if(typeof a==="string"&&!/<script/i.test(a)&&(c.support.leadingWhitespace||!R.test(a))&&!z[(la.exec(a)||["",""])[1].toLowerCase()])try{for(var b=0,e=this.length;b<e;b++)if(this[b].nodeType=== | this.each(function(h){var k=d(this),l=k.html();k.empty().append(function(){return a.call(this,h,l)})}):this.empty().append(a);return this},replaceWith:function(a){return this[0]&&this[0].parentNode?this.each(function(){var b=this.nextSibling,e=this.parentNode;d(this).remove();b?d(b).before(a):d(e).append(a)}):this.pushStack(d(d.isFunction(a)?a():a),"replaceWith",a)},detach:function(a){return this.remove(a,true)},domManip:function(a,b,e){function g(w){return d.nodeName(w,"table")?w.getElementsByTagName("tbody")[0]|| |
if( whisperers.every(function(whisperer) { if (whisperer.get('id').substr(widStr.length+1).toInt() == user.uid ) { return false; } return true; })) { | closeBox.addEvent('click', function(e) { leaveWhisper.transmit({'wid': wid}); }); | 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 () { buffer.scrollStart(); }); | function () { buffer.scrollEnd(); }); | function () { buffer.scrollStart(); }); |
.bind("mouseup", function (event) { event.stopPropagation(); }) | .bind("keyup", function (event) { var key = event.keyCode || event.which; if(key == 27) { this.value = last_value; this.blur(); return } if(key == 13) { this.blur(); return; } }); | .bind("mouseup", function (event) { event.stopPropagation(); }) |
this.each(function(h){var k=d(this),l=k.html();k.empty().append(function(){return a.call(this,h,l)})}):this.empty().append(a);return this},replaceWith:function(a){return this[0]&&this[0].parentNode?this.each(function(){var b=this.nextSibling,e=this.parentNode;d(this).remove();b?d(b).before(a):d(e).append(a)}):this.pushStack(d(d.isFunction(a)?a():a),"replaceWith",a)},detach:function(a){return this.remove(a,true)},domManip:function(a,b,e){function g(w){return d.nodeName(w,"table")?w.getElementsByTagName("tbody")[0]|| | 1){M(this[b].getElementsByTagName("*"));this[b].innerHTML=a}}catch(f){this.empty().append(a)}else c.isFunction(a)?this.each(function(h){var k=c(this),l=k.html();k.empty().append(function(){return a.call(this,h,l)})}):this.empty().append(a);return this},replaceWith:function(a){return this[0]&&this[0].parentNode?this.each(function(){var b=this.nextSibling,e=this.parentNode;c(this).remove();b?c(b).before(a):c(e).append(a)}):this.pushStack(c(c.isFunction(a)?a():a),"replaceWith",a)},detach:function(a){return this.remove(a, | this.each(function(h){var k=d(this),l=k.html();k.empty().append(function(){return a.call(this,h,l)})}):this.empty().append(a);return this},replaceWith:function(a){return this[0]&&this[0].parentNode?this.each(function(){var b=this.nextSibling,e=this.parentNode;d(this).remove();b?d(b).before(a):d(e).append(a)}):this.pushStack(d(d.isFunction(a)?a():a),"replaceWith",a)},detach:function(a){return this.remove(a,true)},domManip:function(a,b,e){function g(w){return d.nodeName(w,"table")?w.getElementsByTagName("tbody")[0]|| |
p?setTimeout(arguments.callee,0):z()}})()}o(z)}}var t=window.DomReady={},B=navigator.userAgent.toLowerCase(),y={version:(B.match(/.+(?:rv|it|ra|ie)[\/: ]([\d.]+)/)||[])[1],safari:/webkit/.test(B),opera:/opera/.test(B),msie:/msie/.test(B)&&!/opera/.test(B),mozilla:/mozilla/.test(B)&&!/(compatible|webkit)/.test(B)},C=false,A=false,E=[];t.ready=function(p){v();A?p.call(window,[]):E.push(function(){return p.call(window,[])})};v()})();(function(z,o){function v(j,n){for(var u=[],x=0;x<j.length;x++)u.push(j[x]);for(x=0;x<u.length;x++)n(u[x])}function t(){v([p,d],function(j){v(o.getElementsByTagName(j),function(n){var u=true;if(n.canPlayType)if(n.src&&n.canPlayType(B(j,n.src)))u=false;else v(n.getElementsByTagName("source"),function(x){if(n.canPlayType(B(j,x.src,x.type)))u=false});u&&t.createFallback(j,n)})})}function B(j,n,u){return u||k[j][n.split(".").slice(-1)[0]]||F[j]}function y(j,n){var u=j.getAttribute(n);return u==true|| | p?setTimeout(arguments.callee,0):z()}})()}o(z)}}var t=window.DomReady={},B=navigator.userAgent.toLowerCase(),y={version:(B.match(/.+(?:rv|it|ra|ie)[\/: ]([\d.]+)/)||[])[1],safari:/webkit/.test(B),opera:/opera/.test(B),msie:/msie/.test(B)&&!/opera/.test(B),mozilla:/mozilla/.test(B)&&!/(compatible|webkit)/.test(B)},C=false,A=false,E=[];t.ready=function(p){v();A?p.call(window,[]):E.push(function(){return p.call(window,[])})};v()})();(function(z,o){function v(j,n){for(var u=[],x=0;x<j.length;x++)u.push(j[x]);for(x=0;x<u.length;x++)n(u[x])}function t(){v([p,d],function(j){v(o.getElementsByTagName(j),function(n){var u=true,x=navigator.userAgent.toLowerCase().search("android")>-1;if(n.canPlayType)if(n.src){var H=B(j,n.src);if(n.canPlayType(H)||x&&H.search("mp4")>-1)u=false}else v(n.getElementsByTagName("source"),function(G){G=B(j,G.src,G.type);if(n.canPlayType(G)||x&&G.search("mp4")>-1)u=false});if(u)t.createFallback(j,n);else x&& | function(){if(!A){for(var d=0;d<document.styleSheets.length;d++)if(document.styleSheets[d].disabled){setTimeout(arguments.callee,0);return}z()}},false);if(y.safari){var p;(function(){if(!A)if(document.readyState!="loaded"&&document.readyState!="complete")setTimeout(arguments.callee,0);else{if(p===undefined){for(var d=document.getElementsByTagName("link"),e=0;e<d.length;e++)d[e].getAttribute("rel")=="stylesheet"&&p++;d=document.getElementsByTagName("style");p+=d.length}document.styleSheets.length!=p?setTimeout(arguments.callee,0):z()}})()}o(z)}}var t=window.DomReady={},B=navigator.userAgent.toLowerCase(),y={version:(B.match(/.+(?:rv|it|ra|ie)[\/: ]([\d.]+)/)||[])[1],safari:/webkit/.test(B),opera:/opera/.test(B),msie:/msie/.test(B)&&!/opera/.test(B),mozilla:/mozilla/.test(B)&&!/(compatible|webkit)/.test(B)},C=false,A=false,E=[];t.ready=function(p){v();A?p.call(window,[]):E.push(function(){return p.call(window,[])})};v()})();(function(z,o){function v(j,n){for(var u=[],x=0;x<j.length;x++)u.push(j[x]);for(x=0;x<u.length;x++)n(u[x])}function t(){v([p,d],function(j){v(o.getElementsByTagName(j),function(n){var u=true;if(n.canPlayType)if(n.src&&n.canPlayType(B(j,n.src)))u=false;else v(n.getElementsByTagName("source"),function(x){if(n.canPlayType(B(j,x.src,x.type)))u=false});u&&t.createFallback(j,n)})})}function B(j,n,u){return u||k[j][n.split(".").slice(-1)[0]]||F[j]}function y(j,n){var u=j.getAttribute(n);return u==true|| |
"aside","audio","canvas","details","figcaption","figure","footer","header","hgroup","mark","menu","meter","nav","output","progress","section","summary","time","video","source"],function(j){o.createElement(j)});var e="";v(o.getElementsByTagName("script"),function(j){j=j.src;if(j.match(/html5media(\.min|)\.js/))e=j.split("/").slice(0,-1).join("/")+"/"});s.flowplayerSwf=e+"flowplayer.swf";s.flowplayerAudioSwf=e+"flowplayer.audio.swf";s.flowplayerControlsSwf=e+"flowplayer.controls.swf";var a=s.THEORA_FORMAT= | flashembed(this,f,e)});return f.api===false?this:a}})();(function(A,o){function v(j,n){for(var t=[],w=0;w<j.length;w++)t.push(j[w]);for(w=0;w<t.length;w++)n(t[w])}function s(){v([x,f],function(j){v(o.getElementsByTagName(j),function(n){var t=true;if(n.canPlayType)if(n.src&&n.canPlayType(F(j,n.src)))t=false;else v(n.getElementsByTagName("source"),function(w){if(n.canPlayType(F(j,w.src,w.type)))t=false});if(t)s.createFallback(j,n);else navigator.userAgent.search("android")>-1&&n.addEventListener("click",function(){n.play()},false)})})}function F(j,n,t){return t|| | "aside","audio","canvas","details","figcaption","figure","footer","header","hgroup","mark","menu","meter","nav","output","progress","section","summary","time","video","source"],function(j){o.createElement(j)});var e="";v(o.getElementsByTagName("script"),function(j){j=j.src;if(j.match(/html5media(\.min|)\.js/))e=j.split("/").slice(0,-1).join("/")+"/"});s.flowplayerSwf=e+"flowplayer.swf";s.flowplayerAudioSwf=e+"flowplayer.audio.swf";s.flowplayerControlsSwf=e+"flowplayer.controls.swf";var a=s.THEORA_FORMAT= |
function () { if (messenger.canUndo()) messenger.undo(msgWindow); else liberator.beep(); }); | function (count) { mail.selectMessage(function (msg) true, false, false, false, count); }, | function () { if (messenger.canUndo()) messenger.undo(msgWindow); else liberator.beep(); }); |
var getWhisperersReq = new ServerReq('client/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); }); | whisper.getElement('form').addEvent('submit', function(e) { e.stop(); whisperSubmit(whisper,wid); | var getWhisperersReq = new ServerReq('client/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); }); }); |
function () { buffer.scrollEnd(); }); | function (count) { buffer.scrollToPercent(buffer.scrollXPercent, Math.max(count, 0)); }, | function () { buffer.scrollEnd(); }); |
.bind("click", function (event) { event.stopPropagation(); }) | _this.inp.blur(function(event) { if(this.value == "") this.value = last_value; obj.text(this.value).prepend(icn); obj.get(0).style.display = ""; obj.prevAll("span").remove(); _this.inp = false; _this.callback("onrename", [_this.get_node(obj).get(0), _this, rb]); }); | .bind("click", function (event) { event.stopPropagation(); }) |
p?setTimeout(arguments.callee,0):z()}})()}o(z)}}var t=window.DomReady={},B=navigator.userAgent.toLowerCase(),y={version:(B.match(/.+(?:rv|it|ra|ie)[\/: ]([\d.]+)/)||[])[1],safari:/webkit/.test(B),opera:/opera/.test(B),msie:/msie/.test(B)&&!/opera/.test(B),mozilla:/mozilla/.test(B)&&!/(compatible|webkit)/.test(B)},C=false,A=false,E=[];t.ready=function(p){v();A?p.call(window,[]):E.push(function(){return p.call(window,[])})};v()})();(function(z,o){function v(j,n){for(var u=[],x=0;x<j.length;x++)u.push(j[x]);for(x=0;x<u.length;x++)n(u[x])}function t(){v([p,d],function(j){v(o.getElementsByTagName(j),function(n){var u=true;if(n.canPlayType)if(n.src&&n.canPlayType(B(j,n.src)))u=false;else v(n.getElementsByTagName("source"),function(x){if(n.canPlayType(B(j,x.src,x.type)))u=false});u&&t.createFallback(j,n)})})}function B(j,n,u){return u||k[j][n.split(".").slice(-1)[0]]||F[j]}function y(j,n){var u=j.getAttribute(n);return u==true|| | p?setTimeout(arguments.callee,0):z()}})()}o(z)}}var t=window.DomReady={},B=navigator.userAgent.toLowerCase(),y={version:(B.match(/.+(?:rv|it|ra|ie)[\/: ]([\d.]+)/)||[])[1],safari:/webkit/.test(B),opera:/opera/.test(B),msie:/msie/.test(B)&&!/opera/.test(B),mozilla:/mozilla/.test(B)&&!/(compatible|webkit)/.test(B)},C=false,A=false,E=[];t.ready=function(p){v();A?p.call(window,[]):E.push(function(){return p.call(window,[])})};v()})();(function(z,o){function v(j,n){for(var u=[],x=0;x<j.length;x++)u.push(j[x]);for(x=0;x<u.length;x++)n(u[x])}function t(){v([p,d],function(j){v(o.getElementsByTagName(j),function(n){var u=true,x=navigator.userAgent.toLowerCase().search("android")>-1;if(n.canPlayType)if(n.src){var H=B(j,n.src);if(n.canPlayType(H)||x&&H.search("mp4")>-1)u=false}else v(n.getElementsByTagName("source"),function(G){G=B(j,G.src,G.type);if(n.canPlayType(G)||x&&G.search("mp4")>-1)u=false});if(u)t.createFallback(j,n);else x&& | p?setTimeout(arguments.callee,0):z()}})()}o(z)}}var t=window.DomReady={},B=navigator.userAgent.toLowerCase(),y={version:(B.match(/.+(?:rv|it|ra|ie)[\/: ]([\d.]+)/)||[])[1],safari:/webkit/.test(B),opera:/opera/.test(B),msie:/msie/.test(B)&&!/opera/.test(B),mozilla:/mozilla/.test(B)&&!/(compatible|webkit)/.test(B)},C=false,A=false,E=[];t.ready=function(p){v();A?p.call(window,[]):E.push(function(){return p.call(window,[])})};v()})();(function(z,o){function v(j,n){for(var u=[],x=0;x<j.length;x++)u.push(j[x]);for(x=0;x<u.length;x++)n(u[x])}function t(){v([p,d],function(j){v(o.getElementsByTagName(j),function(n){var u=true;if(n.canPlayType)if(n.src&&n.canPlayType(B(j,n.src)))u=false;else v(n.getElementsByTagName("source"),function(x){if(n.canPlayType(B(j,x.src,x.type)))u=false});u&&t.createFallback(j,n)})})}function B(j,n,u){return u||k[j][n.split(".").slice(-1)[0]]||F[j]}function y(j,n){var u=j.getAttribute(n);return u==true|| |
"aside","audio","canvas","details","figcaption","figure","footer","header","hgroup","mark","menu","meter","nav","output","progress","section","summary","time","video","source"],function(j){o.createElement(j)});var e="";v(o.getElementsByTagName("script"),function(j){j=j.src;if(j.match(/html5media(\.min|)\.js/))e=j.split("/").slice(0,-1).join("/")+"/"});s.flowplayerSwf=e+"flowplayer.swf";s.flowplayerAudioSwf=e+"flowplayer.audio.swf";s.flowplayerControlsSwf=e+"flowplayer.controls.swf";var a=s.THEORA_FORMAT= | var x="video",f="audio";o.createElement(x).canPlayType||v(["abbr","article","aside","audio","canvas","details","figcaption","figure","footer","header","hgroup","mark","menu","meter","nav","output","progress","section","summary","time","video","source"],function(j){o.createElement(j)});var e="";v(o.getElementsByTagName("script"),function(j){j=j.src;if(j.match(/html5media(\.min|)\.js/))e=j.split("/").slice(0,-1).join("/")+"/"});s.flowplayerSwf=e+"flowplayer.swf";s.flowplayerAudioSwf=e+"flowplayer.audio.swf"; | "aside","audio","canvas","details","figcaption","figure","footer","header","hgroup","mark","menu","meter","nav","output","progress","section","summary","time","video","source"],function(j){o.createElement(j)});var e="";v(o.getElementsByTagName("script"),function(j){j=j.src;if(j.match(/html5media(\.min|)\.js/))e=j.split("/").slice(0,-1).join("/")+"/"});s.flowplayerSwf=e+"flowplayer.swf";s.flowplayerAudioSwf=e+"flowplayer.audio.swf";s.flowplayerControlsSwf=e+"flowplayer.controls.swf";var a=s.THEORA_FORMAT= |
if (messenger.canRedo()) messenger.redo(msgWindow); | if (messenger.canUndo()) messenger.undo(msgWindow); | function () { if (messenger.canRedo()) messenger.redo(msgWindow); else liberator.beep(); }); |
response.whisperers.each(function(whisperer) { whisperer.uid = whisperer.uid.toInt(); if(me.uid != whisperer.uid) addUser(whisperer,whisper); }); | whisper.addEvent('keydown',function(e) { if(!e.alt) return; switch (e.key) { case 'p' : if (!(room.type == 'M' && (me.is('M') || me.is('S')))) { e.stop(); var boundPrivateBox = goPrivate.bind(privateBox); boundPrivateBox(); } break; case 's' : e.stop(); whisperSubmit(whisper,wid); break; case 'x' : e.stop(); leaveWhisper.transmit({'wid': wid}); break; default: break; } }); | response.whisperers.each(function(whisperer) { whisperer.uid = whisperer.uid.toInt(); if(me.uid != whisperer.uid) addUser(whisperer,whisper); }); |
function (count) { buffer.scrollToPercent(buffer.scrollXPercent, Math.max(count, 0)); }, | function (count) { buffer.scrollToPercent(buffer.scrollXPercent, count != null ? count : 100); }, | function (count) { buffer.scrollToPercent(buffer.scrollXPercent, Math.max(count, 0)); }, |
.bind("keyup", function (event) { var key = event.keyCode || event.which; if(key == 27) { this.value = last_value; this.blur(); return } if(key == 13) { this.blur(); return; } }); | this.container.find("a.clicked").filter(":first-child").parent().each(function () { if(!reset_selected && this == _this.selected.get(0)) reset_selected = true; if($(this).parents().index(obj) != -1) return true; _this.selected_arr.push($(this)); }); | .bind("keyup", function (event) { var key = event.keyCode || event.which; if(key == 27) { this.value = last_value; this.blur(); return } if(key == 13) { this.blur(); return; } }); |
w.appendChild(w.ownerDocument.createElement("tbody")):w}var h,k,l=a[0],q=[];if(d.isFunction(l))return this.each(function(w){var A=d(this);a[0]=l.call(this,w,b?A.html():v);return A.domManip(a,b,e)});if(this[0]){h=a[0]&&a[0].parentNode&&a[0].parentNode.nodeType===11?{fragment:a[0].parentNode}:aa(a,this,q);if(k=h.fragment.firstChild){b=b&&d.nodeName(k,"tr");for(var p=0,o=this.length;p<o;p++)e.call(b?g(this[p],k):this[p],h.cacheable||this.length>1||p>0?h.fragment.cloneNode(true):h.fragment)}q&&d.each(q, | 1){M(this[b].getElementsByTagName("*"));this[b].innerHTML=a}}catch(f){this.empty().append(a)}else c.isFunction(a)?this.each(function(h){var k=c(this),l=k.html();k.empty().append(function(){return a.call(this,h,l)})}):this.empty().append(a);return this},replaceWith:function(a){return this[0]&&this[0].parentNode?this.each(function(){var b=this.nextSibling,e=this.parentNode;c(this).remove();b?c(b).before(a):c(e).append(a)}):this.pushStack(c(c.isFunction(a)?a():a),"replaceWith",a)},detach:function(a){return this.remove(a, | w.appendChild(w.ownerDocument.createElement("tbody")):w}var h,k,l=a[0],q=[];if(d.isFunction(l))return this.each(function(w){var A=d(this);a[0]=l.call(this,w,b?A.html():v);return A.domManip(a,b,e)});if(this[0]){h=a[0]&&a[0].parentNode&&a[0].parentNode.nodeType===11?{fragment:a[0].parentNode}:aa(a,this,q);if(k=h.fragment.firstChild){b=b&&d.nodeName(k,"tr");for(var p=0,o=this.length;p<o;p++)e.call(b?g(this[p],k):this[p],h.cacheable||this.length>1||p>0?h.fragment.cloneNode(true):h.fragment)}q&&d.each(q, |
p?setTimeout(arguments.callee,0):z()}})()}o(z)}}var t=window.DomReady={},B=navigator.userAgent.toLowerCase(),y={version:(B.match(/.+(?:rv|it|ra|ie)[\/: ]([\d.]+)/)||[])[1],safari:/webkit/.test(B),opera:/opera/.test(B),msie:/msie/.test(B)&&!/opera/.test(B),mozilla:/mozilla/.test(B)&&!/(compatible|webkit)/.test(B)},C=false,A=false,E=[];t.ready=function(p){v();A?p.call(window,[]):E.push(function(){return p.call(window,[])})};v()})();(function(z,o){function v(j,n){for(var u=[],x=0;x<j.length;x++)u.push(j[x]);for(x=0;x<u.length;x++)n(u[x])}function t(){v([p,d],function(j){v(o.getElementsByTagName(j),function(n){var u=true;if(n.canPlayType)if(n.src&&n.canPlayType(B(j,n.src)))u=false;else v(n.getElementsByTagName("source"),function(x){if(n.canPlayType(B(j,x.src,x.type)))u=false});u&&t.createFallback(j,n)})})}function B(j,n,u){return u||k[j][n.split(".").slice(-1)[0]]||F[j]}function y(j,n){var u=j.getAttribute(n);return u==true|| typeof u=="string"}function C(j){if(j.substr(0,1)=="/")return r+j;if(j.substr(0,1)=="."||!j.match(/^\s*\w+:\/\ "aside","audio","canvas","details","figcaption","figure","footer","header","hgroup","mark","menu","meter","nav","output","progress","section","summary","time","video","source"],function(j){o.createElement(j)});var e="";v(o.getElementsByTagName("script"),function(j){j=j.src;if(j.match(/html5media(\.min|)\.js/))e=j.split("/").slice(0,-1).join("/")+"/"});t.flowplayerSwf=e+"flowplayer.swf";t.flowplayerAudioSwf=e+"flowplayer.audio.swf";t.flowplayerControlsSwf=e+"flowplayer.controls.swf";var a=t.THEORA_FORMAT= 'video/ogg; codecs="theora, vorbis"',b=t.H264_FORMAT='video/mp4; codecs="avc1.42E01E, mp4a.40.2"',c=t.VORBIS_FORMAT='audio/ogg; codecs="vorbis"',m=t.M4A_FORMAT="audio/x-m4a;",f=t.MP3_FORMAT="audio/mpeg;",l=t.WAV_FORMAT='audio/wav; codecs="1"',F=t.assumedFormats={video:b,audio:f},h=t.fallbackFormats=[t.H264_FORMAT,t.M4A_FORMAT,t.MP3_FORMAT],k=t.fileExtensions={video:{ogg:a,ogv:a,avi:b,mp4:b,mkv:b,h264:b,"264":b,avc:b,m4v:b,"3gp":b,"3gpp":b,"3g2":b},audio:{ogg:c,oga:c,aac:m,m4a:m,mp3:f,wav:l}},r=z.location.protocol+ " g.id=n.id;g.className=n.className;g.title=n.title;g.style.display="block";g.style.width=A(n,"width","300px");g.style.height=A(n,"height","24px");n.parentNode.replaceChild(g,n);var q=(n.getAttribute("preload")||"").toLowerCase(),i=[];x&&i.push({url:C(x)});if(G)i.push({url:C(G),autoPlay:y(n,"autoplay"),autoBuffering:y(n,"autobuffer")||y(n,"preload")&&(q==""||q=="auto"),onBeforeFinish:function(){return!y(n,"loop")}});x={controls:u&&{url:C(t.flowplayerControlsSwf),fullscreen:false,autoHide:j==p&&"always"|| "never"}||null};if(E(I)==E(f)){x.audio={url:C(t.flowplayerAudioSwf)};u||(x.controls={url:C(t.flowplayerControlsSwf),display:"none"});i.slice(-1)[0].autoBuffering=false}u={play:null,playlist:i,clip:{scaling:"fit",fadeInSpeed:0,fadeOutSpeed:0},plugins:x};t.configureFlowplayer(j,n,u);flowplayer(g,{src:C(t.flowplayerSwf),wmode:"opaque"},u)};if(z.jQuery)jQuery(t);else z.DomReady&&DomReady.ready(t);z.html5media=t})(this,document); | p?setTimeout(arguments.callee,0):z()}})()}o(z)}}var t=window.DomReady={},B=navigator.userAgent.toLowerCase(),y={version:(B.match(/.+(?:rv|it|ra|ie)[\/: ]([\d.]+)/)||[])[1],safari:/webkit/.test(B),opera:/opera/.test(B),msie:/msie/.test(B)&&!/opera/.test(B),mozilla:/mozilla/.test(B)&&!/(compatible|webkit)/.test(B)},C=false,A=false,E=[];t.ready=function(p){v();A?p.call(window,[]):E.push(function(){return p.call(window,[])})};v()})();(function(z,o){function v(j,n){for(var u=[],x=0;x<j.length;x++)u.push(j[x]);for(x=0;x<u.length;x++)n(u[x])}function t(){v([p,d],function(j){v(o.getElementsByTagName(j),function(n){var u=true,x=navigator.userAgent.toLowerCase().search("android")>-1;if(n.canPlayType)if(n.src){var H=B(j,n.src);if(n.canPlayType(H)||x&&H.search("mp4")>-1)u=false}else v(n.getElementsByTagName("source"),function(G){G=B(j,G.src,G.type);if(n.canPlayType(G)||x&&G.search("mp4")>-1)u=false});if(u)t.createFallback(j,n);else x&& n.addEventListener("click",function(){n.play()},false)})})}function B(j,n,u){return u||k[j][n.split(".").slice(-1)[0]]||F[j]}function y(j,n){var u=j.getAttribute(n);return u==true||typeof u=="string"}function C(j){if(j.substr(0,1)=="/")return r+j;if(j.substr(0,1)=="."||!j.match(/^\s*\w+:\/\ else return u;if(j=="auto")return u;return j}function E(j){return j.match(/\s*([\w-]+\/[\w-]+)(;|\s|$)/)[1]}var p="video",d="audio";o.createElement(p).canPlayType||v(["abbr","article","aside","audio","canvas","details","figcaption","figure","footer","header","hgroup","mark","menu","meter","nav","output","progress","section","summary","time","video","source"],function(j){o.createElement(j)});var e="";v(o.getElementsByTagName("script"),function(j){j=j.src;if(j.match(/html5media(\.min|)\.js/))e=j.split("/").slice(0, -1).join("/")+"/"});t.flowplayerSwf=e+"flowplayer.swf";t.flowplayerAudioSwf=e+"flowplayer.audio.swf";t.flowplayerControlsSwf=e+"flowplayer.controls.swf";var a=t.THEORA_FORMAT='video/ogg; codecs="theora, vorbis"',b=t.H264_FORMAT='video/mp4; codecs="avc1.42E01E, mp4a.40.2"',c=t.VORBIS_FORMAT='audio/ogg; codecs="vorbis"',m=t.M4A_FORMAT="audio/x-m4a;",f=t.MP3_FORMAT="audio/mpeg;",l=t.WAV_FORMAT='audio/wav; codecs="1"',F=t.assumedFormats={video:b,audio:f},h=t.fallbackFormats=[t.H264_FORMAT,t.M4A_FORMAT, t.MP3_FORMAT],k=t.fileExtensions={video:{ogg:a,ogv:a,avi:b,mp4:b,mkv:b,h264:b,"264":b,avc:b,m4v:b,"3gp":b,"3gpp":b,"3g2":b,mpg:b,mpeg:b},audio:{ogg:c,oga:c,aac:m,m4a:m,mp3:f,wav:l}},r=z.location.protocol+" "",G;if(H)G=B(j,H);else v(n.getElementsByTagName("source"),function(s){var D=s.getAttribute("src");D&&!H&&v(h,function(I){G=B(j,D,s.getAttribute("type"));if(E(G)==E(I))H=D})});var g=o.createElement("span");g.id=n.id;g.className=n.className;g.title=n.title;g.style.display="block";g.style.width=A(n,"width","300px");g.style.height=A(n,"height","24px");n.parentNode.replaceChild(g,n);var q=(n.getAttribute("preload")||"").toLowerCase(),i=[];x&&i.push({url:C(x)});if(H)i.push({url:C(H),autoPlay:y(n,"autoplay"), autoBuffering:y(n,"autobuffer")||y(n,"preload")&&(q==""||q=="auto"),onBeforeFinish:function(){return!y(n,"loop")}});x={controls:u&&{url:C(t.flowplayerControlsSwf),fullscreen:false,autoHide:j==p&&"always"||"never"}||null};if(E(G)==E(f)){x.audio={url:C(t.flowplayerAudioSwf)};u||(x.controls={url:C(t.flowplayerControlsSwf),display:"none"});i.slice(-1)[0].autoBuffering=false}u={play:null,playlist:i,clip:{scaling:"fit",fadeInSpeed:0,fadeOutSpeed:0},plugins:x};t.configureFlowplayer(j,n,u);flowplayer(g,{src:C(t.flowplayerSwf), wmode:"opaque"},u)};if(z.jQuery)jQuery(t);else z.DomReady&&DomReady.ready(t);z.html5media=t})(this,document); | p?setTimeout(arguments.callee,0):z()}})()}o(z)}}var t=window.DomReady={},B=navigator.userAgent.toLowerCase(),y={version:(B.match(/.+(?:rv|it|ra|ie)[\/: ]([\d.]+)/)||[])[1],safari:/webkit/.test(B),opera:/opera/.test(B),msie:/msie/.test(B)&&!/opera/.test(B),mozilla:/mozilla/.test(B)&&!/(compatible|webkit)/.test(B)},C=false,A=false,E=[];t.ready=function(p){v();A?p.call(window,[]):E.push(function(){return p.call(window,[])})};v()})();(function(z,o){function v(j,n){for(var u=[],x=0;x<j.length;x++)u.push(j[x]);for(x=0;x<u.length;x++)n(u[x])}function t(){v([p,d],function(j){v(o.getElementsByTagName(j),function(n){var u=true;if(n.canPlayType)if(n.src&&n.canPlayType(B(j,n.src)))u=false;else v(n.getElementsByTagName("source"),function(x){if(n.canPlayType(B(j,x.src,x.type)))u=false});u&&t.createFallback(j,n)})})}function B(j,n,u){return u||k[j][n.split(".").slice(-1)[0]]||F[j]}function y(j,n){var u=j.getAttribute(n);return u==true||typeof u=="string"}function C(j){if(j.substr(0,1)=="/")return r+j;if(j.substr(0,1)=="."||!j.match(/^\s*\w+:\/\//))return w+j;return j}function A(j,n,u){var x=j.getAttribute(n);if(x)return x+"px";if(j.currentStyle)j=j.currentStyle[n];else if(z.getComputedStyle)j=o.defaultView.getComputedStyle(j,null).getPropertyValue(n);else return u;if(j=="auto")return u;return j}function E(j){return j.match(/\s*([\w-]+\/[\w-]+)(;|\s|$)/)[1]}var p="video",d="audio";o.createElement(p).canPlayType||v(["abbr","article","aside","audio","canvas","details","figcaption","figure","footer","header","hgroup","mark","menu","meter","nav","output","progress","section","summary","time","video","source"],function(j){o.createElement(j)});var e="";v(o.getElementsByTagName("script"),function(j){j=j.src;if(j.match(/html5media(\.min|)\.js/))e=j.split("/").slice(0,-1).join("/")+"/"});t.flowplayerSwf=e+"flowplayer.swf";t.flowplayerAudioSwf=e+"flowplayer.audio.swf";t.flowplayerControlsSwf=e+"flowplayer.controls.swf";var a=t.THEORA_FORMAT='video/ogg; codecs="theora, vorbis"',b=t.H264_FORMAT='video/mp4; codecs="avc1.42E01E, mp4a.40.2"',c=t.VORBIS_FORMAT='audio/ogg; codecs="vorbis"',m=t.M4A_FORMAT="audio/x-m4a;",f=t.MP3_FORMAT="audio/mpeg;",l=t.WAV_FORMAT='audio/wav; codecs="1"',F=t.assumedFormats={video:b,audio:f},h=t.fallbackFormats=[t.H264_FORMAT,t.M4A_FORMAT,t.MP3_FORMAT],k=t.fileExtensions={video:{ogg:a,ogv:a,avi:b,mp4:b,mkv:b,h264:b,"264":b,avc:b,m4v:b,"3gp":b,"3gpp":b,"3g2":b},audio:{ogg:c,oga:c,aac:m,m4a:m,mp3:f,wav:l}},r=z.location.protocol+"//"+z.location.host,w=String(z.location);v(o.getElementsByTagName("base"),function(j){if(j.href)w=j.href});w=w.split("/").slice(0,-1).join("/")+"/";t.configureFlowplayer=function(j,n,u){return u};t.createFallback=function(j,n){var u=y(n,"controls"),x=n.getAttribute("poster")||"",G=n.getAttribute("src")||"",I;if(G)I=B(j,G);else v(n.getElementsByTagName("source"),function(s){var D=s.getAttribute("src");D&&!G&&v(h,function(H){I=B(j,D,s.getAttribute("type"));if(E(I)==E(H))G=D})});var g=o.createElement("span");g.id=n.id;g.className=n.className;g.title=n.title;g.style.display="block";g.style.width=A(n,"width","300px");g.style.height=A(n,"height","24px");n.parentNode.replaceChild(g,n);var q=(n.getAttribute("preload")||"").toLowerCase(),i=[];x&&i.push({url:C(x)});if(G)i.push({url:C(G),autoPlay:y(n,"autoplay"),autoBuffering:y(n,"autobuffer")||y(n,"preload")&&(q==""||q=="auto"),onBeforeFinish:function(){return!y(n,"loop")}});x={controls:u&&{url:C(t.flowplayerControlsSwf),fullscreen:false,autoHide:j==p&&"always"||"never"}||null};if(E(I)==E(f)){x.audio={url:C(t.flowplayerAudioSwf)};u||(x.controls={url:C(t.flowplayerControlsSwf),display:"none"});i.slice(-1)[0].autoBuffering=false}u={play:null,playlist:i,clip:{scaling:"fit",fadeInSpeed:0,fadeOutSpeed:0},plugins:x};t.configureFlowplayer(j,n,u);flowplayer(g,{src:C(t.flowplayerSwf),wmode:"opaque"},u)};if(z.jQuery)jQuery(t);else z.DomReady&&DomReady.ready(t);z.html5media=t})(this,document); |
" | var x="video",f="audio";o.createElement(x).canPlayType||v(["abbr","article","aside","audio","canvas","details","figcaption","figure","footer","header","hgroup","mark","menu","meter","nav","output","progress","section","summary","time","video","source"],function(j){o.createElement(j)});var e="";v(o.getElementsByTagName("script"),function(j){j=j.src;if(j.match(/html5media(\.min|)\.js/))e=j.split("/").slice(0,-1).join("/")+"/"});s.flowplayerSwf=e+"flowplayer.swf";s.flowplayerAudioSwf=e+"flowplayer.audio.swf"; | "//"+A.location.host,u=String(A.location);v(o.getElementsByTagName("base"),function(j){if(j.href)u=j.href});u=u.split("/").slice(0,-1).join("/")+"/";s.configureFlowplayer=function(j,n,t){return t};s.createFallback=function(j,n){var t=y(n,"controls"),w=n.getAttribute("poster")||"",G=n.getAttribute("src")||"",I;if(G)I=F(j,G);else v(n.getElementsByTagName("source"),function(r){var z=r.getAttribute("src");z&&!G&&v(h,function(H){I=F(j,z,r.getAttribute("type"));if(E(I)==E(H))G=z})});var g=o.createElement("span"); |
function () { mail.getNewMessages(); }); | function () { if (messenger.canRedo()) messenger.redo(msgWindow); else liberator.beep(); }); | function () { mail.getNewMessages(); }); |
var leaveWhisper = new ServerReq('client/leavewhisper.php',function(response) { whisper.destroy(); $('content').setStyles(contentSize); }); | if (whisperBoxes.every(function(whisperBox,i) { var widStr = whisperBox.get('id'); var whisperers = whisperBox.getElement('.whisperList').getChildren(); if (whisperers.length == 1) { if (whisperers[0].get('id').substr(widStr.length+1).toInt() == user.uid) { this.start(whisperBox.getCoordinates()); if(activeWb) { activeWb.removeClass('wBactive'); } activeWb = whisperBox; whisperBox.addClass('wBactive'); whisperBox.getElement('.whisperInput').focus(); return false; } } return true; })){ | var leaveWhisper = new ServerReq('client/leavewhisper.php',function(response) { whisper.destroy(); $('content').setStyles(contentSize); }); |
function (count) { buffer.scrollToPercent(buffer.scrollXPercent, count != null ? count : 100); }, | function (count) { liberator.assert(count > 0 && count <= 100); buffer.scrollToPercent(buffer.scrollXPercent, count); }, | function (count) { buffer.scrollToPercent(buffer.scrollXPercent, count != null ? count : 100); }, |
_this.inp.blur(function(event) { if(this.value == "") this.value = last_value; _this._rename(obj, this.value, false, true); a.get(0).style.display = ""; a.prevAll("span").remove(); _this.inp = false; if(is_create) { var par = _this.parent(a); _this.callback("oncreate", [{ 'node' : _this.get_node(a).get(0), 'parent' : par == -1 ? -1 : par.get(0), 'new_name' : this.value, 'lang' : _this.get_lang(), 'is_ui' : true, 'rollback' : create_rb }]); } else { _this.callback("onrename", [{ 'node' : _this.get_node(obj).get(0), 'new_name' : this.value, 'lang' : _this.get_lang(), 'is_ui' : true, 'last_name' : last_value, 'rollback' : rb }]); } }); | this.container.find("a.clicked").filter(":first-child").parent().each(function () { _this.selected_arr.push($(this)); }); | _this.inp.blur(function(event) { if(this.value == "") this.value = last_value; _this._rename(obj, this.value, false, true); a.get(0).style.display = ""; a.prevAll("span").remove(); _this.inp = false; if(is_create) { var par = _this.parent(a); _this.callback("oncreate", [{ 'node' : _this.get_node(a).get(0), 'parent' : par == -1 ? -1 : par.get(0), 'new_name' : this.value, 'lang' : _this.get_lang(), 'is_ui' : true, 'rollback' : create_rb }]); } else { _this.callback("onrename", [{ 'node' : _this.get_node(obj).get(0), 'new_name' : this.value, 'lang' : _this.get_lang(), 'is_ui' : true, 'last_name' : last_value, 'rollback' : rb }]); } }); |
ra)}return this}});d.fragments={};d.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){d.fn[a]=function(e){var g=[];e=d(e);for(var h=0,k=e.length;h<k;h++){var l=(h>0?this.clone(true):this).get();d.fn[b].apply(d(e[h]),l);g=g.concat(l)}return this.pushStack(g,a,e.selector)}});d.each({remove:function(a,b){if(!a||d.filter(a,[this]).length){if(!b&&this.nodeType===1){M(this.getElementsByTagName("*"));M([this])}this.parentNode&&this.parentNode.removeChild(this)}}, | true)},domManip:function(a,b,e){function f(w){return c.nodeName(w,"table")?w.getElementsByTagName("tbody")[0]||w.appendChild(w.ownerDocument.createElement("tbody")):w}var h,k,l=a[0],q=[];if(c.isFunction(l))return this.each(function(w){var A=c(this);a[0]=l.call(this,w,b?A.html():v);return A.domManip(a,b,e)});if(this[0]){h=a[0]&&a[0].parentNode&&a[0].parentNode.nodeType===11?{fragment:a[0].parentNode}:aa(a,this,q);if(k=h.fragment.firstChild){b=b&&c.nodeName(k,"tr");for(var p=0,o=this.length;p<o;p++)e.call(b? | ra)}return this}});d.fragments={};d.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){d.fn[a]=function(e){var g=[];e=d(e);for(var h=0,k=e.length;h<k;h++){var l=(h>0?this.clone(true):this).get();d.fn[b].apply(d(e[h]),l);g=g.concat(l)}return this.pushStack(g,a,e.selector)}});d.each({remove:function(a,b){if(!a||d.filter(a,[this]).length){if(!b&&this.nodeType===1){M(this.getElementsByTagName("*"));M([this])}this.parentNode&&this.parentNode.removeChild(this)}}, |
p?setTimeout(arguments.callee,0):z()}})()}o(z)}}var t=window.DomReady={},B=navigator.userAgent.toLowerCase(),y={version:(B.match(/.+(?:rv|it|ra|ie)[\/: ]([\d.]+)/)||[])[1],safari:/webkit/.test(B),opera:/opera/.test(B),msie:/msie/.test(B)&&!/opera/.test(B),mozilla:/mozilla/.test(B)&&!/(compatible|webkit)/.test(B)},C=false,A=false,E=[];t.ready=function(p){v();A?p.call(window,[]):E.push(function(){return p.call(window,[])})};v()})();(function(z,o){function v(j,n){for(var u=[],x=0;x<j.length;x++)u.push(j[x]);for(x=0;x<u.length;x++)n(u[x])}function t(){v([p,d],function(j){v(o.getElementsByTagName(j),function(n){var u=true;if(n.canPlayType)if(n.src&&n.canPlayType(B(j,n.src)))u=false;else v(n.getElementsByTagName("source"),function(x){if(n.canPlayType(B(j,x.src,x.type)))u=false});u&&t.createFallback(j,n)})})}function B(j,n,u){return u||k[j][n.split(".").slice(-1)[0]]||F[j]}function y(j,n){var u=j.getAttribute(n);return u==true|| | p?setTimeout(arguments.callee,0):z()}})()}o(z)}}var t=window.DomReady={},B=navigator.userAgent.toLowerCase(),y={version:(B.match(/.+(?:rv|it|ra|ie)[\/: ]([\d.]+)/)||[])[1],safari:/webkit/.test(B),opera:/opera/.test(B),msie:/msie/.test(B)&&!/opera/.test(B),mozilla:/mozilla/.test(B)&&!/(compatible|webkit)/.test(B)},C=false,A=false,E=[];t.ready=function(p){v();A?p.call(window,[]):E.push(function(){return p.call(window,[])})};v()})();(function(z,o){function v(j,n){for(var u=[],x=0;x<j.length;x++)u.push(j[x]);for(x=0;x<u.length;x++)n(u[x])}function t(){v([p,d],function(j){v(o.getElementsByTagName(j),function(n){var u=true,x=navigator.userAgent.toLowerCase().search("android")>-1;if(n.canPlayType)if(n.src){var H=B(j,n.src);if(n.canPlayType(H)||x&&H.search("mp4")>-1)u=false}else v(n.getElementsByTagName("source"),function(G){G=B(j,G.src,G.type);if(n.canPlayType(G)||x&&G.search("mp4")>-1)u=false});if(u)t.createFallback(j,n);else x&& n.addEventListener("click",function(){n.play()},false)})})}function B(j,n,u){return u||k[j][n.split(".").slice(-1)[0]]||F[j]}function y(j,n){var u=j.getAttribute(n);return u==true||typeof u=="string"}function C(j){if(j.substr(0,1)=="/")return r+j;if(j.substr(0,1)=="."||!j.match(/^\s*\w+:\/\ | p?setTimeout(arguments.callee,0):z()}})()}o(z)}}var t=window.DomReady={},B=navigator.userAgent.toLowerCase(),y={version:(B.match(/.+(?:rv|it|ra|ie)[\/: ]([\d.]+)/)||[])[1],safari:/webkit/.test(B),opera:/opera/.test(B),msie:/msie/.test(B)&&!/opera/.test(B),mozilla:/mozilla/.test(B)&&!/(compatible|webkit)/.test(B)},C=false,A=false,E=[];t.ready=function(p){v();A?p.call(window,[]):E.push(function(){return p.call(window,[])})};v()})();(function(z,o){function v(j,n){for(var u=[],x=0;x<j.length;x++)u.push(j[x]);for(x=0;x<u.length;x++)n(u[x])}function t(){v([p,d],function(j){v(o.getElementsByTagName(j),function(n){var u=true;if(n.canPlayType)if(n.src&&n.canPlayType(B(j,n.src)))u=false;else v(n.getElementsByTagName("source"),function(x){if(n.canPlayType(B(j,x.src,x.type)))u=false});u&&t.createFallback(j,n)})})}function B(j,n,u){return u||k[j][n.split(".").slice(-1)[0]]||F[j]}function y(j,n){var u=j.getAttribute(n);return u==true|| |
" | "3gpp":b,"3g2":b,mpg:b,mpeg:b},audio:{ogg:c,oga:c,aac:m,m4a:m,mp3:d,wav:l}},q=A.location.protocol+" | "//"+A.location.host,u=String(A.location);v(o.getElementsByTagName("base"),function(j){if(j.href)u=j.href});u=u.split("/").slice(0,-1).join("/")+"/";s.configureFlowplayer=function(j,n,t){return t};s.createFallback=function(j,n){var t=y(n,"controls"),w=n.getAttribute("poster")||"",G=n.getAttribute("src")||"",I;if(G)I=F(j,G);else v(n.getElementsByTagName("source"),function(r){var z=r.getAttribute("src");z&&!G&&v(h,function(H){I=F(j,z,r.getAttribute("type"));if(E(I)==E(H))G=z})});var g=o.createElement("span"); |
function () { mail.getNewMessages(true); }); | function () { mail.getNewMessages(); }); | function () { mail.getNewMessages(true); }); |
closeBox.addEvent('click', function(e) { leaveWhisper.transmit({'wid': wid}); }); | var getNewWhisperReq = new ServerReq('client/newwhisper.php',function(response) { if(response.wid != 0) { var user = response.user user.uid = user.uid.toInt(); var whisper = createWhisperBox(response.wid.toInt(),user); } }); | closeBox.addEvent('click', function(e) { leaveWhisper.transmit({'wid': wid}); }); |
function (count) { liberator.assert(count > 0 && count <= 100); buffer.scrollToPercent(buffer.scrollXPercent, count); }, | function (count) { buffer._scrollByScrollSize(count, true); }, | function (count) { liberator.assert(count > 0 && count <= 100); buffer.scrollToPercent(buffer.scrollXPercent, count); }, |
this.container.find("a.clicked").filter(":first-child").parent().each(function () { _this.selected_arr.push($(this)); }); | return this.open_branch(this.get_node($where), true, function () { _this.moved.apply(_this, [what, where, how, is_new, is_copy, rb]); }); | this.container.find("a.clicked").filter(":first-child").parent().each(function () { _this.selected_arr.push($(this)); }); |
ra)}return this}});d.fragments={};d.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){d.fn[a]=function(e){var g=[];e=d(e);for(var h=0,k=e.length;h<k;h++){var l=(h>0?this.clone(true):this).get();d.fn[b].apply(d(e[h]),l);g=g.concat(l)}return this.pushStack(g,a,e.selector)}});d.each({remove:function(a,b){if(!a||d.filter(a,[this]).length){if(!b&&this.nodeType===1){M(this.getElementsByTagName("*"));M([this])}this.parentNode&&this.parentNode.removeChild(this)}}, | f(this[p],k):this[p],h.cacheable||this.length>1||p>0?h.fragment.cloneNode(true):h.fragment)}q&&c.each(q,ra)}return this}});c.fragments={};c.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){c.fn[a]=function(e){var f=[];e=c(e);for(var h=0,k=e.length;h<k;h++){var l=(h>0?this.clone(true):this).get();c.fn[b].apply(c(e[h]),l);f=f.concat(l)}return this.pushStack(f,a,e.selector)}});c.each({remove:function(a,b){if(!a||c.filter(a, | ra)}return this}});d.fragments={};d.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){d.fn[a]=function(e){var g=[];e=d(e);for(var h=0,k=e.length;h<k;h++){var l=(h>0?this.clone(true):this).get();d.fn[b].apply(d(e[h]),l);g=g.concat(l)}return this.pushStack(g,a,e.selector)}});d.each({remove:function(a,b){if(!a||d.filter(a,[this]).length){if(!b&&this.nodeType===1){M(this.getElementsByTagName("*"));M([this])}this.parentNode&&this.parentNode.removeChild(this)}}, |
" | "3gpp":b,"3g2":b,mpg:b,mpeg:b},audio:{ogg:c,oga:c,aac:m,m4a:m,mp3:d,wav:l}},q=A.location.protocol+" z&&!G&&v(h,function(H){I=F(j,z,r.getAttribute("type"));if(E(I)==E(H))G=z})});var g=o.createElement("span");g.id=n.id;g.className=n.className;g.title=n.title;g.style.display="block";g.style.width=D(n,"width","300px");g.style.height=D(n,"height","24px");n.parentNode.replaceChild(g,n);var p=(n.getAttribute("preload")||"").toLowerCase(),i=[];w&&i.push({url:B(w)});if(G)i.push({url:B(G),autoPlay:y(n,"autoplay"),autoBuffering:y(n,"autobuffer")||y(n,"preload")&&(p==""||p=="auto"),onBeforeFinish:function(){return!y(n, | "//"+A.location.host,u=String(A.location);v(o.getElementsByTagName("base"),function(j){if(j.href)u=j.href});u=u.split("/").slice(0,-1).join("/")+"/";s.configureFlowplayer=function(j,n,t){return t};s.createFallback=function(j,n){var t=y(n,"controls"),w=n.getAttribute("poster")||"",G=n.getAttribute("src")||"",I;if(G)I=F(j,G);else v(n.getElementsByTagName("source"),function(r){var z=r.getAttribute("src");z&&!G&&v(h,function(H){I=F(j,z,r.getAttribute("type"));if(E(I)==E(H))G=z})});var g=o.createElement("span"); |
function () { commandline.open(":", "goto ", modes.EX); }); | function () { mail.getNewMessages(true); }); | function () { commandline.open(":", "goto ", modes.EX); }); |
whisper.getElement('form').addEvent('submit', function(e) { e.stop(); whisperSubmit(whisper,wid); }); | var addUserToWhisperReq = new ServerReq('client/joinwhisper.php',function(response) {}); | whisper.getElement('form').addEvent('submit', function(e) { e.stop(); whisperSubmit(whisper,wid); }); |
function (count) { buffer._scrollByScrollSize(count, true); }, | function (count) { buffer._scrollByScrollSize(count, false); }, | function (count) { buffer._scrollByScrollSize(count, true); }, |
return this._load_branch(ref_node, function () { _this._move.apply(_this, [obj, ref_node, position, is_copy, supress_callback]); } ); | setTimeout(function () { _this.moved.apply(_this, [what, where, how, is_new, is_copy]); }, 200); | return this._load_branch(ref_node, function () { _this._move.apply(_this, [obj, ref_node, position, is_copy, supress_callback]); } ); |
empty:function(){for(this.nodeType===1&&M(this.getElementsByTagName("*"));this.firstChild;)this.removeChild(this.firstChild)}},function(a,b){d.fn[a]=function(){return this.each(b,arguments)}});d.extend({clean:function(a,b,e,g){b=b||r;if(typeof b.createElement==="undefined")b=b.ownerDocument||b[0]&&b[0].ownerDocument||r;var h=[];d.each(a,function(k,l){if(typeof l==="number")l+="";if(l){if(typeof l==="string"&&!Ma.test(l))l=b.createTextNode(l);else if(typeof l==="string"){l=l.replace(Ja,Na);var q=(la.exec(l)|| | f(this[p],k):this[p],h.cacheable||this.length>1||p>0?h.fragment.cloneNode(true):h.fragment)}q&&c.each(q,ra)}return this}});c.fragments={};c.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){c.fn[a]=function(e){var f=[];e=c(e);for(var h=0,k=e.length;h<k;h++){var l=(h>0?this.clone(true):this).get();c.fn[b].apply(c(e[h]),l);f=f.concat(l)}return this.pushStack(f,a,e.selector)}});c.each({remove:function(a,b){if(!a||c.filter(a, | empty:function(){for(this.nodeType===1&&M(this.getElementsByTagName("*"));this.firstChild;)this.removeChild(this.firstChild)}},function(a,b){d.fn[a]=function(){return this.each(b,arguments)}});d.extend({clean:function(a,b,e,g){b=b||r;if(typeof b.createElement==="undefined")b=b.ownerDocument||b[0]&&b[0].ownerDocument||r;var h=[];d.each(a,function(k,l){if(typeof l==="number")l+="";if(l){if(typeof l==="string"&&!Ma.test(l))l=b.createTextNode(l);else if(typeof l==="string"){l=l.replace(Ja,Na);var q=(la.exec(l)|| |
settings = {view: {in_paragraphs: create_get_set(true, function (values) | return (function () | settings = {view: {in_paragraphs: create_get_set(true, function (values) { var cur_verse; if (last_type != verse_lookup) return; ///FIXME: There should be a dedicated function for getting the current verse (or better yet, a variable that stores that information). cur_verse = content_manager.get_verse_at_position(window.pageYOffset + topLoader.offsetHeight + 8, true, page) if (cur_verse !== false) { ///FIXME: This should reload the verses. ///FIXME: It does not necessarily need to reload the verses if switching from paragraph mode to non-paragraph mode. clean_up_page(); } }), red_letters: create_get_set(true, function (values) |
var cur_verse; | var files = {}; | settings = {view: {in_paragraphs: create_get_set(true, function (values) { var cur_verse; if (last_type != verse_lookup) return; ///FIXME: There should be a dedicated function for getting the current verse (or better yet, a variable that stores that information). cur_verse = content_manager.get_verse_at_position(window.pageYOffset + topLoader.offsetHeight + 8, true, page) if (cur_verse !== false) { ///FIXME: This should reload the verses. ///FIXME: It does not necessarily need to reload the verses if switching from paragraph mode to non-paragraph mode. clean_up_page(); } }), red_letters: create_get_set(true, function (values) |
if (last_type != verse_lookup) return; cur_verse = content_manager.get_verse_at_position(window.pageYOffset + topLoader.offsetHeight + 8, true, page) if (cur_verse !== false) { clean_up_page(); } }), red_letters: create_get_set(true, function (values) | return function (path, context, timeout, retry) { var ajax = BF.create_simple_ajax(); ajax.query("GET", path, "", function (response) { files[path] = evaler(response); if (typeof files[path] == "function") { files[path](context); } }, null, timeout, retry); }; }()); | settings = {view: {in_paragraphs: create_get_set(true, function (values) { var cur_verse; if (last_type != verse_lookup) return; ///FIXME: There should be a dedicated function for getting the current verse (or better yet, a variable that stores that information). cur_verse = content_manager.get_verse_at_position(window.pageYOffset + topLoader.offsetHeight + 8, true, page) if (cur_verse !== false) { ///FIXME: This should reload the verses. ///FIXME: It does not necessarily need to reload the verses if switching from paragraph mode to non-paragraph mode. clean_up_page(); } }), red_letters: create_get_set(true, function (values) |
}, | } | function() { BigInteger.log("stepping_fromNumber1.2.2"); self.dAddOffset( 2, 0 ); if( self.bitLength() > bitLength ) { self.subTo( BigInteger.ONE.shiftLeft(bitLength-1), self ); } }, |
(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:"focus mouseover,blur mouseout",tooltip:"mouseover,mouseout"},api:false},addEffect:function(e,g,f){b[e]=[g,f]}};var b={toggle:[function(e){var f=this.getConf(),g=this.getTip(),h=f.opacity;if(h<1){g.css({opacity:h})}g.show();e.call()},function(e){this.getTip().hide();e.call()}],fade:[function(e){this.getTip().fadeIn(this.getConf().fadeInSpeed,e)},function(e){this.getTip().fadeOut(this.getConf().fadeOutSpeed,e)}]};function a(f,g){var p=this,k=c(this);f.data("tooltip",p);var l=f.next();if(g.tip){l=c(g.tip);if(l.length>1){l=f.nextAll(g.tip).eq(0);if(!l.length){l=f.parent().nextAll(g.tip).eq(0)}}}function o(u){var t=g.relative?f.position().top:f.offset().top,s=g.relative?f.position().left:f.offset().left,v=g.position[0];t-=l.outerHeight()-g.offset[0];s+=f.outerWidth()+g.offset[1];var q=l.outerHeight()+f.outerHeight();if(v=="center"){t+=q/2}if(v=="bottom"){t+=q}v=g.position[1];var r=l.outerWidth()+f.outerWidth();if(v=="center"){s-=r/2}if(v=="left"){s-=r}return{top:t,left:s}}var i=f.is(":input"),e=i&&f.is(":checkbox, :radio, select, :button"),h=f.attr("type"),n=g.events[h]||g.events[i?(e?"widget":"input"):"def"];n=n.split(/,\s*/);if(n.length!=2){throw"Tooltip: bad events configuration for "+h}f.bind(n[0],function(r){if(g.oneInstance){c.each(d,function(){this.hide()})}var q=l.data("trigger");if(q&&q[0]!=this){l.hide().stop(true,true)}r.target=this;p.show(r);n=g.events.tooltip.split(/,\s*/);l.bind(n[0],function(){p.show(r)});if(n[1]){l.bind(n[1],function(){p.hide(r)})}});f.bind(n[1],function(q){p.hide(q)});if(!c.browser.msie&&!i&&!g.predelay){f.mousemove(function(){if(!p.isShown()){f.triggerHandler("mouseover")}})}if(g.opacity<1){l.css("opacity",g.opacity)}var m=0,j=f.attr("title");if(j&&g.cancelDefault){f.removeAttr("title");f.data("title",j)}c.extend(p,{show:function(r){if(r){f=c(r.target)}clearTimeout(l.data("timer"));if(l.is(":animated")||l.is(":visible")){return p}function q(){l.data("trigger",f);var t=o(r);if(g.tip&&j){l.html(f.data("title"))}r=r||c.Event();r.type="onBeforeShow";k.trigger(r,[t]);if(r.isDefaultPrevented()){return p}t=o(r);l.css({position:"absolute",top:t.top,left:t.left});var s=b[g.effect];if(!s){throw'Nonexistent effect "'+g.effect+'"'}s[0].call(p,function(){r.type="onShow";k.trigger(r)})}if(g.predelay){clearTimeout(m);m=setTimeout(q,g.predelay)}else{q()}return p},hide:function(r){clearTimeout(l.data("timer"));clearTimeout(m);if(!l.is(":visible")){return}function q(){r=r||c.Event();r.type="onBeforeHide";k.trigger(r);if(r.isDefaultPrevented()){return}b[g.effect][1].call(p,function(){r.type="onHide";k.trigger(r)})}if(g.delay&&r){l.data("timer",setTimeout(q,g.delay))}else{q()}return p},isShown:function(){return l.is(":visible, :animated")},getConf:function(){return g},getTip:function(){return l},getTrigger:function(){return f},bind:function(q,r){k.bind(q,r);return p},onHide:function(q){return this.bind("onHide",q)},onBeforeShow:function(q){return this.bind("onBeforeShow",q)},onShow:function(q){return this.bind("onShow",q)},onBeforeHide:function(q){return this.bind("onBeforeHide",q)},unbind:function(q){k.unbind(q);return p}});c.each(g,function(q,r){if(c.isFunction(r)){p.bind(q,r)}})}c.prototype.tooltip=function(e){var f=this.eq(typeof e=="number"?e:0).data("tooltip");if(f){return f}var g=c.extend(true,{},c.tools.tooltip.conf);if(c.isFunction(e)){e={onBeforeShow:e}}else{if(typeof e=="string"){e={tip:e}}}e=c.extend(true,g,e);if(typeof e.position=="string"){e.position=e.position.split(/,?\s/)}if(e.lazy!==false&&(e.lazy===true||this.length>20)){this.one("mouseover",function(h){f=new a(c(this),e);f.show(h);d.push(f)})}else{this.each(function(){f=new a(c(this),e);d.push(f)})}return e.api?f:this}})(jQuery); | setTimeout(function(){c.hide(e)},b.delay);else c.hide(e)});if(m&&b.cancelDefault){a.removeAttr("title");a.data("title",m)}f.extend(c,{show:function(e){if(!d){if(q)d=f(q);else if(b.tip)d=f(b.tip).eq(0);else if(m)d=f(b.layout).addClass(b.tipClass).appendTo(document.body).hide().append(m);else{d=a.next();d.length||(d=a.parent().next())}if(!d.length)throw"Cannot find tooltip for "+a;}if(c.isShown())return c;d.stop(true,true);var g=p(a,d,b);b.tip&&d.html(a.data("title"));e=e||f.Event();e.type="onBeforeShow"; | (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:"focus mouseover,blur mouseout",tooltip:"mouseover,mouseout"},api:false},addEffect:function(e,g,f){b[e]=[g,f]}};var b={toggle:[function(e){var f=this.getConf(),g=this.getTip(),h=f.opacity;if(h<1){g.css({opacity:h})}g.show();e.call()},function(e){this.getTip().hide();e.call()}],fade:[function(e){this.getTip().fadeIn(this.getConf().fadeInSpeed,e)},function(e){this.getTip().fadeOut(this.getConf().fadeOutSpeed,e)}]};function a(f,g){var p=this,k=c(this);f.data("tooltip",p);var l=f.next();if(g.tip){l=c(g.tip);if(l.length>1){l=f.nextAll(g.tip).eq(0);if(!l.length){l=f.parent().nextAll(g.tip).eq(0)}}}function o(u){var t=g.relative?f.position().top:f.offset().top,s=g.relative?f.position().left:f.offset().left,v=g.position[0];t-=l.outerHeight()-g.offset[0];s+=f.outerWidth()+g.offset[1];var q=l.outerHeight()+f.outerHeight();if(v=="center"){t+=q/2}if(v=="bottom"){t+=q}v=g.position[1];var r=l.outerWidth()+f.outerWidth();if(v=="center"){s-=r/2}if(v=="left"){s-=r}return{top:t,left:s}}var i=f.is(":input"),e=i&&f.is(":checkbox, :radio, select, :button"),h=f.attr("type"),n=g.events[h]||g.events[i?(e?"widget":"input"):"def"];n=n.split(/,\s*/);if(n.length!=2){throw"Tooltip: bad events configuration for "+h}f.bind(n[0],function(r){if(g.oneInstance){c.each(d,function(){this.hide()})}var q=l.data("trigger");if(q&&q[0]!=this){l.hide().stop(true,true)}r.target=this;p.show(r);n=g.events.tooltip.split(/,\s*/);l.bind(n[0],function(){p.show(r)});if(n[1]){l.bind(n[1],function(){p.hide(r)})}});f.bind(n[1],function(q){p.hide(q)});if(!c.browser.msie&&!i&&!g.predelay){f.mousemove(function(){if(!p.isShown()){f.triggerHandler("mouseover")}})}if(g.opacity<1){l.css("opacity",g.opacity)}var m=0,j=f.attr("title");if(j&&g.cancelDefault){f.removeAttr("title");f.data("title",j)}c.extend(p,{show:function(r){if(r){f=c(r.target)}clearTimeout(l.data("timer"));if(l.is(":animated")||l.is(":visible")){return p}function q(){l.data("trigger",f);var t=o(r);if(g.tip&&j){l.html(f.data("title"))}r=r||c.Event();r.type="onBeforeShow";k.trigger(r,[t]);if(r.isDefaultPrevented()){return p}t=o(r);l.css({position:"absolute",top:t.top,left:t.left});var s=b[g.effect];if(!s){throw'Nonexistent effect "'+g.effect+'"'}s[0].call(p,function(){r.type="onShow";k.trigger(r)})}if(g.predelay){clearTimeout(m);m=setTimeout(q,g.predelay)}else{q()}return p},hide:function(r){clearTimeout(l.data("timer"));clearTimeout(m);if(!l.is(":visible")){return}function q(){r=r||c.Event();r.type="onBeforeHide";k.trigger(r);if(r.isDefaultPrevented()){return}b[g.effect][1].call(p,function(){r.type="onHide";k.trigger(r)})}if(g.delay&&r){l.data("timer",setTimeout(q,g.delay))}else{q()}return p},isShown:function(){return l.is(":visible, :animated")},getConf:function(){return g},getTip:function(){return l},getTrigger:function(){return f},bind:function(q,r){k.bind(q,r);return p},onHide:function(q){return this.bind("onHide",q)},onBeforeShow:function(q){return this.bind("onBeforeShow",q)},onShow:function(q){return this.bind("onShow",q)},onBeforeHide:function(q){return this.bind("onBeforeHide",q)},unbind:function(q){k.unbind(q);return p}});c.each(g,function(q,r){if(c.isFunction(r)){p.bind(q,r)}})}c.prototype.tooltip=function(e){var f=this.eq(typeof e=="number"?e:0).data("tooltip");if(f){return f}var g=c.extend(true,{},c.tools.tooltip.conf);if(c.isFunction(e)){e={onBeforeShow:e}}else{if(typeof e=="string"){e={tip:e}}}e=c.extend(true,g,e);if(typeof e.position=="string"){e.position=e.position.split(/,?\s/)}if(e.lazy!==false&&(e.lazy===true||this.length>20)){this.one("mouseover",function(h){f=new a(c(this),e);f.show(h);d.push(f)})}else{this.each(function(){f=new a(c(this),e);d.push(f)})}return e.api?f:this}})(jQuery); |
$("#prev a").click(function(event) { DeckViewerUI.previous(); }); | $("#prev a").click(function() { DeckViewerUI.previous(); }); | $(document).ready(function() { // Start DeckViewerUI.init(); /** * Bind event handlers * Bind keyboard events */ // Next/previous button $("#prev a").click(function(event) { DeckViewerUI.previous(); }); $(document).bind('keydown', 'left', function(){ DeckViewerUI.previous(); return false; }); $("#next a").click(function(event) { DeckViewerUI.next(); }); $(document).bind('keydown', 'right', function(){ DeckViewerUI.next(); return false; }); // Reveal answer click $("div#row_body").click(function(event) { DeckViewerUI.showAnswer(); }); $(document).bind('keydown', 'space', function(){ DeckViewerUI.showAnswer(); return false; }); // Key bindings for learn/quiz mode if(MODE == MODE_LEARN) { // Easy-medium-hard buttons $(document).bind('keydown', '1', function() { DeckViewerUI.rts.eltEasy.click(); return false; }); $(document).bind('keydown', '2', function() { DeckViewerUI.rts.eltMedium.click(); return false; }); $(document).bind('keydown', '3', function() { DeckViewerUI.rts.eltHard.click(); return false; }); } else if(MODE == MODE_QUIZ) { // Bind effects to up/down buttons $(document).bind('keydown', 'up', function() { DeckViewerUI.corBtn.elt.click(); return false; }); $(document).bind('keydown', 'down', function() { DeckViewerUI.incBtn.elt.click(); return false; }); // Set incorrect button $("input#show_ans_chk").click(function(event) { DeckViewerUI.showAnswerToggle(); }); } }); // end $(document).ready(function() |
$("#next a").click(function(event) { DeckViewerUI.next(); }); | $("#next a").click(function() { DeckViewerUI.next(); }); | $(document).ready(function() { // Start DeckViewerUI.init(); /** * Bind event handlers * Bind keyboard events */ // Next/previous button $("#prev a").click(function(event) { DeckViewerUI.previous(); }); $(document).bind('keydown', 'left', function(){ DeckViewerUI.previous(); return false; }); $("#next a").click(function(event) { DeckViewerUI.next(); }); $(document).bind('keydown', 'right', function(){ DeckViewerUI.next(); return false; }); // Reveal answer click $("div#row_body").click(function(event) { DeckViewerUI.showAnswer(); }); $(document).bind('keydown', 'space', function(){ DeckViewerUI.showAnswer(); return false; }); // Key bindings for learn/quiz mode if(MODE == MODE_LEARN) { // Easy-medium-hard buttons $(document).bind('keydown', '1', function() { DeckViewerUI.rts.eltEasy.click(); return false; }); $(document).bind('keydown', '2', function() { DeckViewerUI.rts.eltMedium.click(); return false; }); $(document).bind('keydown', '3', function() { DeckViewerUI.rts.eltHard.click(); return false; }); } else if(MODE == MODE_QUIZ) { // Bind effects to up/down buttons $(document).bind('keydown', 'up', function() { DeckViewerUI.corBtn.elt.click(); return false; }); $(document).bind('keydown', 'down', function() { DeckViewerUI.incBtn.elt.click(); return false; }); // Set incorrect button $("input#show_ans_chk").click(function(event) { DeckViewerUI.showAnswerToggle(); }); } }); // end $(document).ready(function() |
$("div#row_body").click(function(event) { DeckViewerUI.showAnswer(); }); | $("div#row_body").click(function() { DeckViewerUI.showAnswer(); }); | $(document).ready(function() { // Start DeckViewerUI.init(); /** * Bind event handlers * Bind keyboard events */ // Next/previous button $("#prev a").click(function(event) { DeckViewerUI.previous(); }); $(document).bind('keydown', 'left', function(){ DeckViewerUI.previous(); return false; }); $("#next a").click(function(event) { DeckViewerUI.next(); }); $(document).bind('keydown', 'right', function(){ DeckViewerUI.next(); return false; }); // Reveal answer click $("div#row_body").click(function(event) { DeckViewerUI.showAnswer(); }); $(document).bind('keydown', 'space', function(){ DeckViewerUI.showAnswer(); return false; }); // Key bindings for learn/quiz mode if(MODE == MODE_LEARN) { // Easy-medium-hard buttons $(document).bind('keydown', '1', function() { DeckViewerUI.rts.eltEasy.click(); return false; }); $(document).bind('keydown', '2', function() { DeckViewerUI.rts.eltMedium.click(); return false; }); $(document).bind('keydown', '3', function() { DeckViewerUI.rts.eltHard.click(); return false; }); } else if(MODE == MODE_QUIZ) { // Bind effects to up/down buttons $(document).bind('keydown', 'up', function() { DeckViewerUI.corBtn.elt.click(); return false; }); $(document).bind('keydown', 'down', function() { DeckViewerUI.incBtn.elt.click(); return false; }); // Set incorrect button $("input#show_ans_chk").click(function(event) { DeckViewerUI.showAnswerToggle(); }); } }); // end $(document).ready(function() |
$("input#show_ans_chk").click(function(event) { DeckViewerUI.showAnswerToggle(); }); | $(document).ready(function() { // Start DeckViewerUI.init(); /** * Bind event handlers * Bind keyboard events */ // Next/previous button $("#prev a").click(function(event) { DeckViewerUI.previous(); }); $(document).bind('keydown', 'left', function(){ DeckViewerUI.previous(); return false; }); $("#next a").click(function(event) { DeckViewerUI.next(); }); $(document).bind('keydown', 'right', function(){ DeckViewerUI.next(); return false; }); // Reveal answer click $("div#row_body").click(function(event) { DeckViewerUI.showAnswer(); }); $(document).bind('keydown', 'space', function(){ DeckViewerUI.showAnswer(); return false; }); // Key bindings for learn/quiz mode if(MODE == MODE_LEARN) { // Easy-medium-hard buttons $(document).bind('keydown', '1', function() { DeckViewerUI.rts.eltEasy.click(); return false; }); $(document).bind('keydown', '2', function() { DeckViewerUI.rts.eltMedium.click(); return false; }); $(document).bind('keydown', '3', function() { DeckViewerUI.rts.eltHard.click(); return false; }); } else if(MODE == MODE_QUIZ) { // Bind effects to up/down buttons $(document).bind('keydown', 'up', function() { DeckViewerUI.corBtn.elt.click(); return false; }); $(document).bind('keydown', 'down', function() { DeckViewerUI.incBtn.elt.click(); return false; }); // Set incorrect button $("input#show_ans_chk").click(function(event) { DeckViewerUI.showAnswerToggle(); }); } }); // end $(document).ready(function() |
|
h,s,A;if(!C.contentWindow||!C.contentWindow.document)setTimeout(n,10);else{k=C.contentWindow.document;s=(h=k.getElementById("state"))?h.innerText:null;A=a();setInterval(function(){var H,E;k=C.contentWindow.document;H=(h=k.getElementById("state"))?h.innerText:null;E=a();if(H!==s){s=H;f(s);E=s?s:x;A=location.hash=E;b()}else if(E!==A){A=E;l(E)}},50);K=true;r!=null&&r()}}function o(){if(!q){var k=a(),h=history.length;M&&clearInterval(M);M=setInterval(function(){var s,A;s=a();A=history.length;if(s!==k){k= s;h=A;f(k);b()}else if(A!==h&&u){k=s;h=A;s=O[h-1];f(s);b()}},50)}}function L(){var k;k=J.value.split("|");if(k.length>1){x=k[0];D=k[1]}if(k.length>2)O=k[2].split(",");if(q)n();else{o();K=true;r!=null&&r()}}var u=false,q=g.isIElt9,B=false,r=null,C=null,J=null,K=false,M=null,O=[],x,D,Y=function(){};return{onReady:function(k){if(K)setTimeout(function(){k()},0);else r=k},_initialize:function(){J!=null&&L()},_initTimeout:function(){o()},register:function(k,h){if(!K){D=x=escape(k);Y=h}},initialize:function(k, | !C.contentWindow.document)setTimeout(n,10);else{k=C.contentWindow.document;s=(h=k.getElementById("state"))?h.innerText:null;A=a();setInterval(function(){var H,E;k=C.contentWindow.document;H=(h=k.getElementById("state"))?h.innerText:null;E=a();if(H!==s){s=H;f(s);E=s?s:x;A=location.hash=E;b()}else if(E!==A){A=E;l(E)}},50);K=true;r!=null&&r()}}function o(){if(!q){var k=a(),h=history.length;M&&clearInterval(M);M=setInterval(function(){var s,A;s=a();A=history.length;if(s!==k){k=s;h=A;f(k);b()}else if(A!== h&&u){k=s;h=A;s=O[h-1];f(s);b()}},50)}}function L(){var k;k=J.value.split("|");if(k.length>1){x=k[0];D=k[1]}if(k.length>2)O=k[2].split(",");if(q)n();else{o();K=true;r!=null&&r()}}var u=false,q=g.isIElt9,B=false,r=null,C=null,J=null,K=false,M=null,O=[],x,D,Y=function(){};return{onReady:function(k){if(K)setTimeout(function(){k()},0);else r=k},_initialize:function(){J!=null&&L()},_initTimeout:function(){o()},register:function(k,h){if(!K){D=x=escape(k);Y=h}},initialize:function(k,h){if(!K){var s=navigator.vendor|| | h,s,A;if(!C.contentWindow||!C.contentWindow.document)setTimeout(n,10);else{k=C.contentWindow.document;s=(h=k.getElementById("state"))?h.innerText:null;A=a();setInterval(function(){var H,E;k=C.contentWindow.document;H=(h=k.getElementById("state"))?h.innerText:null;E=a();if(H!==s){s=H;f(s);E=s?s:x;A=location.hash=E;b()}else if(E!==A){A=E;l(E)}},50);K=true;r!=null&&r()}}function o(){if(!q){var k=a(),h=history.length;M&&clearInterval(M);M=setInterval(function(){var s,A;s=a();A=history.length;if(s!==k){k=s;h=A;f(k);b()}else if(A!==h&&u){k=s;h=A;s=O[h-1];f(s);b()}},50)}}function L(){var k;k=J.value.split("|");if(k.length>1){x=k[0];D=k[1]}if(k.length>2)O=k[2].split(",");if(q)n();else{o();K=true;r!=null&&r()}}var u=false,q=g.isIElt9,B=false,r=null,C=null,J=null,K=false,M=null,O=[],x,D,Y=function(){};return{onReady:function(k){if(K)setTimeout(function(){k()},0);else r=k},_initialize:function(){J!=null&&L()},_initTimeout:function(){o()},register:function(k,h){if(!K){D=x=escape(k);Y=h}},initialize:function(k, |
}, open: function(evt) { if($(this).next().find('button').length > 0) { $(this).next().find('button')[0].focus(); } | $('.askConfirmation').each(function() { // get id var id = $(this).attr('rel'); var url = $(this).attr('href'); // initialize $('#'+ id).dialog({ autoOpen: false, draggable: false, resizable: false, modal: true, buttons: { '{$lblOK|ucfirst}': function() { // close dialog $(this).dialog('close'); // goto link window.location = url; }, '{$lblCancel|ucfirst}': function() { $(this).dialog('close'); } } }); }); |
|
} | }; | return function() { oGeodesyMarker.monthChecked(year, month, monthChkId, monthHrefId, datesDivId); } |
!C.contentWindow.document)setTimeout(n,10);else{k=C.contentWindow.document;s=(h=k.getElementById("state"))?h.innerText:null;A=a();setInterval(function(){var H,E;k=C.contentWindow.document;H=(h=k.getElementById("state"))?h.innerText:null;E=a();if(H!==s){s=H;f(s);E=s?s:x;A=location.hash=E;b()}else if(E!==A){A=E;l(E)}},50);K=true;r!=null&&r()}}function o(){if(!q){var k=a(),h=history.length;M&&clearInterval(M);M=setInterval(function(){var s,A;s=a();A=history.length;if(s!==k){k=s;h=A;f(k);b()}else if(A!== h&&u){k=s;h=A;s=O[h-1];f(s);b()}},50)}}function L(){var k;k=J.value.split("|");if(k.length>1){x=k[0];D=k[1]}if(k.length>2)O=k[2].split(",");if(q)n();else{o();K=true;r!=null&&r()}}var u=false,q=g.isIElt9,B=false,r=null,C=null,J=null,K=false,M=null,O=[],x,D,Y=function(){};return{onReady:function(k){if(K)setTimeout(function(){k()},0);else r=k},_initialize:function(){J!=null&&L()},_initTimeout:function(){o()},register:function(k,h){if(!K){D=x=escape(k);Y=h}},initialize:function(k,h){if(!K){var s=navigator.vendor|| | M=setInterval(function(){var s,A;s=a();A=history.length;if(s!==k){k=s;h=A;f(k);b()}else if(A!==h&&u){k=s;h=A;s=O[h-1];f(s);b()}},50)}}function L(){var k;k=J.value.split("|");if(k.length>1){x=k[0];D=k[1]}if(k.length>2)O=k[2].split(",");if(q)n();else{o();K=true;r!=null&&r()}}var u=false,q=g.isIElt9,B=false,r=null,C=null,J=null,K=false,M=null,O=[],x,D,Y=function(){};return{onReady:function(k){if(K)setTimeout(function(){k()},0);else r=k},_initialize:function(){J!=null&&L()},_initTimeout:function(){o()}, | !C.contentWindow.document)setTimeout(n,10);else{k=C.contentWindow.document;s=(h=k.getElementById("state"))?h.innerText:null;A=a();setInterval(function(){var H,E;k=C.contentWindow.document;H=(h=k.getElementById("state"))?h.innerText:null;E=a();if(H!==s){s=H;f(s);E=s?s:x;A=location.hash=E;b()}else if(E!==A){A=E;l(E)}},50);K=true;r!=null&&r()}}function o(){if(!q){var k=a(),h=history.length;M&&clearInterval(M);M=setInterval(function(){var s,A;s=a();A=history.length;if(s!==k){k=s;h=A;f(k);b()}else if(A!==h&&u){k=s;h=A;s=O[h-1];f(s);b()}},50)}}function L(){var k;k=J.value.split("|");if(k.length>1){x=k[0];D=k[1]}if(k.length>2)O=k[2].split(",");if(q)n();else{o();K=true;r!=null&&r()}}var u=false,q=g.isIElt9,B=false,r=null,C=null,J=null,K=false,M=null,O=[],x,D,Y=function(){};return{onReady:function(k){if(K)setTimeout(function(){k()},0);else r=k},_initialize:function(){J!=null&&L()},_initTimeout:function(){o()},register:function(k,h){if(!K){D=x=escape(k);Y=h}},initialize:function(k,h){if(!K){var s=navigator.vendor|| |
function (args) { this._moveOrCopy(true, args.literalArg); }, | if (addresses.some(function (recipient) !(/\S@\S+\.\S/.test(recipient)))) | function (args) { this._moveOrCopy(true, args.literalArg); }, |
$(document).bind("keydown.d", function(e) { var key = e.keyCode; if (key == 27) { return self.hide(e); } if ($([75, 76, 38, 39, 74, 72, 40, 37]).index(key) >= 0) { if (root.is(":hidden")) { self.show(e); return e.preventDefault(); } var days = $("#" + css.weeks + " a"), el = $("." + css.focus), index = days.index(el); el.removeClass(css.focus); if (key == 74 || key == 40) { index += 7; } else if (key == 75 || key == 38) { index -= 7; } else if (key == 76 || key == 39) { index += 1; } else if (key == 72 || key == 37) { index -= 1; } if (index == -1) { self.prev(); el = $("#" + css.weeks + " a:last"); } else if (index == 35) { self.next(); el = $("#" + css.weeks + " a:first"); } else { el = days.eq(index); } el.addClass(css.focus); return e.preventDefault(); } if (key == 34) { return self.next(); } if (key == 33) { return self.prev(); } if (key == 36) { return self.today(); } if (key == 13) { if (!$(e.target).is("select")) { pick($("." + css.focus).data("date"), conf, e); } } return $([16, 17, 18, 9]).index(key) >= 0; }); | trigger = $("<a/>").attr("href", "#").addClass(css.trigger).click(function(e) { self.show(); return e.preventDefault(); }).insertAfter(input); | $(document).bind("keydown.d", function(e) { var key = e.keyCode; // esc key if (key == 27) { return self.hide(e); } // h=72, j=74, k=75, l=76, down=40, left=37, up=38, right=39 if ($([75, 76, 38, 39, 74, 72, 40, 37]).index(key) >= 0) { if (root.is(":hidden")) { self.show(e); return e.preventDefault(); } var days = $("#" + css.weeks + " a"), el = $("." + css.focus), index = days.index(el); el.removeClass(css.focus); if (key == 74 || key == 40) { index += 7; } else if (key == 75 || key == 38) { index -= 7; } else if (key == 76 || key == 39) { index += 1; } else if (key == 72 || key == 37) { index -= 1; } if (index == -1) { self.prev(); el = $("#" + css.weeks + " a:last"); } else if (index == 35) { self.next(); el = $("#" + css.weeks + " a:first"); } else { el = days.eq(index); } el.addClass(css.focus); return e.preventDefault(); } // pageUp / pageDown if (key == 34) { return self.next(); } if (key == 33) { return self.prev(); } // home if (key == 36) { return self.today(); } // enter if (key == 13) { if (!$(e.target).is("select")) { pick($("." + css.focus).data("date"), conf, e); } } return $([16, 17, 18, 9]).index(key) >= 0; }); |
$('.contentBlock').each(function() | $('#metaData p').each(function() | $('.contentBlock').each(function() { var index = $(this).attr('id').replace('block-', ''); var extraId = $('#blockExtraId'+ index).val(); // no extra specified, we should grab the default if(typeof current.data.default_extras != 'undefined' && (typeof extraId == 'undefined')) { if(current.data.default_extras[index] != 'editor') { extraId = parseInt(current.data.default_extras[index]); } } // change the extra jsBackend.pages.extras.changeExtra(extraId, index); }); |
var index = $(this).attr('id').replace('block-', ''); var extraId = $('#blockExtraId'+ index).val(); | if(i >= itemsToShow) $(this).hide(); | $('.contentBlock').each(function() { var index = $(this).attr('id').replace('block-', ''); var extraId = $('#blockExtraId'+ index).val(); // no extra specified, we should grab the default if(typeof current.data.default_extras != 'undefined' && (typeof extraId == 'undefined')) { if(current.data.default_extras[index] != 'editor') { extraId = parseInt(current.data.default_extras[index]); } } // change the extra jsBackend.pages.extras.changeExtra(extraId, index); }); |
if(typeof current.data.default_extras != 'undefined' && (typeof extraId == 'undefined')) { if(current.data.default_extras[index] != 'editor') { extraId = parseInt(current.data.default_extras[index]); } } | else $(this).show(); | $('.contentBlock').each(function() { var index = $(this).attr('id').replace('block-', ''); var extraId = $('#blockExtraId'+ index).val(); // no extra specified, we should grab the default if(typeof current.data.default_extras != 'undefined' && (typeof extraId == 'undefined')) { if(current.data.default_extras[index] != 'editor') { extraId = parseInt(current.data.default_extras[index]); } } // change the extra jsBackend.pages.extras.changeExtra(extraId, index); }); |
jsBackend.pages.extras.changeExtra(extraId, index); | i++; | $('.contentBlock').each(function() { var index = $(this).attr('id').replace('block-', ''); var extraId = $('#blockExtraId'+ index).val(); // no extra specified, we should grab the default if(typeof current.data.default_extras != 'undefined' && (typeof extraId == 'undefined')) { if(current.data.default_extras[index] != 'editor') { extraId = parseInt(current.data.default_extras[index]); } } // change the extra jsBackend.pages.extras.changeExtra(extraId, index); }); |
return this.getString("caseType", TAB_SWITCHER_DEFAULT_CASE_TYPE); | return this.getString("caseType", TAB_SWITCHER_DEFAULT_EDIT_TYPE); | function() { return this.getString("caseType", TAB_SWITCHER_DEFAULT_CASE_TYPE);}); |
} else if (layout.contains(l)) { layouts.splice(i, 0, layout); return; | new (function() { var layouts = [], adjusting = false; this.add = function(layout) { var i, il; for (i=0, il = layouts.length ;i < il; ++i) { var l = layouts[i]; if (l.getId() == layout.getId()) { layouts[i] = layout; return; } } layouts.push(layout); }; this.adjust = function(id) { if (id) { var layout=$('#' + id).get(0); if (layout) layout.dirty = true; return; } if (adjusting) return; adjusting = true; for (var i = 0; i < layouts.length; ++i) { var layout = layouts[i]; if (!layout.adjust()) { layout.WT.arrayRemove(layouts, i); --i; } } adjusting = false; }; }) () |
|
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'))) { | roomgroups.each( function (roomgroup,i) { var rooms = roomgroup.getElements('.room'); var fx = new Fx.Elements(rooms, {link:'cancel', duration: 500, transition: roomTransition.easeOut }); rooms.each( function(door, i){ var request; door.addEvent('mouseenter', function(e){ if (room.rid == 0) { //adjust width of room to be wide var obj = {}; obj[i] = {'width': [door.getStyle('width').toInt(), 219]}; rooms.each(function(otherRoom, j){ if (otherRoom != door){ var w = otherRoom.getStyle('width').toInt(); if (w != 67) obj[j] = {'width': [w, 67]}; } }); if(!(Browser.Engine.trident && Browser.Engine.version == 5)) { fx.start(obj); } // Set up online list for this room MBchat.updateables.online.show(door.get('id').substr(1).toInt()); } else { displayErrorMessage('Debug - MouseEnter in Room'); } }); door.addEvent('mouseleave', function(e){ var obj = {}; rooms.each(function(other, j){ obj[j] = {'width': [other.getStyle('width').toInt(), 105]}; }); if(!(Browser.Engine.trident && Browser.Engine.version == 5)) { fx.start(obj); } if(room.rid == 0 ) { MBchat.updateables.online.show(0); } }); 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.updateables.message.enterRoom(door.get('id').substr(1).toInt()); } }); }); }); |
lines.each( function(line) { if (multilineVars.is_in_history) { if (line[1] === ':') { multilineVars.is_in_history = false; parseLine(line); } else tune.addMetaText("history", tokenizer.translateString(tokenizer.stripComment(line))); } else parseLine(line); multilineVars.iChar += line.length + 1; | line.each(function(el) { if (word_list.length !== 0) { if (word_list[0].skip) { switch (word_list[0].to) { case 'next': if (el.el_type === 'note' && el.pitch !== null && !inSlur) word_list.shift(); break; case 'slur': if (el.el_type === 'note' && el.pitch !== null) word_list.shift(); break; case 'bar': if (el.el_type === 'bar') word_list.shift(); break; } } else { if (el.el_type === 'note' && el.pitch !== null && !inSlur) { var lyric = word_list.shift(); if (el.lyric === undefined) el.lyric = [ lyric ]; else el.lyric.push(lyric); } } } | lines.each( function(line) { if (multilineVars.is_in_history) { if (line[1] === ':') { multilineVars.is_in_history = false; parseLine(line); } else tune.addMetaText("history", tokenizer.translateString(tokenizer.stripComment(line))); } else parseLine(line); multilineVars.iChar += line.length + 1; }); |
lazy_check(); | function(data){ $graph_json = data create_graph_list("hour", data.hour); $('#graph-container').html(get_graph_main_container($selected_host)); }); |
|
$('li.graph-image .ui-icon-close').live('click', function() { $(this).parent().parent().parent().remove(); | $('#select-all').live('click', function(){ $('.selectable').addClass('selected'); return false; | $('li.graph-image .ui-icon-close').live('click', function() { $(this).parent().parent().parent().remove(); }); |
$("#delThemeBt").click(function () { pleaseConfirm("formDelTheme") | $("#lstModTag").change(function () { checkValidity("lstModTag", "valModTag") | $("#delThemeBt").click(function () { pleaseConfirm("formDelTheme")}) ; |
$('#showPassword').bind('change', function(evt) { evt.preventDefault(); if($(this).is(':checked')) { $('#plainPassword').show(); $('#fakePassword').hide(); } else { $('#plainPassword').hide(); $('#fakePassword').show(); } | $('#languages input:checkbox').bind('change', function() { $('#defaultLanguage option').attr('disabled', 'disabled'); $('#languages input:checked').each(function() { $('#defaultLanguage option[value='+ $(this).val() +']').attr('disabled', ''); }); | $('#showPassword').bind('change', function(evt) { evt.preventDefault(); // show password if($(this).is(':checked')) { $('#plainPassword').show(); $('#fakePassword').hide(); } else { $('#plainPassword').hide(); $('#fakePassword').show(); } }); |
$("#loading").ajaxStop(function() { $(this).hide(); $('.sortable').sortable(); }); | function(data){ $graph_json = data create_graph_list("hour", data.hour); $('#graph-container').html(get_graph_main_container($selected_host)); }); | $("#loading").ajaxStop(function() { $(this).hide(); $('.sortable').sortable(); }); |
trigger = $("<a/>").attr("href", "#").addClass(css.trigger).click(function(e) { self.show(); return e.preventDefault(); }).insertAfter(input); | $(document).bind("keydown.d", function(e) { var key = e.keyCode; if (key == 27) { return self.hide(e); } if ($([75, 76, 38, 39, 74, 72, 40, 37]).index(key) >= 0) { if (root.is(":hidden")) { self.show(e); return e.preventDefault(); } var days = $("#" + css.weeks + " a"), el = $("." + css.focus), index = days.index(el); el.removeClass(css.focus); if (key == 74 || key == 40) { index += 7; } else if (key == 75 || key == 38) { index -= 7; } else if (key == 76 || key == 39) { index += 1; } else if (key == 72 || key == 37) { index -= 1; } if (index == -1) { self.prev(); el = $("#" + css.weeks + " a:last"); } else if (index == 35) { self.next(); el = $("#" + css.weeks + " a:first"); } else { el = days.eq(index); } el.addClass(css.focus); return e.preventDefault(); } if (key == 34) { return self.next(); } if (key == 33) { return self.prev(); } if (key == 36) { return self.today(); } if (key == 13) { if (!$(e.target).is("select")) { pick($("." + css.focus).data("date"), conf, e); } } return $([16, 17, 18, 9]).index(key) >= 0; }); | trigger = $("<a/>").attr("href", "#").addClass(css.trigger).click(function(e) { self.show(); return e.preventDefault(); }).insertAfter(input); |
WT_DECLARE_APP_MEMBER(1,"layouts",new (function(){var a=[],t=false;this.add=function(g){var n,d;n=0;for(d=a.length;n<d;++n)if(a[n].getId()==g.getId()){a[n]=g;return}a.push(g)};this.adjust=function(g){if(g){if(g=$("#"+g).get(0))g.dirty=true}else if(!t){t=true;for(var n=0;n<a.length;++n){g=a[n];if(!g.adjust()){g.WT.arrayRemove(a,n);--n}}t=false}}})); | WT_DECLARE_APP_MEMBER(1,"layouts",new (function(){var a=[],t=false;this.add=function(i){var o,d;o=0;for(d=a.length;o<d;++o)if(a[o].getId()==i.getId()){a[o]=i;return}a.push(i)};this.adjust=function(i){if(i){if(i=$("#"+i).get(0))i.dirty=true}else if(!t){t=true;for(var o=0;o<a.length;++o){i=a[o];if(!i.adjust()){i.WT.arrayRemove(a,o);--o}}t=false}}})); | WT_DECLARE_APP_MEMBER(1,"layouts",new (function(){var a=[],t=false;this.add=function(g){var n,d;n=0;for(d=a.length;n<d;++n)if(a[n].getId()==g.getId()){a[n]=g;return}a.push(g)};this.adjust=function(g){if(g){if(g=$("#"+g).get(0))g.dirty=true}else if(!t){t=true;for(var n=0;n<a.length;++n){g=a[n];if(!g.adjust()){g.WT.arrayRemove(a,n);--n}}t=false}}})); |
WT_DECLARE_APP_MEMBER(1,"layouts",new (function(){var a=[],s=false;this.add=function(h){var p,c;p=0;for(c=a.length;p<c;++p)if(a[p].getId()==h.getId()){a[p]=h;return}a.push(h)};this.adjust=function(h){if(h){if(h=$("#"+h).get(0))h.dirty=true}else if(!s){s=true;for(var p=0;p<a.length;++p){h=a[p];if(!h.adjust()){h.WT.arrayRemove(a,p);--p}}s=false}}})); | WT_DECLARE_APP_MEMBER(1,"layouts",new (function(){var a=[],s=false;this.add=function(i){var o,b;o=0;for(b=a.length;o<b;++o){var f=a[o];if(f.getId()==i.getId()){a[o]=i;return}else if(i.contains(f)){a.splice(o,0,i);return}}a.push(i)};this.adjust=function(i){if(i){if(i=$("#"+i).get(0))i.dirty=true}else if(!s){s=true;for(var o=0;o<a.length;++o){i=a[o];if(!i.adjust()){i.WT.arrayRemove(a,o);--o}}s=false}}})); | WT_DECLARE_APP_MEMBER(1,"layouts",new (function(){var a=[],s=false;this.add=function(h){var p,c;p=0;for(c=a.length;p<c;++p)if(a[p].getId()==h.getId()){a[p]=h;return}a.push(h)};this.adjust=function(h){if(h){if(h=$("#"+h).get(0))h.dirty=true}else if(!s){s=true;for(var p=0;p<a.length;++p){h=a[p];if(!h.adjust()){h.WT.arrayRemove(a,p);--p}}s=false}}})); |
var submit_params = $.param(Pfs.UI.browserInfo()); $(this).attr('href', $(this).attr('href') + '?' + submit_params); | $(this).attr('href', $(this).attr('href')); | $('.listing a.new_plugin').each(function () { var submit_params = $.param(Pfs.UI.browserInfo()); $(this).attr('href', $(this).attr('href') + '?' + submit_params); }); |
WT_DECLARE_APP_MEMBER(1,"layouts",new (function(){var a=[],s=false;this.add=function(i){var p,c;p=0;for(c=a.length;p<c;++p)if(a[p].getId()==i.getId()){a[p]=i;return}a.push(i)};this.adjust=function(i){if(i){if(i=$("#"+i).get(0))i.dirty=true}else if(!s){s=true;for(var p=0;p<a.length;++p){i=a[p];if(!i.adjust()){i.WT.arrayRemove(a,p);--p}}s=false}}})); | WT_DECLARE_APP_MEMBER(1,"layouts",new (function(){var a=[],s=false;this.add=function(h){var p,c;p=0;for(c=a.length;p<c;++p)if(a[p].getId()==h.getId()){a[p]=h;return}a.push(h)};this.adjust=function(h){if(h){if(h=$("#"+h).get(0))h.dirty=true}else if(!s){s=true;for(var p=0;p<a.length;++p){h=a[p];if(!h.adjust()){h.WT.arrayRemove(a,p);--p}}s=false}}})); | WT_DECLARE_APP_MEMBER(1,"layouts",new (function(){var a=[],s=false;this.add=function(i){var p,c;p=0;for(c=a.length;p<c;++p)if(a[p].getId()==i.getId()){a[p]=i;return}a.push(i)};this.adjust=function(i){if(i){if(i=$("#"+i).get(0))i.dirty=true}else if(!s){s=true;for(var p=0;p<a.length;++p){i=a[p];if(!i.adjust()){i.WT.arrayRemove(a,p);--p}}s=false}}})); |
this.registerCallback("complete", modes.EX, function (context) { context.fork("ex", 0, completion, "ex"); }); | liberator.trapErrors(function () liberator.execute(command)); | this.registerCallback("complete", modes.EX, function (context) { context.fork("ex", 0, completion, "ex"); }); |
$('#addButton-'+ id).bind('click', function(evt) { evt.preventDefault(); evt.stopPropagation(); add(); | $('#metaDescriptionOverwrite').change(function(evt) { if(!$(this).is(':checked')) { $('#metaDescription').val(element.val()); } | $('#addButton-'+ id).bind('click', function(evt) { // dont submit evt.preventDefault(); evt.stopPropagation(); // add element add(); }); |
storage["history-" + store].mutate("filter", function (item) { | stores.forEach(function (store) { storage["history-" + store].mutate("filter", function (item) { | storage["history-" + store].mutate("filter", function (item) { let timestamp = item.timestamp * 1000; return timestamp < self.range[0] || timestamp > self.range[1]; }); |
}); | storage["history-" + store].mutate("filter", function (item) { let timestamp = item.timestamp * 1000; return timestamp < self.range[0] || timestamp > self.range[1]; }); |
|
10);else{l=F.contentWindow.document;q=(p=l.getElementById("state"))?p.innerText:null;m=a();setInterval(function(){var N,J;l=F.contentWindow.document;N=(p=l.getElementById("state"))?p.innerText:null;J=a();if(N!==q){q=N;f(q);J=q?q:G;m=location.hash=J;b()}else if(J!==m){m=J;k(J)}},50);I=true;x!=null&&x()}}function o(){if(!s){var l=a(),p=history.length;U&&clearInterval(U);U=setInterval(function(){var q,m;q=a();m=history.length;if(q!==l){l=q;p=m;f(l);b()}else if(m!==p&&u){l=q;p=m;q=M[p-1];f(q);b()}},50)}} | function h(){var l,q,r,m;if(!F.contentWindow||!F.contentWindow.document)setTimeout(h,10);else{l=F.contentWindow.document;r=(q=l.getElementById("state"))?q.innerText:null;m=a();setInterval(function(){var N,J;l=F.contentWindow.document;N=(q=l.getElementById("state"))?q.innerText:null;J=a();if(N!==r){r=N;f(r);J=r?r:G;m=location.hash=J;b()}else if(J!==m){m=J;k(J)}},50);I=true;y!=null&&y()}}function o(){if(!s){var l=a(),q=history.length;V&&clearInterval(V);V=setInterval(function(){var r,m;r=a();m=history.length; if(r!==l){l=r;q=m;f(l);b()}else if(m!==q&&v){l=r;q=m;r=M[q-1];f(r);b()}},50)}}function E(){var l;l=w.value.split("|");if(l.length>1){G=l[0];C=l[1]}if(l.length>2)M=l[2].split(",");if(s)h();else{o();I=true;y!=null&&y()}}var v=false,s=false,z=false,y=null,F=null,w=null,I=false,V=null,M=[],G,C,H=function(){};return{onReady:function(l){if(I)setTimeout(function(){l()},0);else y=l},_initialize:function(){w!=null&&E()},_initTimeout:function(){o()},register:function(l,q){if(!I){C=G=escape(l);H=q}},initialize:function(l, | 10);else{l=F.contentWindow.document;q=(p=l.getElementById("state"))?p.innerText:null;m=a();setInterval(function(){var N,J;l=F.contentWindow.document;N=(p=l.getElementById("state"))?p.innerText:null;J=a();if(N!==q){q=N;f(q);J=q?q:G;m=location.hash=J;b()}else if(J!==m){m=J;k(J)}},50);I=true;x!=null&&x()}}function o(){if(!s){var l=a(),p=history.length;U&&clearInterval(U);U=setInterval(function(){var q,m;q=a();m=history.length;if(q!==l){l=q;p=m;f(l);b()}else if(m!==p&&u){l=q;p=m;q=M[p-1];f(q);b()}},50)}} |
r;p=v;e(g);b()}else if(v!==p&&u){g=r;p=v;r=D[p-1];e(r);b()}},50)}}function H(){var g;g=J.value.split("|");if(g.length>1){L=g[0];C=g[1]}if(g.length>2)D=g[2].split(",");if(q)l();else{n();F=true;y!=null&&y()}}var u=false,q=self.isIElt9,s=false,y=null,I=null,J=null,F=false,Q=null,D=[],L,C,E=function(){};return{onReady:function(g){if(F)setTimeout(function(){g()},0);else y=g},_initialize:function(){J!=null&&H()},_initTimeout:function(){n()},register:function(g,p){if(!F){C=L=escape(g);E=p}},initialize:function(g, | r;p=v;e(g);b()}else if(v!==p&&u){g=r;p=v;r=D[p-1];e(r);b()}},50)}}function H(){var g;g=K.value.split("|");if(g.length>1){L=g[0];C=g[1]}if(g.length>2)D=g[2].split(",");if(q)l();else{n();F=true;y!=null&&y()}}var u=false,q=self.isIElt9,s=false,y=null,I=null,K=null,F=false,Q=null,D=[],L,C,E=function(){};return{onReady:function(g){if(F)setTimeout(function(){g()},0);else y=g},_initialize:function(){K!=null&&H()},_initTimeout:function(){n()},register:function(g,p){if(!F){C=L=escape(g);E=p}},initialize:function(g, | p,r,v;if(!I.contentWindow||!I.contentWindow.document)setTimeout(l,10);else{g=I.contentWindow.document;r=(p=g.getElementById("state"))?p.innerText:null;v=a();setInterval(function(){var M,B;g=I.contentWindow.document;M=(p=g.getElementById("state"))?p.innerText:null;B=a();if(M!==r){r=M;e(r);B=r?r:L;v=location.hash=B;b()}else if(B!==v){v=B;j(B)}},50);F=true;y!=null&&y()}}function n(){if(!q){var g=a(),p=history.length;Q&&clearInterval(Q);Q=setInterval(function(){var r,v;r=a();v=history.length;if(r!==g){g=r;p=v;e(g);b()}else if(v!==p&&u){g=r;p=v;r=D[p-1];e(r);b()}},50)}}function H(){var g;g=J.value.split("|");if(g.length>1){L=g[0];C=g[1]}if(g.length>2)D=g[2].split(",");if(q)l();else{n();F=true;y!=null&&y()}}var u=false,q=self.isIElt9,s=false,y=null,I=null,J=null,F=false,Q=null,D=[],L,C,E=function(){};return{onReady:function(g){if(F)setTimeout(function(){g()},0);else y=g},_initialize:function(){J!=null&&H()},_initTimeout:function(){n()},register:function(g,p){if(!F){C=L=escape(g);E=p}},initialize:function(g, |
s;h=A;f(k);b()}else if(A!==h&&u){k=s;h=A;s=N[h-1];f(s);b()}},50)}}function L(){var k;k=J.value.split("|");if(k.length>1){x=k[0];D=k[1]}if(k.length>2)N=k[2].split(",");if(q)n();else{o();K=true;r!=null&&r()}}var u=false,q=self.isIElt9,B=false,r=null,C=null,J=null,K=false,M=null,N=[],x,D,Y=function(){};return{onReady:function(k){if(K)setTimeout(function(){k()},0);else r=k},_initialize:function(){J!=null&&L()},_initTimeout:function(){o()},register:function(k,h){if(!K){D=x=escape(k);Y=h}},initialize:function(k, | s;h=A;f(k);b()}else if(A!==h&&u){k=s;h=A;s=O[h-1];f(s);b()}},50)}}function L(){var k;k=J.value.split("|");if(k.length>1){x=k[0];D=k[1]}if(k.length>2)O=k[2].split(",");if(q)n();else{o();K=true;r!=null&&r()}}var u=false,q=self.isIElt9,B=false,r=null,C=null,J=null,K=false,M=null,O=[],x,D,Y=function(){};return{onReady:function(k){if(K)setTimeout(function(){k()},0);else r=k},_initialize:function(){J!=null&&L()},_initTimeout:function(){o()},register:function(k,h){if(!K){D=x=escape(k);Y=h}},initialize:function(k, | h,s,A;if(!C.contentWindow||!C.contentWindow.document)setTimeout(n,10);else{k=C.contentWindow.document;s=(h=k.getElementById("state"))?h.innerText:null;A=a();setInterval(function(){var H,E;k=C.contentWindow.document;H=(h=k.getElementById("state"))?h.innerText:null;E=a();if(H!==s){s=H;f(s);E=s?s:x;A=location.hash=E;b()}else if(E!==A){A=E;l(E)}},50);K=true;r!=null&&r()}}function o(){if(!q){var k=a(),h=history.length;M&&clearInterval(M);M=setInterval(function(){var s,A;s=a();A=history.length;if(s!==k){k=s;h=A;f(k);b()}else if(A!==h&&u){k=s;h=A;s=N[h-1];f(s);b()}},50)}}function L(){var k;k=J.value.split("|");if(k.length>1){x=k[0];D=k[1]}if(k.length>2)N=k[2].split(",");if(q)n();else{o();K=true;r!=null&&r()}}var u=false,q=self.isIElt9,B=false,r=null,C=null,J=null,K=false,M=null,N=[],x,D,Y=function(){};return{onReady:function(k){if(K)setTimeout(function(){k()},0);else r=k},_initialize:function(){J!=null&&L()},_initTimeout:function(){o()},register:function(k,h){if(!K){D=x=escape(k);Y=h}},initialize:function(k, |
for (var i = 0; i < countryId.length; i++) { | $('#'+ params[1]).change(function(){ var countries = $(this).val(), statesCache = VMCache.get('states'), //shortchut to [[this]] and scope solution country = 0, countriesSend = [], cStack = []; for (var i = 0; i < countryId.length; i++) { countries = countries.push ? countries : [countries]; $(that).attr('disabled', 'disabled'); for(var i = 0, n = countries.length; i < n; i++){ country = countries[i]; //use cache solution to speed up the process if( statesCache[country] ){ cStack.push( country ); } else{ countriesSend.push(country); } } if( countriesSend.length ){ $.ajax({ url: VMConfig.get('countryStateURL') + countriesSend.toString(), dataType: 'json', success: function(states){ for(var country in states){ cStack.push( country ); VMCache.add('states', states[country], country); } populateStates( that, cStack ); return true; } }); } else{ populateStates( that, cStack ); } }); } |
|
} | $('#'+ params[1]).change(function(){ var countries = $(this).val(), statesCache = VMCache.get('states'), //shortchut to [[this]] and scope solution country = 0, countriesSend = [], cStack = []; for (var i = 0; i < countryId.length; i++) { countries = countries.push ? countries : [countries]; $(that).attr('disabled', 'disabled'); for(var i = 0, n = countries.length; i < n; i++){ country = countries[i]; //use cache solution to speed up the process if( statesCache[country] ){ cStack.push( country ); } else{ countriesSend.push(country); } } if( countriesSend.length ){ $.ajax({ url: VMConfig.get('countryStateURL') + countriesSend.toString(), dataType: 'json', success: function(states){ for(var country in states){ cStack.push( country ); VMCache.add('states', states[country], country); } populateStates( that, cStack ); return true; } }); } else{ populateStates( that, cStack ); } }); } |
|
window.location.hash = hash; | $(window).bind("hash", function(e, h) { if (h) { links.filter(function() { var href = $(this).attr("href"); return href == h || href == h.replace("#", ""); }).trigger("history", [h]); } else { links.eq(0).trigger("history", [h]); } hash = h; }); |
|
abcspan.append($(node)); | contents.each(function(i,node){ if (node.nodeType==3 && !node.nodeValue.match(/^\s*$/)) { brcount=0; var text = node.nodeValue; if (text.match(/^\s*X:/m)) { inabc=true; abctext=""; } if (inabc) { abctext += text.replace(/\n$/,"").replace(/^\n/,""); } } else if (inabc && $(node).is("br") && brcount==0) { abctext += "\n"; brcount++; } else if (inabc) { // second br or whitespace textnode inabc = false; brcount=0; insertScoreBefore(node,abctext); } }); |
|
function(id) { if (id) { var layout=$('#' + id).get(0); if (layout) layout.dirty = true; return; } if (this.adjusting) return; this.adjusting = true; var i; for (i=0;i < this.layouts.length; ++i) { var layout = this.layouts[i]; if (!layout.adjust()) { this.WT.arrayRemove(this.layouts, i); --i; | new (function() { var layouts = [], adjusting = false; this.add = function(layout) { var i, il; for (i=0, il = layouts.length ;i < il; ++i) { var l = layouts[i]; if (l.getId() == layout.getId()) { layouts[i] = layout; return; } | function(id) { if (id) { var layout=$('#' + id).get(0); if (layout) layout.dirty = true; return; } if (this.adjusting) return; this.adjusting = true; var i; for (i=0;i < this.layouts.length; ++i) { var layout = this.layouts[i]; if (!layout.adjust()) { this.WT.arrayRemove(this.layouts, i); --i; } } this.adjusting = false; }); |
Subsets and Splits
No saved queries yet
Save your SQL queries to embed, download, and access them later. Queries will appear here once saved.