diff options
Diffstat (limited to 'ui/effects/effect-drop.js')
-rw-r--r-- | ui/effects/effect-drop.js | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/ui/effects/effect-drop.js b/ui/effects/effect-drop.js index c7e3d7a6e..9d620e974 100644 --- a/ui/effects/effect-drop.js +++ b/ui/effects/effect-drop.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( "drop", "hide", function( options, done ) { @@ -66,4 +69,4 @@ return $.effects.define( "drop", "hide", function( options, done ) { } ); } ); -} ) ); +} ); |