UNPKG

@visactor/vrender-core

Version:

```typescript import { xxx } from '@visactor/vrender-core'; ```

28 lines (22 loc) 1.02 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: !0 }), exports.getRuntimeInstallerState = exports.RUNTIME_INSTALLER_STATE_SYMBOL = void 0; const binding_context_1 = require("../legacy/binding-context"); function createRuntimeInstallerState() { return { runtimeInstallerContext: (0, binding_context_1.createLegacyBindingContext)(), preloaded: !1, runtimeEntryKeys: new WeakMap, runtimeDrawContributions: new WeakMap, loadedRuntimeContributionModules: new WeakMap }; } function getRuntimeInstallerState() { const scope = globalThis; return scope[exports.RUNTIME_INSTALLER_STATE_SYMBOL] || (scope[exports.RUNTIME_INSTALLER_STATE_SYMBOL] = createRuntimeInstallerState()), scope[exports.RUNTIME_INSTALLER_STATE_SYMBOL]; } exports.RUNTIME_INSTALLER_STATE_SYMBOL = Symbol.for("@visactor/vrender-core/runtime-installer-state"), exports.getRuntimeInstallerState = getRuntimeInstallerState; //# sourceMappingURL=runtime-installer-state.js.map