Last change
on this file since 1ad8e64 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
488 bytes
|
Rev | Line | |
---|
[6a3a178] | 1 | "use strict";
|
---|
| 2 |
|
---|
| 3 | Object.defineProperty(exports, "__esModule", {
|
---|
| 4 | value: true
|
---|
| 5 | });
|
---|
| 6 | exports.clear = clear;
|
---|
| 7 | exports.clearPath = clearPath;
|
---|
| 8 | exports.clearScope = clearScope;
|
---|
| 9 | exports.scope = exports.path = void 0;
|
---|
| 10 | let path = new WeakMap();
|
---|
| 11 | exports.path = path;
|
---|
| 12 | let scope = new WeakMap();
|
---|
| 13 | exports.scope = scope;
|
---|
| 14 |
|
---|
| 15 | function clear() {
|
---|
| 16 | clearPath();
|
---|
| 17 | clearScope();
|
---|
| 18 | }
|
---|
| 19 |
|
---|
| 20 | function clearPath() {
|
---|
| 21 | exports.path = path = new WeakMap();
|
---|
| 22 | }
|
---|
| 23 |
|
---|
| 24 | function clearScope() {
|
---|
| 25 | exports.scope = scope = new WeakMap();
|
---|
| 26 | } |
---|
Note:
See
TracBrowser
for help on using the repository browser.