diff options
Diffstat (limited to 'ui/effects/effect-puff.js')
-rw-r--r-- | ui/effects/effect-puff.js | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/ui/effects/effect-puff.js b/ui/effects/effect-puff.js index bfe922f0c..70e9acd0b 100644 --- a/ui/effects/effect-puff.js +++ b/ui/effects/effect-puff.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. @@ -28,7 +30,8 @@ // Browser globals factory( jQuery ); } -}( function( $ ) { +} )( function( $ ) { +"use strict"; return $.effects.define( "puff", "hide", function( options, done ) { var newOptions = $.extend( true, {}, options, { @@ -39,4 +42,4 @@ return $.effects.define( "puff", "hide", function( options, done ) { $.effects.effect.scale.call( this, newOptions, done ); } ); -} ) ); +} ); |