diff options
Diffstat (limited to 'ui/widgets/slider.js')
-rw-r--r-- | ui/widgets/slider.js | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/ui/widgets/slider.js b/ui/widgets/slider.js index e5004573a..ec2c2877e 100644 --- a/ui/widgets/slider.js +++ b/ui/widgets/slider.js @@ -17,6 +17,8 @@ //>>css.theme: ../../themes/base/theme.css ( function( factory ) { + "use strict"; + if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. @@ -32,7 +34,8 @@ // Browser globals factory( jQuery ); } -}( function( $ ) { +} )( function( $ ) { +"use strict"; return $.widget( "ui.slider", $.ui.mouse, { version: "@VERSION", @@ -749,4 +752,4 @@ return $.widget( "ui.slider", $.ui.mouse, { } } ); -} ) ); +} ); |