diff options
Diffstat (limited to 'ui/ie.js')
-rw-r--r-- | ui/ie.js | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/ui/ie.js b/ui/ie.js new file mode 100644 index 000000000..1ce6a8450 --- /dev/null +++ b/ui/ie.js @@ -0,0 +1,15 @@ +( function( factory ) { + if ( typeof define === "function" && define.amd ) { + + // AMD. Register as an anonymous module. + define( [ "jquery", "./version" ], factory ); + } else { + + // Browser globals + factory( jQuery ); + } +} ( function( $ ) { + +// This file is deprecated +return $.ui.ie = !!/msie [\w.]+/.exec( navigator.userAgent.toLowerCase() ); +} ) ); |