mirror of
https://github.com/syumai/workers.git
synced 2025-03-10 09:27:08 +00:00
fix Proxy this target
This commit is contained in:
parent
bf3ab8ec41
commit
484c7be891
@ -473,7 +473,7 @@
|
|||||||
if (prop === 'context') {
|
if (prop === 'context') {
|
||||||
return context;
|
return context;
|
||||||
}
|
}
|
||||||
return Reflect.get(...arguments);
|
return Reflect.get(target, prop, target);
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
this._values = [ // JS values that Go currently has references to, indexed by reference id
|
this._values = [ // JS values that Go currently has references to, indexed by reference id
|
||||||
|
@ -476,7 +476,7 @@
|
|||||||
if (prop === 'context') {
|
if (prop === 'context') {
|
||||||
return context;
|
return context;
|
||||||
}
|
}
|
||||||
return Reflect.get(...arguments);
|
return Reflect.get(target, prop, target);
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
this._values = [ // JS values that Go currently has references to, indexed by reference id
|
this._values = [ // JS values that Go currently has references to, indexed by reference id
|
||||||
|
Loading…
x
Reference in New Issue
Block a user