diff options
Diffstat (limited to 'ui/widgets/button.js')
-rw-r--r-- | ui/widgets/button.js | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/ui/widgets/button.js b/ui/widgets/button.js index a4be3c76e..c7cbb4f04 100644 --- a/ui/widgets/button.js +++ b/ui/widgets/button.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. @@ -36,7 +38,8 @@ // Browser globals factory( jQuery ); } -}( function( $ ) { +} )( function( $ ) { +"use strict"; $.widget( "ui.button", { version: "@VERSION", @@ -443,4 +446,4 @@ if ( $.uiBackCompat !== false ) { return $.ui.button; -} ) ); +} ); |