forked from jchomaz/Vulture
Tracking de l'application VApp (IHM du jeu)
This commit is contained in:
13
VApp/node_modules/fast-unique-numbers/build/node/factories/cache.js
generated
vendored
Normal file
13
VApp/node_modules/fast-unique-numbers/build/node/factories/cache.js
generated
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.createCache = void 0;
|
||||
const createCache = lastNumberWeakMap => {
|
||||
return (collection, nextNumber) => {
|
||||
lastNumberWeakMap.set(collection, nextNumber);
|
||||
return nextNumber;
|
||||
};
|
||||
};
|
||||
exports.createCache = createCache;
|
||||
Reference in New Issue
Block a user