@visactor/vrender-core
Version:
```typescript import { xxx } from '@visactor/vrender-core'; ```
20 lines (17 loc) • 745 B
JavaScript
;
function createContributionStoreState() {
return {
store: new Map
};
}
function getContributionStoreState() {
const scope = globalThis;
return scope[exports.CONTRIBUTION_STORE_STATE_SYMBOL] || (scope[exports.CONTRIBUTION_STORE_STATE_SYMBOL] = createContributionStoreState()),
scope[exports.CONTRIBUTION_STORE_STATE_SYMBOL];
}
Object.defineProperty(exports, "__esModule", {
value: !0
}), exports.getContributionStoreState = exports.CONTRIBUTION_STORE_STATE_SYMBOL = void 0,
exports.CONTRIBUTION_STORE_STATE_SYMBOL = Symbol.for("@visactor/vrender-core/contribution-store-state"),
exports.getContributionStoreState = getContributionStoreState;
//# sourceMappingURL=contribution-store-state.js.map