11 lines
568 B
JavaScript
11 lines
568 B
JavaScript
shadow$provide.module$node_modules$pixi_DOT_js$lib$rendering$renderers$shared$utils$createIdFromString = function(global, require, module, exports) {
|
|
const idCounts = Object.create(null), idHash = Object.create(null);
|
|
exports.createIdFromString = function(value, groupId) {
|
|
let id = idHash[value];
|
|
void 0 === id && (void 0 === idCounts[groupId] && (idCounts[groupId] = 1), idHash[value] = id = idCounts[groupId]++);
|
|
return id;
|
|
};
|
|
};
|
|
|
|
//# sourceMappingURL=module$node_modules$pixi_DOT_js$lib$rendering$renderers$shared$utils$createIdFromString.js.map
|