Sha256: 6f6c577105e55f8a7a3ec00cb42c34ef8ffdb3eedc4e9b1e442dbd371f6fb79b

Contents?: true

Size: 913 Bytes

Versions: 10

Compression:

Stored size: 913 Bytes

Contents

/*! jQuery UI - v1.10.3 - 2013-05-03
* http://jqueryui.com
* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */
(function(t){t.effects.effect.shake=function(e,i){var s,n=t(this),a=["position","top","bottom","left","right","height","width"],o=t.effects.setMode(n,e.mode||"effect"),r=e.direction||"left",h=e.distance||20,l=e.times||3,c=2*l+1,u=Math.round(e.duration/c),d="up"===r||"down"===r?"top":"left",p="up"===r||"left"===r,f={},m={},g={},v=n.queue(),_=v.length;for(t.effects.save(n,a),n.show(),t.effects.createWrapper(n),f[d]=(p?"-=":"+=")+h,m[d]=(p?"+=":"-=")+2*h,g[d]=(p?"-=":"+=")+2*h,n.animate(f,u,e.easing),s=1;l>s;s++)n.animate(m,u,e.easing).animate(g,u,e.easing);n.animate(m,u,e.easing).animate(f,u/2,e.easing).queue(function(){"hide"===o&&n.hide(),t.effects.restore(n,a),t.effects.removeWrapper(n),i()}),_>1&&v.splice.apply(v,[1,0].concat(v.splice(_,c+1))),n.dequeue()}})(jQuery);

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
h2ocube_rails_assets-0.0.29 vendor/assets/javascripts/jquery.ui/jquery.ui.effect-shake.js
h2ocube_rails_assets-0.0.28 vendor/assets/javascripts/jquery.ui/jquery.ui.effect-shake.js
h2ocube_rails_assets-0.0.27 vendor/assets/javascripts/jquery.ui/jquery.ui.effect-shake.js
h2ocube_rails_assets-0.0.26 vendor/assets/javascripts/jquery.ui/jquery.ui.effect-shake.js
h2ocube_rails_assets-0.0.25 vendor/assets/javascripts/jquery.ui/jquery.ui.effect-shake.js
h2ocube_rails_assets-0.0.24 vendor/assets/javascripts/jquery.ui/jquery.ui.effect-shake.js
h2ocube_rails_assets-0.0.23 vendor/assets/javascripts/jquery.ui/jquery.ui.effect-shake.js
h2ocube_rails_assets-0.0.22 vendor/assets/javascripts/jquery.ui/jquery.ui.effect-shake.js
h2ocube_rails_assets-0.0.21 vendor/assets/javascripts/jquery.ui/jquery.ui.effect-shake.js
h2ocube_rails_assets-0.0.20 vendor/assets/javascripts/jquery.ui/jquery.ui.effect-shake.js