template.js.base.unique-id.min.js Maven / Gradle / Ivy
'use strict';(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")})}})});
© 2015 - 2024 Weber Informatics LLC | Privacy Policy