diff options
Diffstat (limited to 'ui/widgets/menu.js')
-rw-r--r-- | ui/widgets/menu.js | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/ui/widgets/menu.js b/ui/widgets/menu.js index 3b17112f8..2bc37789b 100644 --- a/ui/widgets/menu.js +++ b/ui/widgets/menu.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. @@ -34,7 +36,8 @@ // Browser globals factory( jQuery ); } -}( function( $ ) { +} )( function( $ ) { +"use strict"; return $.widget( "ui.menu", { version: "@VERSION", @@ -707,4 +710,4 @@ return $.widget( "ui.menu", { } } ); -} ) ); +} ); |