diff options
author | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2015-03-18 15:39:12 +0100 |
---|---|---|
committer | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2015-03-18 15:42:55 +0100 |
commit | 868e8c70e391b5ba886edc93fdec28086a6a3fca (patch) | |
tree | 16bbe1c88854f12d094ca026d32a00fc9d832ff3 /ui/effect-bounce.js | |
parent | c16a5e58f9e4c130d15e86898e62707c43877ab4 (diff) | |
download | jquery-ui-868e8c70e391b5ba886edc93fdec28086a6a3fca.tar.gz jquery-ui-868e8c70e391b5ba886edc93fdec28086a6a3fca.zip |
Effects: Fix style issues in individual effects
Skipping ui/effect.js since embedded jquery-color has many issues.
Closes gh-1510
Diffstat (limited to 'ui/effect-bounce.js')
-rw-r--r-- | ui/effect-bounce.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ui/effect-bounce.js b/ui/effect-bounce.js index 197acda5e..8a5d58e30 100644 --- a/ui/effect-bounce.js +++ b/ui/effect-bounce.js @@ -13,11 +13,11 @@ //>>docs: http://api.jqueryui.com/bounce-effect/ //>>demos: http://jqueryui.com/effect/ -(function( factory ) { +( function( factory ) { if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. - define([ + define( [ "jquery", "./effect" ], factory ); @@ -26,7 +26,7 @@ // Browser globals factory( jQuery ); } -}(function( $ ) { +}( function( $ ) { return $.effects.define( "bounce", function( options, done ) { var upAnim, downAnim, refValue, @@ -103,6 +103,6 @@ return $.effects.define( "bounce", function( options, done ) { element.queue( done ); $.effects.unshift( element, queuelen, anims + 1 ); -}); +} ); -})); +} ) ); |