diff options
Diffstat (limited to 'ui/unique-id.js')
-rw-r--r-- | ui/unique-id.js | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/ui/unique-id.js b/ui/unique-id.js index a8db136e3..518ba7a0c 100644 --- a/ui/unique-id.js +++ b/ui/unique-id.js @@ -13,6 +13,8 @@ //>>docs: http://api.jqueryui.com/uniqueId/ ( function( factory ) { + "use strict"; + if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. @@ -22,7 +24,8 @@ // Browser globals factory( jQuery ); } -} ( function( $ ) { +} )( function( $ ) { +"use strict"; return $.fn.extend( { uniqueId: ( function() { @@ -46,4 +49,4 @@ return $.fn.extend( { } } ); -} ) ); +} ); |