2009-11-13 04:00:12 +00:00
|
|
|
/*!
|
2012-07-04 13:08:08 +00:00
|
|
|
* jQuery UI Core @VERSION
|
|
|
|
* http://jqueryui.com
|
2008-06-04 02:34:33 +00:00
|
|
|
*
|
2014-12-21 18:27:43 +00:00
|
|
|
* Copyright jQuery Foundation and other contributors
|
2012-08-09 14:13:24 +00:00
|
|
|
* Released under the MIT license.
|
2010-07-09 13:01:04 +00:00
|
|
|
* http://jquery.org/license
|
2008-06-04 02:34:33 +00:00
|
|
|
*
|
|
|
|
*/
|
2014-10-30 19:55:08 +00:00
|
|
|
|
|
|
|
//>>label: Core
|
|
|
|
//>>group: UI Core
|
|
|
|
//>>description: The core of jQuery UI, required for all interactions and widgets.
|
|
|
|
//>>docs: http://api.jqueryui.com/category/ui-core/
|
|
|
|
//>>demos: http://jqueryui.com/
|
|
|
|
|
2015-03-14 11:22:28 +00:00
|
|
|
( function( factory ) {
|
2013-07-12 16:40:48 +00:00
|
|
|
if ( typeof define === "function" && define.amd ) {
|
|
|
|
|
|
|
|
// AMD. Register as an anonymous module.
|
2015-07-15 22:26:12 +00:00
|
|
|
define( [
|
|
|
|
"jquery",
|
2015-07-15 20:43:33 +00:00
|
|
|
"./data",
|
2015-07-15 20:49:34 +00:00
|
|
|
"./disable-selection",
|
2015-07-16 13:09:14 +00:00
|
|
|
"./focusable",
|
2015-07-16 13:14:58 +00:00
|
|
|
"./form",
|
2015-07-15 21:08:07 +00:00
|
|
|
"./ie",
|
2015-07-15 22:03:01 +00:00
|
|
|
"./keycode",
|
2015-07-15 22:14:26 +00:00
|
|
|
"./labels",
|
2015-07-15 22:28:30 +00:00
|
|
|
"./jquery-1-7",
|
2015-07-15 22:31:39 +00:00
|
|
|
"./plugin",
|
2015-07-15 22:39:11 +00:00
|
|
|
"./safe-active-element",
|
2015-07-16 00:17:12 +00:00
|
|
|
"./safe-blur",
|
2015-07-16 00:20:41 +00:00
|
|
|
"./tabbable",
|
2015-07-16 00:23:44 +00:00
|
|
|
"./scroll-parent",
|
2015-07-15 20:49:34 +00:00
|
|
|
"./version"
|
|
|
|
], factory );
|
2013-07-12 16:40:48 +00:00
|
|
|
} else {
|
|
|
|
|
|
|
|
// Browser globals
|
|
|
|
factory( jQuery );
|
|
|
|
}
|
2015-03-14 11:22:28 +00:00
|
|
|
}( function( $ ) {
|
2010-05-20 00:33:23 +00:00
|
|
|
|
2010-09-07 13:28:22 +00:00
|
|
|
// plugins
|
2015-03-14 11:22:28 +00:00
|
|
|
$.fn.extend( {
|
2009-08-05 13:30:55 +00:00
|
|
|
|
2015-03-14 11:22:28 +00:00
|
|
|
uniqueId: ( function() {
|
2013-10-23 12:17:21 +00:00
|
|
|
var uuid = 0;
|
|
|
|
|
|
|
|
return function() {
|
2015-03-14 11:22:28 +00:00
|
|
|
return this.each( function() {
|
2013-10-23 12:17:21 +00:00
|
|
|
if ( !this.id ) {
|
|
|
|
this.id = "ui-id-" + ( ++uuid );
|
|
|
|
}
|
2015-03-14 11:22:28 +00:00
|
|
|
} );
|
2013-10-23 12:17:21 +00:00
|
|
|
};
|
2015-03-14 11:22:28 +00:00
|
|
|
} )(),
|
2012-05-30 01:55:43 +00:00
|
|
|
|
|
|
|
removeUniqueId: function() {
|
2015-03-14 11:22:28 +00:00
|
|
|
return this.each( function() {
|
2013-10-23 12:17:21 +00:00
|
|
|
if ( /^ui-id-\d+$/.test( this.id ) ) {
|
2012-05-30 01:55:43 +00:00
|
|
|
$( this ).removeAttr( "id" );
|
|
|
|
}
|
2015-03-14 11:22:28 +00:00
|
|
|
} );
|
2010-08-27 16:00:59 +00:00
|
|
|
}
|
2015-03-14 11:22:28 +00:00
|
|
|
} );
|
2010-08-27 16:00:59 +00:00
|
|
|
|
2015-03-14 11:22:28 +00:00
|
|
|
} ) );
|