diff options
Diffstat (limited to 'ui/tabbable.js')
-rw-r--r-- | ui/tabbable.js | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/ui/tabbable.js b/ui/tabbable.js index bb79466e8..fc5c837cb 100644 --- a/ui/tabbable.js +++ b/ui/tabbable.js @@ -13,6 +13,8 @@ //>>docs: http://api.jqueryui.com/tabbable-selector/ ( 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 $.extend( $.expr.pseudos, { tabbable: function( element ) { @@ -32,4 +35,4 @@ return $.extend( $.expr.pseudos, { } } ); -} ) ); +} ); |