aboutsummaryrefslogtreecommitdiffstats
path: root/ui/effects/effect-bounce.js
diff options
context:
space:
mode:
Diffstat (limited to 'ui/effects/effect-bounce.js')
-rw-r--r--ui/effects/effect-bounce.js7
1 files changed, 5 insertions, 2 deletions
diff --git a/ui/effects/effect-bounce.js b/ui/effects/effect-bounce.js
index 1743ef503..8cb18f82c 100644
--- a/ui/effects/effect-bounce.js
+++ b/ui/effects/effect-bounce.js
@@ -14,6 +14,8 @@
//>>demos: http://jqueryui.com/effect/
( function( factory ) {
+ "use strict";
+
if ( typeof define === "function" && define.amd ) {
// AMD. Register as an anonymous module.
@@ -27,7 +29,8 @@
// Browser globals
factory( jQuery );
}
-}( function( $ ) {
+} )( function( $ ) {
+"use strict";
return $.effects.define( "bounce", function( options, done ) {
var upAnim, downAnim, refValue,
@@ -107,4 +110,4 @@ return $.effects.define( "bounce", function( options, done ) {
$.effects.unshift( element, queuelen, anims + 1 );
} );
-} ) );
+} );