15 lines
472 B
JavaScript
15 lines
472 B
JavaScript
shadow$provide.module$node_modules$pixi_DOT_js$lib$utils$data$uid = function(global, require, module, exports) {
|
|
const uidCache = {default:-1};
|
|
exports.resetUids = function() {
|
|
for (const key in uidCache) {
|
|
delete uidCache[key];
|
|
}
|
|
};
|
|
exports.uid = function(name = "default") {
|
|
void 0 === uidCache[name] && (uidCache[name] = -1);
|
|
return ++uidCache[name];
|
|
};
|
|
};
|
|
|
|
//# sourceMappingURL=module$node_modules$pixi_DOT_js$lib$utils$data$uid.js.map
|