diff options
Diffstat (limited to 'ui/safe-blur.js')
-rw-r--r-- | ui/safe-blur.js | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/ui/safe-blur.js b/ui/safe-blur.js index 525878268..c0b3b8a1e 100644 --- a/ui/safe-blur.js +++ b/ui/safe-blur.js @@ -1,4 +1,6 @@ ( function( factory ) { + "use strict"; + if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. @@ -8,7 +10,9 @@ // Browser globals factory( jQuery ); } -} ( function( $ ) { +} )( function( $ ) { +"use strict"; + return $.ui.safeBlur = function( element ) { // Support: IE9 - 10 only @@ -18,4 +22,4 @@ return $.ui.safeBlur = function( element ) { } }; -} ) ); +} ); |