mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-11 08:04:09 -08:00
4 lines
481 B
JavaScript
4 lines
481 B
JavaScript
/*! jQuery UI - v1.12.1 - 2016-09-15
|
|
* http://jqueryui.com
|
|
* Copyright jQuery Foundation and other contributors; Licensed */
|
|
!function(a){"function"==typeof define&&define.amd?define(["jquery","./version"],a):a(jQuery)}(function(a){return a.fn.extend({uniqueId:function(){var a=0;return function(){return this.each(function(){this.id||(this.id="ui-id-"+ ++a)})}}(),removeUniqueId:function(){return this.each(function(){/^ui-id-\d+$/.test(this.id)&&a(this).removeAttr("id")})}})}); |