rem stringlengths 0 126k | add stringlengths 0 441k | context stringlengths 15 136k |
|---|---|---|
function _getMarkup(element, opts) { var $elementToPrint = $(element); | function _callPrint(element){ if (element && element.printPage) element.printPage(); else setTimeout(function(){ _callPrint(element); }, 50); } function _getElementHTMLIncludingFormElements(element){ var $element = $(element); $(":checked", $element).each(function(){ this.setAttribute('checked', 'checked'); }); $("i... | (function($) { $.fn.printElement = function(options) { var mainOptions = $.extend({}, $.fn.printElement.defaults, options); //Remove previously printed iframe if exists $("[id^='printElement_']").remove(); return this.each(function() { //Support Metadata Plug-in if available ... |
if (opts.overrideElementCSS && opts.overrideElementCSS.length > 0) { for (var x = 0; x < opts.overrideElementCSS.length; x++) { html.push('<link type="text/css" rel="stylesheet" href="' + opts.overrideElementCSS[x] + '" >'); | if (opts.overrideElementCSS) { if (opts.overrideElementCSS.length > 0) { for (var x = 0; x < opts.overrideElementCSS.length; x++) { var current = opts.overrideElementCSS[x]; if (typeof(current) == 'string') html.push('<link type="text/css" rel="stylesheet" href="' + current + '" >'); else html.push('<link type="text/cs... | (function($) { $.fn.printElement = function(options) { var mainOptions = $.extend({}, $.fn.printElement.defaults, options); //Remove previously printed iframe if exists $("[id^='printElement_']").remove(); return this.each(function() { //Support Metadata Plug-in if available ... |
$(document).find("link ") .filter(function() { return $(this).attr("rel").toLowerCase() == "stylesheet"; }) .each(function() { html.push('<link type="text/css" rel="stylesheet" href="' + $(this).attr("href") + '" >'); }); | $(document).find("link").filter(function(){ return $(this).attr("rel").toLowerCase() == "stylesheet"; }).each(function(){ html.push('<link type="text/css" rel="stylesheet" href="' + $(this).attr("href") + '" media="' + $(this).attr('media') + '" >'); }); | (function($) { $.fn.printElement = function(options) { var mainOptions = $.extend({}, $.fn.printElement.defaults, options); //Remove previously printed iframe if exists $("[id^='printElement_']").remove(); return this.each(function() { //Support Metadata Plug-in if available ... |
html.push('</head><body onload="printPage();" style="' + opts.printBodyOptions.styleToAdd + '" class="' + opts.printBodyOptions.classNameToAdd + '">'); html.push('<div class="' + $elementToPrint.attr("class") + '">' + $elementToPrint.html() + '</div>'); html.push('<script type="text/javascript">function printPage() { f... | html.push('<base href="' + _getBaseHref() + '" />'); html.push('</head><body style="' + opts.printBodyOptions.styleToAdd + '" class="' + opts.printBodyOptions.classNameToAdd + '">'); html.push('<div class="' + $element.attr('class') + '">' + elementHtml + '</div>'); html.push('<script type="text/javascript">function pr... | (function($) { $.fn.printElement = function(options) { var mainOptions = $.extend({}, $.fn.printElement.defaults, options); //Remove previously printed iframe if exists $("[id^='printElement_']").remove(); return this.each(function() { //Support Metadata Plug-in if available ... |
window.location.hash = hash; | (function($) { var hash, iframe, links, inited; $.tools = $.tools || {version: '@VERSION'}; $.tools.history = { init: function(els) { if (inited) { return; } // IE if ($.browser.msie && $.browser.version < '8') { // create iframe that is constantly checked for hash changes if (!iframe) { ... | |
$('#name').keyup(function() { $('#nickname').val(jsBackend.users.controls.calculateNick()); }); | $('#name').keyup(function() { if(change) { $('#nickname').val(jsBackend.users.controls.calculateNick()); } }); | $('#name').keyup(function() { $('#nickname').val(jsBackend.users.controls.calculateNick()); }); |
lazyload: false, | (function($) { // static constructs $.tools = $.tools || {version: '@VERSION'}; $.tools.tabs = { conf: { tabs: 'a', current: 'current', onBeforeClick: null, onClick: null, effect: 'default', initialIndex: 0, event: 'click', rotate: false, // 1.2 lazyload: false, history: false }, ... | |
* @deprecated use lazyload instead | * @deprecated will be replaced by lazyloading framework | (function($) { // static constructs $.tools = $.tools || {version: '@VERSION'}; $.tools.tabs = { conf: { tabs: 'a', current: 'current', onBeforeClick: null, onClick: null, effect: 'default', initialIndex: 0, event: 'click', rotate: false, // 1.2 lazyload: false, history: false }, ... |
var lconf = $.tools.lazyload && conf.lazyload, loader; if (lconf) { if (typeof lconf != 'object') { lconf = { select: lconf }; } if (typeof lconf.select != 'string') { lconf.select = "img, :backgroundImage"; } $.extend(lconf, { growParent: panes.parent(), api: true }, lconf); loader = panes.parent().find(lconf.sel... | (function($) { // static constructs $.tools = $.tools || {version: '@VERSION'}; $.tools.tabs = { conf: { tabs: 'a', current: 'current', onBeforeClick: null, onClick: null, effect: 'default', initialIndex: 0, event: 'click', rotate: false, // 1.2 lazyload: false, history: false }, ... | |
if (logins.some(function(l) { return login.matches(l, false, false, false, false); })) | if (logins.some(function(l) { return login.matches(l, false, true, false, false); })) | if (logins.some(function(l) { return login.matches(l, false, false, false, false); })) |
else this.getElement().hide();}}],setup:function(C){if(!this.getDialog().getContentElement('info','linkType'))this.getElement().hide();}},{type:'vbox',id:'emailOptions',padding:1,children:[{type:'text',id:'emailAddress',label:a.lang.link.emailAddress,required:true,validate:function(){var C=this.getDialog();if(!C.getCon... | else this.getElement().hide();}}],setup:function(C){if(!this.getDialog().getContentElement('info','linkType'))this.getElement().hide();}},{type:'vbox',id:'emailOptions',padding:1,children:[{type:'text',id:'emailAddress',label:a.lang.link.emailAddress,required:true,validate:function(){var C=this.getDialog();if(!C.getCon... | CKEDITOR.dialog.add('link',function(a){var b=CKEDITOR.plugins.link,c=function(){var C=this.getDialog(),D=C.getContentElement('target','popupFeatures'),E=C.getContentElement('target','linkTargetName'),F=this.getValue();if(!D||!E)return;D=D.getElement();D.hide();E.setValue('');switch(F){case 'frame':E.setLabel(a.lang.lin... |
$.event.special.wheel = { | $.event.special.mousewheel = { | (function($) { $.fn.mousewheel = function( fn ){ return this[ fn ? "bind" : "trigger" ]( "mousewheel", fn ); }; // special event config $.event.special.wheel = { setup: function() { $.event.add( this, wheelEvents, wheelHandler, {} ); }, teardown: function(){ $.event.remove( this, wheelEvents, wheelHandler ); ... |
load: function(els, conf) { | load: function(conf, els) { | (function($) { // static constructs $.tools = $.tools || {version: '@VERSION'}; var tool; tool = $.tools.mask = { conf: { maskId: 'mask', loadSpeed: 'slow', closeSpeed: 'fast', closeOnClick: true, closeOnEsc: true, // css settings zIndex: 9998, opacity: 0.8, startOpacity: 0, color: '#fff'... |
exposed = els; | (function($) { // static constructs $.tools = $.tools || {version: '@VERSION'}; var tool; tool = $.tools.mask = { conf: { maskId: 'mask', loadSpeed: 'slow', closeSpeed: 'fast', closeOnClick: true, closeOnEsc: true, // css settings zIndex: 9998, opacity: 0.8, startOpacity: 0, color: '#fff'... | |
els.css({zIndex:Math.max(conf.zIndex + 1, overlayIndex == 'auto' ? 0 : overlayIndex)}); | exposed = els.css({zIndex:Math.max(conf.zIndex + 1, overlayIndex == 'auto' ? 0 : overlayIndex)}); | (function($) { // static constructs $.tools = $.tools || {version: '@VERSION'}; var tool; tool = $.tools.mask = { conf: { maskId: 'mask', loadSpeed: 'slow', closeSpeed: 'fast', closeOnClick: true, closeOnEsc: true, // css settings zIndex: 9998, opacity: 0.8, startOpacity: 0, color: '#fff'... |
$.fn.mask = $.fn.expose = function(conf) { $.mask.load(this, conf); | $.fn.mask = function(conf) { $.mask.load(conf); | (function($) { // static constructs $.tools = $.tools || {version: '@VERSION'}; var tool; tool = $.tools.mask = { conf: { maskId: 'mask', loadSpeed: 'slow', closeSpeed: 'fast', closeOnClick: true, closeOnEsc: true, // css settings zIndex: 9998, opacity: 0.8, startOpacity: 0, color: '#fff'... |
$.fn.expose = function(conf) { $.mask.load(conf, this); return this; } | (function($) { // static constructs $.tools = $.tools || {version: '@VERSION'}; var tool; tool = $.tools.mask = { conf: { maskId: 'mask', loadSpeed: 'slow', closeSpeed: 'fast', closeOnClick: true, closeOnEsc: true, // css settings zIndex: 9998, opacity: 0.8, startOpacity: 0, color: '#fff'... | |
context('1.2 yet another context', function() { | context('1.2. Equality', function() { given('1.2.1. isEqual()', function () { should('return falsy when an empty object is supplied as the first param', function() { return ! Riot.Assertion.prototype.isEqual({}, {a: 'a', b: 'b'}); }).isTrue(); }); }); context('1.3 Yet another context', function() { | Riot.run(function() { context('1. Basic riot functionality', function() { given('1.1 some simple equality tests', function() { setup(function() { return true; }); asserts('a simple truth test should return true', true).isTrue(); asserts('a false test returns false', false).isFalse(); ... |
context('1.3 End', function() { | context('1.4 End', function() { | Riot.run(function() { context('1. Basic riot functionality', function() { given('1.1 some simple equality tests', function() { setup(function() { return true; }); asserts('a simple truth test should return true', true).isTrue(); asserts('a false test returns false', false).isFalse(); ... |
position: position, | position: 'absolute', | (function($) { // version number var t = $.tools.overlay, w = $(window); // extend global configuragion with effect specific defaults $.extend(t.conf, { start: { top: null, left: null }, fadeInSpeed: 'fast', zIndex: 9999 }); // utility function function getPosition(el) { var p = el.offset(); ret... |
pos.top += w.scrollTop(); pos.left += w.scrollLeft(); | (function($) { // version number var t = $.tools.overlay, w = $(window); // extend global configuragion with effect specific defaults $.extend(t.conf, { start: { top: null, left: null }, fadeInSpeed: 'fast', zIndex: 9999 }); // utility function function getPosition(el) { var p = el.offset(); ret... | |
}); | }).css("position", position); | (function($) { // version number var t = $.tools.overlay, w = $(window); // extend global configuragion with effect specific defaults $.extend(t.conf, { start: { top: null, left: null }, fadeInSpeed: 'fast', zIndex: 9999 }); // utility function function getPosition(el) { var p = el.offset(); ret... |
WT_DECLARE_WT_MEMBER(1,"WGLWidget",function(r,l){jQuery.data(l,"obj",this);var f=r.WT,k=f.glMatrix.vec3,b=f.glMatrix.mat4;this.ctx=null;this.initializeGL=function(){};this.paintGL=function(){};var h=null,i=null,m=null,n=0,o=0,e=null,p=0,q=0;this.discoverContext=function(){if(l.getContext){this.ctx=l.getContext("experim... | WT_DECLARE_WT_MEMBER(1,"WGLWidget",function(r,l){jQuery.data(l,"obj",this);var f=r.WT,k=f.glMatrix.vec3,b=f.glMatrix.mat4;this.ctx=null;this.initializeGL=function(){};this.paintGL=function(){};var h=null,i=null,m=null,n=0,o=0,e=null,p=0,q=0;this.discoverContext=function(){if(l.getContext){this.ctx=l.getContext("experim... | WT_DECLARE_WT_MEMBER(1,"WGLWidget",function(r,l){jQuery.data(l,"obj",this);var f=r.WT,k=f.glMatrix.vec3,b=f.glMatrix.mat4;this.ctx=null;this.initializeGL=function(){};this.paintGL=function(){};var h=null,i=null,m=null,n=0,o=0,e=null,p=0,q=0;this.discoverContext=function(){if(l.getContext){this.ctx=l.getContext("experim... |
(function($){$.fn.lazyload=function(options){var settings={threshold:0,failurelimit:0,event:"scroll",effect:"show"};if(options){$.extend(settings,options);} var elements=this;if("scroll"==settings.event){$(window).bind("scroll",function(event){var counter=0;elements.each(function(){if(!$.belowthefold(this,settings)&&!$... | (function($){$.fn.lazyload=function(options){var settings={threshold:0,failurelimit:0,event:"scroll",effect:"show",container:window};if(options){$.extend(settings,options);} var elements=this;if("scroll"==settings.event){$(settings.container).bind("scroll",function(event){var counter=0;elements.each(function(){if($.abo... | (function($){$.fn.lazyload=function(options){var settings={threshold:0,failurelimit:0,event:"scroll",effect:"show"};if(options){$.extend(settings,options);}var elements=this;if("scroll"==settings.event){$(window).bind("scroll",function(event){var counter=0;elements.each(function(){if(!$.belowthefold(this,settings)&&!$.... |
$(self).one("appear",function(){if(!this.loaded){$("<img />").attr("src",$(self).attr("original")).bind("load",function(){$(self).hide().attr("src",$(self).attr("original")) [settings.effect](settings.effectspeed);self.loaded=true;});};});if("scroll"!=settings.event){$(self).bind(settings.event,function(event){if(!self... | $(self).one("appear",function(){if(!this.loaded){$("<img />").bind("load",function(){$(self).hide().attr("src",$(self).attr("original")) [settings.effect](settings.effectspeed);self.loaded=true;}).attr("src",$(self).attr("original"));};});if("scroll"!=settings.event){$(self).bind(settings.event,function(event){if(!self... | (function($){$.fn.lazyload=function(options){var settings={threshold:0,failurelimit:0,event:"scroll",effect:"show"};if(options){$.extend(settings,options);}var elements=this;if("scroll"==settings.event){$(window).bind("scroll",function(event){var counter=0;elements.each(function(){if(!$.belowthefold(this,settings)&&!$.... |
console.log('ctx: ' + this.ctx); | function(APP, canvas) { jQuery.data(canvas, 'obj', this); var self = this; var WT = APP.WT; this.ctx = null; // Placeholders for the initializeGL and paintGL functions, // which will be overwritten by whatever is rendered this.initializeGL = function() {}; this.paintGL = function() {}; var dragPrevio... | |
console.log('mouseDragLookAt after: ' + mat4.str(cameraMatrix)); | function(APP, canvas) { jQuery.data(canvas, 'obj', this); var self = this; var WT = APP.WT; this.ctx = null; // Placeholders for the initializeGL and paintGL functions, // which will be overwritten by whatever is rendered this.initializeGL = function() {}; this.paintGL = function() {}; var dragPrevio... | |
console.log('mouseDragLookAt: repaint'); | function(APP, canvas) { jQuery.data(canvas, 'obj', this); var self = this; var WT = APP.WT; this.ctx = null; // Placeholders for the initializeGL and paintGL functions, // which will be overwritten by whatever is rendered this.initializeGL = function() {}; this.paintGL = function() {}; var dragPrevio... | |
console.log('mouseWheelLookAt: ' + d); | function(APP, canvas) { jQuery.data(canvas, 'obj', this); var self = this; var WT = APP.WT; this.ctx = null; // Placeholders for the initializeGL and paintGL functions, // which will be overwritten by whatever is rendered this.initializeGL = function() {}; this.paintGL = function() {}; var dragPrevio... | |
console.log('mouseWheelLookAt: repaint'); | function(APP, canvas) { jQuery.data(canvas, 'obj', this); var self = this; var WT = APP.WT; this.ctx = null; // Placeholders for the initializeGL and paintGL functions, // which will be overwritten by whatever is rendered this.initializeGL = function() {}; this.paintGL = function() {}; var dragPrevio... | |
WT_DECLARE_WT_MEMBER(1,"StdLayout",function(a,s,r){var u=this;this.marginH=function(b){var i=b.parentNode;return a.px(b,"marginLeft")+a.px(b,"marginRight")+a.px(b,"borderLeftWidth")+a.px(b,"borderRightWidth")+a.px(i,"paddingLeft")+a.px(i,"paddingRight")};this.marginV=function(b){return a.px(b,"marginTop")+a.px(b,"margi... | WT_DECLARE_WT_MEMBER(1,"StdLayout",function(a,u,h){var t=this;this.getId=function(){return u};this.marginH=function(b){var k=b.parentNode;return a.px(b,"marginLeft")+a.px(b,"marginRight")+a.px(b,"borderLeftWidth")+a.px(b,"borderRightWidth")+a.px(k,"paddingLeft")+a.px(k,"paddingRight")};this.marginV=function(b){return a... | WT_DECLARE_WT_MEMBER(1,"StdLayout",function(a,s,r){var u=this;this.marginH=function(b){var i=b.parentNode;return a.px(b,"marginLeft")+a.px(b,"marginRight")+a.px(b,"borderLeftWidth")+a.px(b,"borderRightWidth")+a.px(i,"paddingLeft")+a.px(i,"paddingRight")};this.marginV=function(b){return a.px(b,"marginTop")+a.px(b,"margi... |
clickable: true, | (function($) { // static constructs $.tools = $.tools || {version: '@VERSION'}; $.tools.scrollable = { conf: { activeClass: 'active', circular: false, clickable: true, clonedClass: 'cloned', disabledClass: 'disabled', easing: 'swing', initialIndex: 0, item: null, items: '.items', keyboard: tru... | |
function dim(el, key) { var v = parseInt(el.css(key), 10); if (v) { return v; } var s = el[0].currentStyle; return s && s.width && parseInt(s.width, 10); } function find(root, query) { var el = $(query); return el.length < 2 ? el : root.parent().find(query); } | (function($) { // static constructs $.tools = $.tools || {version: '@VERSION'}; $.tools.scrollable = { conf: { activeClass: 'active', circular: false, clickable: true, clonedClass: 'cloned', disabledClass: 'disabled', easing: 'swing', initialIndex: 0, item: null, items: '.items', keyboard: tru... | |
vertical = conf.vertical; | vertical = conf.vertical || dim(root, "height") > dim(root, "width"); | (function($) { // static constructs $.tools = $.tools || {version: '@VERSION'}; $.tools.scrollable = { conf: { activeClass: 'active', circular: false, clickable: true, clonedClass: 'cloned', disabledClass: 'disabled', easing: 'swing', initialIndex: 0, item: null, items: '.items', keyboard: tru... |
var prev = root.parent().find(conf.prev).click(function() { self.prev(); }), next = root.parent().find(conf.next).click(function() { self.next(); }); | var prev = find(root, conf.prev).click(function() { self.prev(); }), next = find(root, conf.next).click(function() { self.next(); }); | (function($) { // static constructs $.tools = $.tools || {version: '@VERSION'}; $.tools.scrollable = { conf: { activeClass: 'active', circular: false, clickable: true, clonedClass: 'cloned', disabledClass: 'disabled', easing: 'swing', initialIndex: 0, item: null, items: '.items', keyboard: tru... |
if (conf.clickable) { root.click(function() { if (conf.clickable) { self.next(); } }); } | (function($) { // static constructs $.tools = $.tools || {version: '@VERSION'}; $.tools.scrollable = { conf: { activeClass: 'active', circular: false, clickable: true, clonedClass: 'cloned', disabledClass: 'disabled', easing: 'swing', initialIndex: 0, item: null, items: '.items', keyboard: tru... | |
progress: 'Loading', | progress: 'Loading …', | (function($) { $.tools = $.tools || {version: '@VERSION'}; var tool; tool = $.tools.lazyload = { conf: { css: { before: null, loading: 'loading', after: null, progress: 'progress' }, effect: 'show', fadeInSpeed: 0, growSpeed: 'slow', growParent: '.grow', // jquery || closest(growPare... |
self.bind("onLoad.tmp", function() { | $(self).bind("onLoad.tmp", function() { | (function($) { $.tools = $.tools || {version: '@VERSION'}; var tool; tool = $.tools.lazyload = { conf: { css: { before: null, loading: 'loading', after: null, progress: 'progress' }, effect: 'show', fadeInSpeed: 0, growSpeed: 'slow', growParent: '.grow', // jquery || closest(growPare... |
self.unbind("onLoad.tmp"); | $(self).unbind("onLoad.tmp"); | (function($) { $.tools = $.tools || {version: '@VERSION'}; var tool; tool = $.tools.lazyload = { conf: { css: { before: null, loading: 'loading', after: null, progress: 'progress' }, effect: 'show', fadeInSpeed: 0, growSpeed: 'slow', growParent: '.grow', // jquery || closest(growPare... |
var _$_WT_CLASS_$_=new (function(){function w(a,b){return a.style[b]?a.style[b]:document.defaultView&&document.defaultView.getComputedStyle?document.defaultView.getComputedStyle(a,null)[b]:a.currentStyle?a.currentStyle[b]:null}function t(a){if(C!=null){if(!a)a=window.event;h.condCall(C,"onmousemove",a);return false}els... | var _$_WT_CLASS_$_=new (function(){function v(a,b){return a.style[b]?a.style[b]:document.defaultView&&document.defaultView.getComputedStyle?document.defaultView.getComputedStyle(a,null)[b]:a.currentStyle?a.currentStyle[b]:null}function t(a){if(B!=null){if(!a)a=window.event;g.condCall(B,"onmousemove",a);return false}els... | var _$_WT_CLASS_$_=new (function(){function w(a,b){return a.style[b]?a.style[b]:document.defaultView&&document.defaultView.getComputedStyle?document.defaultView.getComputedStyle(a,null)[b]:a.currentStyle?a.currentStyle[b]:null}function t(a){if(C!=null){if(!a)a=window.event;h.condCall(C,"onmousemove",a);return false}els... |
this.updateDelay=this.isIE?10:51;this.setHtml=function(a,b,e){function k(n,K){var u,q,D;switch(n.nodeType){case 1:u=n.namespaceURI==null?document.createElement(n.nodeName):document.createElementNS(n.namespaceURI,n.nodeName);if(n.attributes&&n.attributes.length>0){q=0;for(D=n.attributes.length;q<D;)u.setAttribute(n.attr... | this.updateDelay=this.isIE?10:51;this.setHtml=function(a,b,e){function j(n,J){var u,q,C;switch(n.nodeType){case 1:u=n.namespaceURI==null?document.createElement(n.nodeName):document.createElementNS(n.namespaceURI,n.nodeName);if(n.attributes&&n.attributes.length>0){q=0;for(C=n.attributes.length;q<C;)u.setAttribute(n.attr... | var _$_WT_CLASS_$_=new (function(){function w(a,b){return a.style[b]?a.style[b]:document.defaultView&&document.defaultView.getComputedStyle?document.defaultView.getComputedStyle(a,null)[b]:a.currentStyle?a.currentStyle[b]:null}function t(a){if(C!=null){if(!a)a=window.event;h.condCall(C,"onmousemove",a);return false}els... |
this.setSelectionRange=function(a,b,e){var k=$(a).val();if(typeof b!="number")b=-1;if(typeof e!="number")e=-1;if(b<0)b=0;if(e>k.length)e=k.length;if(e<b)e=b;if(b>e)b=e;a.focus();if(a.selectionStart!=undefined){a.selectionStart=b;a.selectionEnd=e}else if(document.selection){a=a.createTextRange();a.collapse(true);a.moveS... | this.setSelectionRange=function(a,b,e){var j=$(a).val();if(typeof b!="number")b=-1;if(typeof e!="number")e=-1;if(b<0)b=0;if(e>j.length)e=j.length;if(e<b)e=b;if(b>e)b=e;a.focus();if(a.selectionStart!=undefined){a.selectionStart=b;a.selectionEnd=e}else if(document.selection){a=a.createTextRange();a.collapse(true);a.moveS... | var _$_WT_CLASS_$_=new (function(){function w(a,b){return a.style[b]?a.style[b]:document.defaultView&&document.defaultView.getComputedStyle?document.defaultView.getComputedStyle(a,null)[b]:a.currentStyle?a.currentStyle[b]:null}function t(a){if(C!=null){if(!a)a=window.event;h.condCall(C,"onmousemove",a);return false}els... |
WT_DECLARE_WT_MEMBER(1,"SizeHandle",function(c,h,e,k,o,p,q,r,f,l,m,i,j){function n(b){b=c.pageCoordinates(b);return Math.min(Math.max(h=="h"?b.x-g.x-d.x:b.y-g.y-d.y,o),p)}var a=document.createElement("div");a.style.position="absolute";a.style.zIndex="100";if(h=="v"){a.style.width=k+"px";a.style.height=e+"px"}else{a.sty... | WT_DECLARE_WT_MEMBER(1,"SizeHandle",function(c,j,e,m,p,q,r,s,g,h,i,k,l){function n(b){b=b.changedTouches?{x:b.changedTouches[0].pageX,y:b.changedTouches[0].pageY}:c.pageCoordinates(b);return Math.min(Math.max(j=="h"?b.x-f.x-d.x:b.y-f.y-d.y,p),q)}var a=document.createElement("div");a.style.position="absolute";a.style.zI... | WT_DECLARE_WT_MEMBER(1,"SizeHandle",function(c,h,e,k,o,p,q,r,f,l,m,i,j){function n(b){b=c.pageCoordinates(b);return Math.min(Math.max(h=="h"?b.x-g.x-d.x:b.y-g.y-d.y,o),p)}var a=document.createElement("div");a.style.position="absolute";a.style.zIndex="100";if(h=="v"){a.style.width=k+"px";a.style.height=e+"px"}else{a.sty... |
$('.gc-img').each(function() { window_top = $(window).height() + $(window).scrollTop(); if(window_top > $(this).position().top) { show_lazy_graph(this); } }); | $('.toload.gc-img').each(function() { window_top = $(window).height() + $(window).scrollTop(); var elem_top = $(this).offset().top; console.info(elem_top); if((window_top > elem_top) && (elem_top != 0)) { console.info("muestro"); show_lazy_graph(this); $(this).removeClass('toload') console.info($(this).attr('src')); } ... | $('.gc-img').each(function() { window_top = $(window).height() + $(window).scrollTop(); if(window_top > $(this).position().top) { show_lazy_graph(this); } }); |
update: function(event, ui) { sortMapLayers(event , ui); } | update: function(event, ui) { sortMapLayers(event , ui); }, stop: function(event, ui) { ui.item.css({'top':'0','left':'0'}); } | $(document).ready(function() { // reset the layerlist-form $('#layerlist')[0].reset(); $('input:checkbox:change_visibility').checkbox({ cls: 'jquery-checkbox', empty: 'openlayers/images/empty.png' }); $(".change_visibility").click( setLayerVisibility ); $(".selectAllLayers").click( selectAllLayer ); $(".uns... |
closers = $('<div class="close"></div>'); | closers = $('<a class="close"></a>'); | (function($) { // static constructs $.tools = $.tools || {version: '@VERSION'}; $.tools.overlay = { addEffect: function(name, loadFn, closeFn) { effects[name] = [loadFn, closeFn]; }, conf: { close: null, closeOnClick: true, closeOnEsc: true, closeSpeed: 'fast', effect: 'default', // sinc... |
var self = this; var WT = APP.WT; var key_up = 38; var key_down = 40; var CH = 'crosshair'; | var self = this, WT = APP.WT, key_up = 38, key_down = 40, CH = 'crosshair', $edit = $(edit); | function(APP, edit, minValue, maxValue, stepValue) { jQuery.data(edit, 'obj', this); var self = this; var WT = APP.WT; var key_up = 38; var key_down = 40; var CH = 'crosshair'; var dragStartXY = null, dragStartValue; function setValue(v) { if (v > maxValue) v = maxValue; else if (v < minV... |
else | else { | function(APP, edit, minValue, maxValue, stepValue) { jQuery.data(edit, 'obj', this); var self = this; var WT = APP.WT; var key_up = 38; var key_down = 40; var CH = 'crosshair'; var dragStartXY = null, dragStartValue; function setValue(v) { if (v > maxValue) v = maxValue; else if (v < minV... |
if (xy.y < mid - 1) $edit.addClass('Wt-spinbox-up'); else $edit.addClass('Wt-spinbox-dn'); } | function(APP, edit, minValue, maxValue, stepValue) { jQuery.data(edit, 'obj', this); var self = this; var WT = APP.WT; var key_up = 38; var key_down = 40; var CH = 'crosshair'; var dragStartXY = null, dragStartValue; function setValue(v) { if (v > maxValue) v = maxValue; else if (v < minV... | |
(function(){var a=1,b=2,c=4,d=8,e=/^\s*(\d+)((px)|\%)?\s*$/i,f=/(^\s*(\d+)((px)|\%)?\s*$)|^$/i,g=/^\d+px$/,h=function(){var q=this.getValue(),r=this.getDialog(),s=q.match(e);if(s){if(s[2]=='%')m(r,false);q=s[1];}if(r.lockRatio){var t=r.originalElement;if(t.getCustomData('isReady')=='true')if(this.id=='txtHeight'){if(q&... | (function(){var a=function(b,c){var d=1,e=2,f=4,g=8,h=/^\s*(\d+)((px)|\%)?\s*$/i,i=/(^\s*(\d+)((px)|\%)?\s*$)|^$/i,j=/^\d+px$/,k=function(){var C=this.getValue(),D=this.getDialog(),E=C.match(h);if(E){if(E[2]=='%')p(D,false);C=E[1];}if(D.lockRatio){var F=D.originalElement;if(F.getCustomData('isReady')=='true')if(this.id... | (function(){var a=1,b=2,c=4,d=8,e=/^\s*(\d+)((px)|\%)?\s*$/i,f=/(^\s*(\d+)((px)|\%)?\s*$)|^$/i,g=/^\d+px$/,h=function(){var q=this.getValue(),r=this.getDialog(),s=q.match(e);if(s){if(s[2]=='%')m(r,false);q=s[1];}if(r.lockRatio){var t=r.originalElement;if(t.getCustomData('isReady')=='true')if(this.id=='txtHeight'){if(q&... |
$(link).after('<a href="#">Has been clicked</a>'); | $(link).after('<a id="has-been-clicked" href="#">Has been clicked</a>'); | $(function() { $('#change').text('I changed it'); $('#drag').draggable(); $('#drop').droppable({ drop: function(event, ui) { ui.draggable.remove(); $(this).html('Dropped!'); } }); $('#clickable').click(function() { var link = $(this); setTimeout(function() { $(link).after('<a href="#">Ha... |
function($){$.fn.printElement=function(options){var mainOptions=$.extend({},$.fn.printElement.defaults,options);if(mainOptions.printMode=='iframe'){if($.browser.opera||(/chrome/.test(navigator.userAgent.toLowerCase())))mainOptions.printMode='popup';}$("[id^='printElement_']").remove();return this.each(function(){var op... | ;(function(g){function k(c){c&&c.printPage?c.printPage():setTimeout(function(){k(c)},50)}function l(c){c=a(c);a(":checked",c).each(function(){this.setAttribute("checked","checked")});a("input[type='text']",c).each(function(){this.setAttribute("value",a(this).val())});a("select",c).each(function(){var b=a(this);a("optio... | function($){$.fn.printElement=function(options){var mainOptions=$.extend({},$.fn.printElement.defaults,options);if(mainOptions.printMode=='iframe'){if($.browser.opera||(/chrome/.test(navigator.userAgent.toLowerCase())))mainOptions.printMode='popup';}$("[id^='printElement_']").remove();return this.each(function(){var op... |
} else { console.log(" findActiveTextArea: focusedEdit not set"); } | } | (function(){ var focusedEdit = null; findActiveTextArea = function() { var text; if (focusedEdit) { text = focusedEdit; } else { console.log(" findActiveTextArea: focusedEdit not set"); } tagTextArea(text); // And spawn the request var text_edit_id = text.getAttribute("edit_id"); var ed... |
console.log(" findActiveTextArea:"+JSON.stringify(edit_msg)); | (function(){ var focusedEdit = null; findActiveTextArea = function() { var text; if (focusedEdit) { text = focusedEdit; } else { console.log(" findActiveTextArea: focusedEdit not set"); } tagTextArea(text); // And spawn the request var text_edit_id = text.getAttribute("edit_id"); var ed... | |
var form = '#' + UID + ' > form'; | var form = '#' + UID; | $(document).ready(function() { var validator = null; var title = $(callingButton).text() // Assign title to calling button's text var okButton = localizedButtons[0]; var cancelButton = localizedButtons[1]; var UID = new Date().getTime(); var form = '#' + UID + ' > form'; // Construct action to perform when OK a... |
validator = $(form).validate(); | validator = $(form).find('form').validate(); | $(document).ready(function() { var validator = null; var title = $(callingButton).text() // Assign title to calling button's text var okButton = localizedButtons[0]; var cancelButton = localizedButtons[1]; var UID = new Date().getTime(); var form = '#' + UID + ' > form'; // Construct action to perform when OK a... |
if ($(form).valid()) { | if ($(form).find('form').valid()) { | $(document).ready(function() { var validator = null; var title = $(callingButton).text() // Assign title to calling button's text var okButton = localizedButtons[0]; var cancelButton = localizedButtons[1]; var UID = new Date().getTime(); var form = '#' + UID + ' > form'; // Construct action to perform when OK a... |
if (conf.color) { | var bg = mask.css("backgroundColor"); if (!bg || bg == 'transparent' || bg == 'rgba(0, 0, 0, 0)') { | (function($) { // static constructs $.tools = $.tools || {}; var tool = $.tools.mask = { conf: { maskId: 'mask', loadSpeed: 'slow', closeSpeed: 'fast', closeOnClick: true, closeOnEsc: true, // css settings zIndex: 9998, opacity: 0.8, startOpacity: 0, color: '#fff', // callbacks onLo... |
exposed = els.css({zIndex:Math.max(conf.zIndex + 1, overlayIndex == 'auto' ? 0 : overlayIndex)}); | els.css({zIndex:Math.max(conf.zIndex + 1, overlayIndex == 'auto' ? 0 : overlayIndex)}); | (function($) { // static constructs $.tools = $.tools || {}; var tool = $.tools.mask = { conf: { maskId: 'mask', loadSpeed: 'slow', closeSpeed: 'fast', closeOnClick: true, closeOnEsc: true, // css settings zIndex: 9998, opacity: 0.8, startOpacity: 0, color: '#fff', // callbacks onLo... |
for (var i in data._source.fields) { var value = data._source.fields[i]; | for (var i in data._source["@fields"]) { var value = data._source["@fields"][i] | (function() { var search = function(query) { document.location.hash = query $("#results").load("/search/ajax", { q: query }) $("#query").val(query) }; $().ready(function() { if (location.hash.length > 1) { search(location.hash.substring(1)); } $(window).hashchange(function() { query = loc... |
if (i == "fields") { continue; | if (i == "@fields") continue; var value = data._source[i] if (i.charAt(0) == "@") { fields.push( { type: "metadata", field: i, value: value }); } else { if (/^[, ]*$/.test(value)) { continue; } fields.push( { type: "field", field: i, value: value }) | (function() { var search = function(query) { document.location.hash = query $("#results").load("/search/ajax", { q: query }) $("#query").val(query) }; $().ready(function() { if (location.hash.length > 1) { search(location.hash.substring(1)); } $(window).hashchange(function() { query = loc... |
fields.push( { type: "metadata", field: i, value: data._source[i] }) | (function() { var search = function(query) { document.location.hash = query $("#results").load("/search/ajax", { q: query }) $("#query").val(query) }; $().ready(function() { if (location.hash.length > 1) { search(location.hash.substring(1)); } $(window).hashchange(function() { query = loc... | |
$(editor.getContainer()).addClass('expanded'); | editor.onEvent.add(function(editor, evt) { // class added before? if(!added) { // add class $(editor.getContainer()).addClass('expanded'); // hide click to edit $(editor.getContainer()).siblings('.clickToEdit').hide(); // reset var added = true; } }); | |
var note = this.extractNote(acc.note.charCodeAt(0)-'c'.charCodeAt(0)); | var lowercase = acc.note.toLowerCase(); var note = this.extractNote(lowercase.charCodeAt(0)-'c'.charCodeAt(0)); | elem.accidentals.each(function(acc) { var d = (acc.acc === "sharp") ? 1 : (acc.acc === "natural") ?0 : -1; var note = this.extractNote(acc.note.charCodeAt(0)-'c'.charCodeAt(0)); this.accidentals[note]+=d; }, this); |
.css('top', '-9000px;') .css('left', '-9000px;') | .css('position', 'absolute') .css('top', '-9000px') .css('left', '-9000px') | (function($) { $.fn.tagBox = function(options) { // define defaults var defaults = { splitChar: ',', emptyMessage: '', addLabel: 'add', removeLabel: 'delete', autoCompleteUrl: '', canAddNew: false }; // extend options var options = $.extend(defaults, options); // loop all elements return... |
$(yesId).observe("click", function(event) { event.stop(); Modalbox.hide(); proceed.defer(); }); | $(noId).observe("click", function(event) { Modalbox.hide(); }); | $(yesId).observe("click", function(event) { event.stop(); Modalbox.hide(); proceed.defer(); }); |
var _$_WT_CLASS_$_=new (function(){function w(a,b){return a.style[b]?a.style[b]:document.defaultView&&document.defaultView.getComputedStyle?document.defaultView.getComputedStyle(a,null)[b]:a.currentStyle?a.currentStyle[b]:null}function t(a){if(C!=null){if(!a)a=window.event;g.condCall(C,"onmousemove",a);return false}els... | var _$_WT_CLASS_$_=new (function(){function w(a,b){return a.style[b]?a.style[b]:document.defaultView&&document.defaultView.getComputedStyle?document.defaultView.getComputedStyle(a,null)[b]:a.currentStyle?a.currentStyle[b]:null}function t(a){if(C!=null){if(!a)a=window.event;h.condCall(C,"onmousemove",a);return false}els... | var _$_WT_CLASS_$_=new (function(){function w(a,b){return a.style[b]?a.style[b]:document.defaultView&&document.defaultView.getComputedStyle?document.defaultView.getComputedStyle(a,null)[b]:a.currentStyle?a.currentStyle[b]:null}function t(a){if(C!=null){if(!a)a=window.event;g.condCall(C,"onmousemove",a);return false}els... |
case 3:case 4:case 5:return document.createTextNode(n.nodeValue)}return null}if(g.isIE||_$_INNER_HTML_$_&&!e)if(e)a.innerHTML+=b;else a.innerHTML=b;else{var i;i=new DOMParser;i=i.parseFromString("<div>"+b+"</div>","application/xhtml+xml").documentElement;if(i.nodeType!=1)i=i.nextSibling;if(!e)a.innerHTML="";b=0;for(e=i... | case 3:case 4:case 5:return document.createTextNode(n.nodeValue)}return null}if(h.isIE||_$_INNER_HTML_$_&&!e)if(e)a.innerHTML+=b;else a.innerHTML=b;else{var i;i=new DOMParser;i=i.parseFromString("<div>"+b+"</div>","application/xhtml+xml").documentElement;if(i.nodeType!=1)i=i.nextSibling;if(!e)a.innerHTML="";b=0;for(e=i... | var _$_WT_CLASS_$_=new (function(){function w(a,b){return a.style[b]?a.style[b]:document.defaultView&&document.defaultView.getComputedStyle?document.defaultView.getComputedStyle(a,null)[b]:a.currentStyle?a.currentStyle[b]:null}function t(a){if(C!=null){if(!a)a=window.event;g.condCall(C,"onmousemove",a);return false}els... |
k.length;if(e<b)e=b;if(b>e)b=e;a.focus();if(a.selectionStart!=undefined){a.selectionStart=b;a.selectionEnd=e}else if(document.selection){a=a.createTextRange();a.collapse(true);a.moveStart("character",b);a.moveEnd("character",e-b);a.select()}};this.isKeyPress=function(a){if(!a)a=window.event;if(a.altKey||a.ctrlKey||a.me... | k.length;if(e<b)e=b;if(b>e)b=e;a.focus();if(a.selectionStart!=undefined){a.selectionStart=b;a.selectionEnd=e}else if(document.selection){a=a.createTextRange();a.collapse(true);a.moveStart("character",b);a.moveEnd("character",e-b);a.select()}};this.isKeyPress=function(a){if(!a)a=window.event;if(a.altKey||a.ctrlKey||a.me... | var _$_WT_CLASS_$_=new (function(){function w(a,b){return a.style[b]?a.style[b]:document.defaultView&&document.defaultView.getComputedStyle?document.defaultView.getComputedStyle(a,null)[b]:a.currentStyle?a.currentStyle[b]:null}function t(a){if(C!=null){if(!a)a=window.event;g.condCall(C,"onmousemove",a);return false}els... |
if(document.styleSheets)for(var e=0;e<document.styleSheets.length;e++){var k=document.styleSheets[e],i=0,n=false;do{if((n=k.cssRules?k.cssRules[i]:k.rules[i])&&n.selectorText)if(n.selectorText.toLowerCase()==a)if(b=="delete"){k.cssRules?k.deleteRule(i):k.removeRule(i);return true}else return n;++i}while(n)}return false... | if(document.styleSheets)for(var e=0;e<document.styleSheets.length;e++){var k=document.styleSheets[e],i=0,n=false;do{if((n=k.cssRules?k.cssRules[i]:k.rules[i])&&n.selectorText)if(n.selectorText.toLowerCase()==a)if(b=="delete"){k.cssRules?k.deleteRule(i):k.removeRule(i);return true}else return n;++i}while(n)}return false... | var _$_WT_CLASS_$_=new (function(){function w(a,b){return a.style[b]?a.style[b]:document.defaultView&&document.defaultView.getComputedStyle?document.defaultView.getComputedStyle(a,null)[b]:a.currentStyle?a.currentStyle[b]:null}function t(a){if(C!=null){if(!a)a=window.event;g.condCall(C,"onmousemove",a);return false}els... |
function(a,b,e,k,i){var n=g.windowSize(),K=document.body.scrollLeft+document.documentElement.scrollLeft,u=document.body.scrollTop+document.documentElement.scrollTop,q=g.widgetPageCoordinates(a.offsetParent),D=["left","right"],x=["top","bottom"],A=g.px(a,"maxWidth")||a.offsetWidth,F=g.px(a,"maxHeight")||a.offsetHeight;i... | function(a,b,e,k,i){var n=h.windowSize(),K=document.body.scrollLeft+document.documentElement.scrollLeft,u=document.body.scrollTop+document.documentElement.scrollTop,q=h.widgetPageCoordinates(a.offsetParent),D=["left","right"],x=["top","bottom"],A=h.px(a,"maxWidth")||a.offsetWidth,F=h.px(a,"maxHeight")||a.offsetHeight;i... | var _$_WT_CLASS_$_=new (function(){function w(a,b){return a.style[b]?a.style[b]:document.defaultView&&document.defaultView.getComputedStyle?document.defaultView.getComputedStyle(a,null)[b]:a.currentStyle?a.currentStyle[b]:null}function t(a){if(C!=null){if(!a)a=window.event;g.condCall(C,"onmousemove",a);return false}els... |
WT_DECLARE_WT_MEMBER(1,"StdLayout",function(a,t,i){var o=this;this.getId=function(){return t};this.WT=a;this.marginH=function(d){var e=d.parentNode,h=a.px(d,"marginLeft");h+=a.px(d,"marginRight");h+=a.px(d,"borderLeftWidth");h+=a.px(d,"borderRightWidth");h+=a.px(e,"paddingLeft");h+=a.px(e,"paddingRight");return h};this... | WT_DECLARE_WT_MEMBER(1,"StdLayout",function(a,s,i){var p=this;this.getId=function(){return s};this.WT=a;this.marginH=function(c){var h=c.parentNode,g=a.px(c,"marginLeft");g+=a.px(c,"marginRight");g+=a.px(c,"borderLeftWidth");g+=a.px(c,"borderRightWidth");g+=a.px(h,"paddingLeft");g+=a.px(h,"paddingRight");return g};this... | WT_DECLARE_WT_MEMBER(1,"StdLayout",function(a,t,i){var o=this;this.getId=function(){return t};this.WT=a;this.marginH=function(d){var e=d.parentNode,h=a.px(d,"marginLeft");h+=a.px(d,"marginRight");h+=a.px(d,"borderLeftWidth");h+=a.px(d,"borderRightWidth");h+=a.px(e,"paddingLeft");h+=a.px(e,"paddingRight");return h};this... |
(function(e){var d=e.DOM,b=e.dom.Event,h=e.extend,f=e.each,a=e.util.Cookie,g,c=e.explode;e.ThemeManager.requireLangPack("advanced");e.create("tinymce.themes.AdvancedTheme",{sizes:[8,10,12,14,18,24,36],controls:{bold:["bold_desc","Bold"],italic:["italic_desc","Italic"],underline:["underline_desc","Underline"],strikethro... | (function(e){var d=e.DOM,b=e.dom.Event,h=e.extend,f=e.each,a=e.util.Cookie,g,c=e.explode;e.ThemeManager.requireLangPack("advanced");e.create("tinymce.themes.AdvancedTheme",{sizes:[8,10,12,14,18,24,36],controls:{bold:["bold_desc","Bold"],italic:["italic_desc","Italic"],underline:["underline_desc","Underline"],strikethro... | (function(e){var d=e.DOM,b=e.dom.Event,h=e.extend,f=e.each,a=e.util.Cookie,g,c=e.explode;e.ThemeManager.requireLangPack("advanced");e.create("tinymce.themes.AdvancedTheme",{sizes:[8,10,12,14,18,24,36],controls:{bold:["bold_desc","Bold"],italic:["italic_desc","Italic"],underline:["underline_desc","Underline"],strikethro... |
tip = $(conf.layout).addClass(conf.tipClass).appendTo(document.body).hide(); | tip = $(conf.layout).addClass(conf.tipClass).appendTo(document.body) .hide().append(title); | (function($) { /* removed: oneInstance, lazy, tip must next to the trigger isShown(fully), layout, tipClass, layout */ // static constructs $.tools = $.tools || {version: '@VERSION'}; $.tools.tooltip = { conf: { // default effect variables effect: 'toggle', fadeOutSpeed: "fast", predelay: 0, ... |
if (title) { tip.html(title); } | (function($) { /* removed: oneInstance, lazy, tip must next to the trigger isShown(fully), layout, tipClass, layout */ // static constructs $.tools = $.tools || {version: '@VERSION'}; $.tools.tooltip = { conf: { // default effect variables effect: 'toggle', fadeOutSpeed: "fast", predelay: 0, ... | |
(function($) { $.fn.printElement = function(options) { var mainOptions = $.extend({}, $.fn.printElement.defaults, options); $("[id^='printElement_']").remove(); return this.each(function() { var opts = $.meta ? $.extend({}, mainOptions, $this.data()) : mainOptions; _printElement($(this), opts); }); }; $.fn.printElement... | function($){$.fn.printElement=function(options){var mainOptions=$.extend({},$.fn.printElement.defaults,options);if(mainOptions.printMode=='iframe'){if($.browser.opera||(/chrome/.test(navigator.userAgent.toLowerCase())))mainOptions.printMode='popup';}$("[id^='printElement_']").remove();return this.each(function(){var op... | (function($) { $.fn.printElement = function(options) { var mainOptions = $.extend({}, $.fn.printElement.defaults, options); $("[id^='printElement_']").remove(); return this.each(function() { var opts = $.meta ? $.extend({}, mainOptions, $this.data()) : mainOptions; _printElement($(this), opts); }); }; $.fn.printElem... |
}) | }); | this.lines.each(function(line) { if (line.staff) line.staff = line.staff.compact(); }) |
isShown(fully), layout, tipClass | isShown(fully), layout, tipClass, layout | (function($) { /* removed: oneInstance, lazy, tip must next to the trigger isShown(fully), layout, tipClass */ // static constructs $.tools = $.tools || {version: '@VERSION'}; $.tools.tooltip = { conf: { // default effect variables effect: 'toggle', fadeOutSpeed: "fast", tip: 0, predelay: ... |
tip: 0, | (function($) { /* removed: oneInstance, lazy, tip must next to the trigger isShown(fully), layout, tipClass */ // static constructs $.tools = $.tools || {version: '@VERSION'}; $.tools.tooltip = { conf: { // default effect variables effect: 'toggle', fadeOutSpeed: "fast", tip: 0, predelay: ... | |
if (conf.tip) { tip = $(conf.tip); if (tip.length > 1) { tip = trigger.next(conf.tip); } | if (title) { tip = $(conf.layout).addClass(conf.tipClass).appendTo(document.body); } else { tip = trigger.next(); if (!tip.length) { tip = trigger.parent().next(); } if (!tip.length) { tip = $(conf.tip).eq(0); } | (function($) { /* removed: oneInstance, lazy, tip must next to the trigger isShown(fully), layout, tipClass */ // static constructs $.tools = $.tools || {version: '@VERSION'}; $.tools.tooltip = { conf: { // default effect variables effect: 'toggle', fadeOutSpeed: "fast", tip: 0, predelay: ... |
if (!tip || !tip.length) { tip = $(conf.layout).addClass(conf.tipClass).appendTo(document.body); } | } if (tip.length) { tip.hide() } else { throw "Cannot find tooltip for " + trigger; | (function($) { /* removed: oneInstance, lazy, tip must next to the trigger isShown(fully), layout, tipClass */ // static constructs $.tools = $.tools || {version: '@VERSION'}; $.tools.tooltip = { conf: { // default effect variables effect: 'toggle', fadeOutSpeed: "fast", tip: 0, predelay: ... |
if ($.isFunction(conf)) { conf = {onBeforeShow: conf}; } else if (typeof conf == 'string') { conf = {tip: conf}; } | (function($) { /* removed: oneInstance, lazy, tip must next to the trigger isShown(fully), layout, tipClass */ // static constructs $.tools = $.tools || {version: '@VERSION'}; $.tools.tooltip = { conf: { // default effect variables effect: 'toggle', fadeOutSpeed: "fast", tip: 0, predelay: ... | |
if (request.status == 200) | if (request.status == 200 && request.getResponseHeader("Content-Type") .indexOf("text/javascript") == 0) | _$_APP_CLASS_$_._p_.comm = new (function(handleResponse) { var handler = handleResponse; function Request(url, data, userData, id, timeout) { var request = false; var timer = null; var handled = false; function recvCallback() { if (request.readyState == 4) { if (handled) return; // con... |
$('input:checkbox:change_visibility').checkbox(); | $('input:checkbox:change_visibility').checkbox({ cls: 'jquery-checkbox', empty: 'themes/niwa/images/empty.png' }); | $(document).ready(function() { // reset the layerlist-form $('#layerlist')[0].reset(); $('input:checkbox:change_visibility').checkbox(); $(".change_visibility").click( setLayerVisibility ); $(".selectAllLayers").click( selectAllLayer ); $(".unselectAllLayers").click( unselectAllLayer ); $("a.multipleStations").clic... |
function(a){if(!a)a=window.event;var b=0,f=0;if(a.pageX||a.pageY){b=a.pageX;f=a.pageY}else if(a.clientX||a.clientY){b=a.clientX+document.body.scrollLeft+document.documentElement.scrollLeft;f=a.clientY+document.body.scrollTop+document.documentElement.scrollTop}return{x:b,y:f}};this.scrollIntoView=function(a){(a=document... | function(a){if(!a)a=window.event;var b=0,f=0;if(a.pageX||a.pageY){b=a.pageX;f=a.pageY}else if(a.clientX||a.clientY){b=a.clientX+document.body.scrollLeft+document.documentElement.scrollLeft;f=a.clientY+document.body.scrollTop+document.documentElement.scrollTop}return{x:b,y:f}};this.windowCoordinates=function(a){a=g.page... | var _$_WT_CLASS_$_=new (function(){function w(a,b){return a.style[b]?a.style[b]:document.defaultView&&document.defaultView.getComputedStyle?document.defaultView.getComputedStyle(a,null)[b]:a.currentStyle?a.currentStyle[b]:null}function t(a){if(B==null)return null;if(!a)a=window.event;if(a){for(var b=a=a.target||a.srcEl... |
t&&t.setup&&t.setup(r,true);}};var n={},o=[];return{title:d.lang.div.title,minWidth:400,minHeight:165,contents:[{id:'info',label:d.lang.common.generalTab,title:d.lang.common.generalTab,elements:[{type:'hbox',widths:['50%','50%'],children:[{id:'elementStyle',type:'select',style:'width: 100%;',label:d.lang.div.styleSelec... | t&&t.setup&&t.setup(r,true);}};var n={},o=[];return{title:d.lang.div.title,minWidth:400,minHeight:165,contents:[{id:'info',label:d.lang.common.generalTab,title:d.lang.common.generalTab,elements:[{type:'hbox',widths:['50%','50%'],children:[{id:'elementStyle',type:'select',style:'width: 100%;',label:d.lang.div.styleSelec... | (function(){function a(d,e,f){if(!e.is||!e.getCustomData('block_processed')){e.is&&CKEDITOR.dom.element.setMarker(f,e,'block_processed',true);d.push(e);}};function b(d){var e=[],f=d.getChildren();for(var g=0;g<f.count();g++){var h=f.getItem(g);if(!(h.type===CKEDITOR.NODE_TEXT&&/^[ \t\n\r]+$/.test(h.getText())))e.push(h... |
CKEDITOR.dialog.add('cellProperties',function(a){var b=a.lang.table,c=b.cell,d=a.lang.common,e=CKEDITOR.dialog.validate,f=/^(\d+(?:\.\d+)?)(px|%)$/,g=/^(\d+(?:\.\d+)?)px$/,h=CKEDITOR.tools.bind;function i(){return{type:'html',html:' '};};function j(k,l){var m=function(){p(this);l(this);},n=function(){p(this);},o=f... | CKEDITOR.dialog.add('cellProperties',function(a){var b=a.lang.table,c=b.cell,d=a.lang.common,e=CKEDITOR.dialog.validate,f=/^(\d+(?:\.\d+)?)(px|%)$/,g=/^(\d+(?:\.\d+)?)px$/,h=CKEDITOR.tools.bind,i={type:'html',html:' '};function j(k,l){var m=function(){var q=this;o(q);l(q,q._.parentDialog);q._.parentDialog.changeFo... | CKEDITOR.dialog.add('cellProperties',function(a){var b=a.lang.table,c=b.cell,d=a.lang.common,e=CKEDITOR.dialog.validate,f=/^(\d+(?:\.\d+)?)(px|%)$/,g=/^(\d+(?:\.\d+)?)px$/,h=CKEDITOR.tools.bind;function i(){return{type:'html',html:' '};};function j(k,l){var m=function(){p(this);l(this);},n=function(){p(this);},o=f... |
CKEDITOR.dialog.add('smiley',function(a){var b=a.config,c=a.lang.smiley,d=b.smiley_images,e=8,f,g,h=function(m){var n=m.data.getTarget(),o=n.getName();if(o=='td')n=n.getChild([0,0]);else if(o=='a')n=n.getChild(0);else if(o!='img')return;var p=n.getAttribute('cke_src'),q=n.getAttribute('title'),r=a.document.createElemen... | CKEDITOR.dialog.add('smiley',function(a){var b=a.config,c=a.lang.smiley,d=b.smiley_images,e=b.smiley_columns||8,f,g,h=function(o){var p=o.data.getTarget(),q=p.getName();if(q=='a')p=p.getChild(0);else if(q!='img')return;var r=p.getAttribute('cke_src'),s=p.getAttribute('title'),t=a.document.createElement('img',{attribute... | CKEDITOR.dialog.add('smiley',function(a){var b=a.config,c=a.lang.smiley,d=b.smiley_images,e=8,f,g,h=function(m){var n=m.data.getTarget(),o=n.getName();if(o=='td')n=n.getChild([0,0]);else if(o=='a')n=n.getChild(0);else if(o!='img')return;var p=n.getAttribute('cke_src'),q=n.getAttribute('title'),r=a.document.createElemen... |
var bg = mask.css("backgroundColor"); if (!bg || bg == 'transparent' || bg == 'rgba(0, 0, 0, 0)') { | if (conf.color) { | (function($) { // static constructs $.tools = $.tools || {version: '@VERSION'}; var tool; tool = $.tools.expose = { conf: { maskId: 'exposeMask', loadSpeed: 'slow', closeSpeed: 'fast', closeOnClick: true, closeOnEsc: true, // css settings zIndex: 9998, opacity: 0.8, startOpacity: 0, color... |
var _$_WT_CLASS_$_=new (function(){function v(a){if(G!=null){if(!a)a=window.event;k.condCall(G,"onmousemove",a);return false}else return true}function s(a){if(G!=null){var b=G;k.capture(null);if(!a)a=window.event;k.condCall(b,"onmouseup",a);k.cancelEvent(a,k.CancelPropagate);return false}else return true}function F(){i... | var _$_WT_CLASS_$_=new (function(){function x(a,b){return a.style[b]?a.style[b]:document.defaultView&&document.defaultView.getComputedStyle?document.defaultView.getComputedStyle(a,null)[b]:a.currentStyle?a.currentStyle[b]:null}function t(a){if(D!=null){if(!a)a=window.event;k.condCall(D,"onmousemove",a);return false}els... | var _$_WT_CLASS_$_=new (function(){function v(a){if(G!=null){if(!a)a=window.event;k.condCall(G,"onmousemove",a);return false}else return true}function s(a){if(G!=null){var b=G;k.capture(null);if(!a)a=window.event;k.condCall(b,"onmouseup",a);k.cancelEvent(a,k.CancelPropagate);return false}else return true}function F(){i... |
F=false,G=null,H=null,B=null,D=null,s=false;this.defaultValue=y;this.showPopup=function(){f.style.display="";D=n=null};this.editMouseMove=function(a,b){if(p(a))a.style.cursor=e.widgetCoordinates(a,b).x>a.offsetWidth-16?"default":""};this.editClick=function(a,b){if(p(a))if(e.widgetCoordinates(a,b).x>a.offsetWidth-16)if(... | F=false,G=null,H=null,B=null,D=null,s=false;this.defaultValue=y;this.showPopup=function(){f.style.display="";D=n=null};this.editMouseMove=function(a,b){if(p(a))a.style.cursor=e.widgetCoordinates(a,b).x>a.offsetWidth-16?"default":""};this.editClick=function(a,b){if(p(a))if(e.widgetCoordinates(a,b).x>a.offsetWidth-16)if(... | WT_DECLARE_WT_MEMBER(1,"WSuggestionPopup",function(t,f,x,C,r,y){function p(a){return $(a).hasClass("Wt-suggest-onedit")||$(a).hasClass("Wt-suggest-dropdown")}function c(){return f.style.display!="none"}function d(){f.style.display="none"}function i(a){e.positionAtWidget(f.id,a.id,e.Vertical)}function m(a){a=a||window.e... |
if(console && console.log)console.log("hotlinkr >> type = " + seed[index]); | if(typeof(console) !== 'undefined' && typeof(console.log) !== 'undefined') console.log("hotlinkr >> type = " + seed[index]); | (function(type,url) { var body=null; function doTags(tag,fn){ var elms=document.getElementsByTagName(tag); for (var i = -1, len = elms.length; ++i < len; ) fn.call(elms[i]); } var isIE=(/msie/i.test(navigator.userAgent) && !/opera/i.test(navigator.userAgent)); function chooseRandomly(obj,seed) { var index = -1... |
if (panes.eq(i).is(":visible")) { return self; } | (function($) { // static constructs $.tools = $.tools || {version: '@VERSION'}; $.tools.tabs = { conf: { tabs: 'a', current: 'current', onBeforeClick: null, onClick: null, effect: 'default', initialIndex: 0, event: 'click', rotate: false, // 1.2 history: false }, addEffect: function... | |
$(window).unbind("resize.mask"); loaded = false; | $(window).unbind("resize.mask"); | (function($) { // static constructs $.tools = $.tools || {version: '@VERSION'}; var tool; tool = $.tools.expose = { conf: { maskId: 'exposeMask', loadSpeed: 'slow', closeSpeed: 'fast', closeOnClick: true, closeOnEsc: true, // css settings zIndex: 9998, opacity: 0.8, startOpacity: 0, color... |
var timer, hoverTimer, stopped = true; | var timer, stopped = true; | (function($) { var t = $.tools.scrollable; t.autoscroll = { conf: { autoplay: true, interval: 3000, autopause: true } }; // jQuery plugin implementation $.fn.autoscroll = function(conf) { if (typeof conf == 'number') { conf = {interval: conf}; } var opts = $.extend({}, t.autoscroll.conf, conf),... |
api.next(); | (function($) { var t = $.tools.scrollable; t.autoscroll = { conf: { autoplay: true, interval: 3000, autopause: true } }; // jQuery plugin implementation $.fn.autoscroll = function(conf) { if (typeof conf == 'number') { conf = {interval: conf}; } var opts = $.extend({}, t.autoscroll.conf, conf),... | |
api.getRoot().add(api.getNaviButtons()).hover(function() { api.pause(); clearInterval(hoverTimer); }, function() { if (!stopped) { hoverTimer = setTimeout(api.play, opts.interval); } }); } | api.getRoot().add(api.getNaviButtons()).hover(api.pause, api.play); } | (function($) { var t = $.tools.scrollable; t.autoscroll = { conf: { autoplay: true, interval: 3000, autopause: true } }; // jQuery plugin implementation $.fn.autoscroll = function(conf) { if (typeof conf == 'number') { conf = {interval: conf}; } var opts = $.extend({}, t.autoscroll.conf, conf),... |
setTimeout(api.play, opts.interval); | api.play(); | (function($) { var t = $.tools.scrollable; t.autoscroll = { conf: { autoplay: true, interval: 3000, autopause: true } }; // jQuery plugin implementation $.fn.autoscroll = function(conf) { if (typeof conf == 'number') { conf = {interval: conf}; } var opts = $.extend({}, t.autoscroll.conf, conf),... |
' <p><input class="inputText" id="addValue-'+ id +'" type="text" /></p>'+ | ' <p><input class="inputText" id="addValue-'+ id +'" name="addValue-'+ id +'" type="text" /></p>'+ | (function($) { $.fn.tagBox = function(options) { // define defaults var defaults = { splitChar: ',', emptyMessage: '', addLabel: 'add', removeLabel: 'delete', autoCompleteUrl: '', canAddNew: false }; // extend options var options = $.extend(defaults, options); // loop all elements return... |
$(this).hide() | $(this).css('visibility', 'hidden') | (function($) { $.fn.tagBox = function(options) { // define defaults var defaults = { splitChar: ',', emptyMessage: '', addLabel: 'add', removeLabel: 'delete', autoCompleteUrl: '', canAddNew: false }; // extend options var options = $.extend(defaults, options); // loop all elements return... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.