UNPKG

297 BJavaScriptView Raw
1"use strict";
2exports.__esModule = true;
3var map = {};
4exports["default"] = (function (prefix) {
5 prefix = prefix || 'g';
6 if (!map[prefix]) {
7 map[prefix] = 1;
8 }
9 else {
10 map[prefix] += 1;
11 }
12 return prefix + map[prefix];
13});
14//# sourceMappingURL=unique-id.js.map
\No newline at end of file