main
Last change
on this file since d24f17c was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago |
Initial commit
|
-
Property mode
set to
100644
|
File size:
923 bytes
|
Line | |
---|
1 | var _Symbol$asyncDispose = require("core-js-pure/features/symbol/async-dispose.js");
|
---|
2 | var _Symbol$for = require("core-js-pure/features/symbol/for.js");
|
---|
3 | var _Symbol$dispose = require("core-js-pure/features/symbol/dispose.js");
|
---|
4 | var _pushInstanceProperty = require("core-js-pure/features/instance/push.js");
|
---|
5 | function _using(o, n, e) {
|
---|
6 | if (null == n) return n;
|
---|
7 | if (Object(n) !== n) throw new TypeError("using declarations can only be used with objects, functions, null, or undefined.");
|
---|
8 | if (e) var r = n[_Symbol$asyncDispose || _Symbol$for("Symbol.asyncDispose")];
|
---|
9 | if (null == r && (r = n[_Symbol$dispose || _Symbol$for("Symbol.dispose")]), "function" != typeof r) throw new TypeError("Property [Symbol.dispose] is not a function.");
|
---|
10 | return _pushInstanceProperty(o).call(o, {
|
---|
11 | v: n,
|
---|
12 | d: r,
|
---|
13 | a: e
|
---|
14 | }), n;
|
---|
15 | }
|
---|
16 | module.exports = _using, module.exports.__esModule = true, module.exports["default"] = module.exports; |
---|
Note:
See
TracBrowser
for help on using the repository browser.