diff options
Diffstat (limited to 'ui/effects/effect-fold.js')
-rw-r--r-- | ui/effects/effect-fold.js | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/ui/effects/effect-fold.js b/ui/effects/effect-fold.js index 2214a1cf3..ad19bfb26 100644 --- a/ui/effects/effect-fold.js +++ b/ui/effects/effect-fold.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( "fold", "hide", function( options, done ) { @@ -86,4 +89,4 @@ return $.effects.define( "fold", "hide", function( options, done ) { $.effects.unshift( element, queuelen, 4 ); } ); -} ) ); +} ); |