2015-07-15 22:28:30 +00:00
|
|
|
/*!
|
2020-07-22 14:04:47 +00:00
|
|
|
* jQuery UI Support for jQuery core 1.8.x and newer @VERSION
|
2015-07-15 22:28:30 +00:00
|
|
|
* http://jqueryui.com
|
|
|
|
*
|
|
|
|
* Copyright jQuery Foundation and other contributors
|
|
|
|
* Released under the MIT license.
|
|
|
|
* http://jquery.org/license
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
2020-07-22 14:04:47 +00:00
|
|
|
//>>label: jQuery 1.8+ Support
|
2015-10-21 23:08:44 +00:00
|
|
|
//>>group: Core
|
2020-07-22 14:04:47 +00:00
|
|
|
//>>description: Support version 1.8.x and newer of jQuery core
|
2015-07-15 22:28:30 +00:00
|
|
|
|
|
|
|
( function( factory ) {
|
|
|
|
if ( typeof define === "function" && define.amd ) {
|
|
|
|
|
|
|
|
// AMD. Register as an anonymous module.
|
|
|
|
define( [ "jquery", "./version" ], factory );
|
|
|
|
} else {
|
|
|
|
|
|
|
|
// Browser globals
|
|
|
|
factory( jQuery );
|
|
|
|
}
|
|
|
|
}( function( $ ) {
|
|
|
|
|
2016-12-02 13:41:30 +00:00
|
|
|
// Support: jQuery 1.9.x or older
|
|
|
|
// $.expr[ ":" ] is deprecated.
|
|
|
|
if ( !$.expr.pseudos ) {
|
|
|
|
$.expr.pseudos = $.expr[ ":" ];
|
|
|
|
}
|
|
|
|
|
|
|
|
// Support: jQuery 1.11.x or older
|
|
|
|
// $.unique has been renamed to $.uniqueSort
|
|
|
|
if ( !$.uniqueSort ) {
|
|
|
|
$.uniqueSort = $.unique;
|
|
|
|
}
|
|
|
|
|
2020-01-22 15:44:34 +00:00
|
|
|
// Support: jQuery 3.4.x or older
|
|
|
|
// These methods have been defined in jQuery 3.5.0.
|
|
|
|
if ( !$.fn.even || !$.fn.odd ) {
|
|
|
|
$.fn.extend( {
|
|
|
|
even: function() {
|
|
|
|
return this.filter( function( i ) {
|
|
|
|
return i % 2 === 0;
|
|
|
|
} );
|
|
|
|
},
|
|
|
|
odd: function() {
|
|
|
|
return this.filter( function( i ) {
|
|
|
|
return i % 2 === 1;
|
|
|
|
} );
|
|
|
|
}
|
|
|
|
} );
|
|
|
|
}
|
|
|
|
|
2015-07-15 22:28:30 +00:00
|
|
|
} ) );
|