1 |
3a515b92
|
cagy
|
"use strict";
|
2 |
|
|
|
3 |
|
|
exports.__esModule = true;
|
4 |
|
|
exports.scope = exports.path = undefined;
|
5 |
|
|
|
6 |
|
|
var _weakMap = require("babel-runtime/core-js/weak-map");
|
7 |
|
|
|
8 |
|
|
var _weakMap2 = _interopRequireDefault(_weakMap);
|
9 |
|
|
|
10 |
|
|
exports.clear = clear;
|
11 |
|
|
exports.clearPath = clearPath;
|
12 |
|
|
exports.clearScope = clearScope;
|
13 |
|
|
|
14 |
|
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
15 |
|
|
|
16 |
|
|
var path = exports.path = new _weakMap2.default();
|
17 |
|
|
var scope = exports.scope = new _weakMap2.default();
|
18 |
|
|
|
19 |
|
|
function clear() {
|
20 |
|
|
clearPath();
|
21 |
|
|
clearScope();
|
22 |
|
|
}
|
23 |
|
|
|
24 |
|
|
function clearPath() {
|
25 |
|
|
exports.path = path = new _weakMap2.default();
|
26 |
|
|
}
|
27 |
|
|
|
28 |
|
|
function clearScope() {
|
29 |
|
|
exports.scope = scope = new _weakMap2.default();
|
30 |
|
|
}
|