mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
parent
64076ecfb5
commit
677fdbf7be
@ -25,6 +25,7 @@
|
||||
"./escape-selector",
|
||||
"./focusable",
|
||||
"./form",
|
||||
"./ie",
|
||||
"./version"
|
||||
], factory );
|
||||
} else {
|
||||
@ -238,9 +239,6 @@ if ( $.fn.jquery.substring( 0, 3 ) === "1.7" ) {
|
||||
};
|
||||
}
|
||||
|
||||
// deprecated
|
||||
$.ui.ie = !!/msie [\w.]+/.exec( navigator.userAgent.toLowerCase() );
|
||||
|
||||
// $.ui.plugin is deprecated. Use $.widget() extensions instead.
|
||||
$.ui.plugin = {
|
||||
add: function( module, option, set ) {
|
||||
|
15
ui/ie.js
Normal file
15
ui/ie.js
Normal file
@ -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() );
|
||||
} ) );
|
@ -18,6 +18,7 @@
|
||||
// AMD. Register as an anonymous module.
|
||||
define([
|
||||
"jquery",
|
||||
"./ie",
|
||||
"./version",
|
||||
"./widget"
|
||||
], factory );
|
||||
|
@ -22,6 +22,7 @@
|
||||
"jquery",
|
||||
"./core",
|
||||
"./data",
|
||||
"./ie",
|
||||
"./mouse",
|
||||
"./version",
|
||||
"./widget"
|
||||
|
Loading…
Reference in New Issue
Block a user