From 868e8c70e391b5ba886edc93fdec28086a6a3fca Mon Sep 17 00:00:00 2001 From: Jörn Zaefferer Date: Wed, 18 Mar 2015 15:39:12 +0100 Subject: Effects: Fix style issues in individual effects Skipping ui/effect.js since embedded jquery-color has many issues. Closes gh-1510 --- ui/effect-shake.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'ui/effect-shake.js') diff --git a/ui/effect-shake.js b/ui/effect-shake.js index a94503f29..52240fed0 100644 --- a/ui/effect-shake.js +++ b/ui/effect-shake.js @@ -13,11 +13,11 @@ //>>docs: http://api.jqueryui.com/shake-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( "shake", function( options, done ) { @@ -66,6 +66,6 @@ return $.effects.define( "shake", function( options, done ) { .queue( done ); $.effects.unshift( element, queuelen, anims + 1 ); -}); +} ); -})); +} ) ); -- cgit v1.2.3