main
Last change
on this file since d565449 was d565449, checked in by stefan toskovski <stefantoska84@…>, 4 weeks ago |
Update repo after prototype presentation
|
-
Property mode
set to
100644
|
File size:
840 bytes
|
Line | |
---|
1 | function _importDeferProxy(e) {
|
---|
2 | var t = null,
|
---|
3 | constValue = function constValue(e) {
|
---|
4 | return function () {
|
---|
5 | return e;
|
---|
6 | };
|
---|
7 | },
|
---|
8 | proxy = function proxy(r) {
|
---|
9 | return function (n, o, f) {
|
---|
10 | return null === t && (t = e()), r(t, o, f);
|
---|
11 | };
|
---|
12 | };
|
---|
13 | return new Proxy({}, {
|
---|
14 | defineProperty: constValue(!1),
|
---|
15 | deleteProperty: constValue(!1),
|
---|
16 | get: proxy(Reflect.get),
|
---|
17 | getOwnPropertyDescriptor: proxy(Reflect.getOwnPropertyDescriptor),
|
---|
18 | getPrototypeOf: constValue(null),
|
---|
19 | isExtensible: constValue(!1),
|
---|
20 | has: proxy(Reflect.has),
|
---|
21 | ownKeys: proxy(Reflect.ownKeys),
|
---|
22 | preventExtensions: constValue(!0),
|
---|
23 | set: constValue(!1),
|
---|
24 | setPrototypeOf: constValue(!1)
|
---|
25 | });
|
---|
26 | }
|
---|
27 | module.exports = _importDeferProxy, module.exports.__esModule = true, module.exports["default"] = module.exports; |
---|
Note:
See
TracBrowser
for help on using the repository browser.