mirror of
https://github.com/MercuryWorkshop/scramjet.git
synced 2025-05-13 22:40:01 -04:00
refactor window and document proxies
This commit is contained in:
parent
f3f1a2ed41
commit
6f51642afb
9 changed files with 99 additions and 99 deletions
|
@ -22,7 +22,7 @@ export default function (client: ScramjetClient, self: Self) {
|
|||
source() {
|
||||
let scram: ScramjetClient = this.source[ScramjetClient.SCRAMJET];
|
||||
|
||||
if (scram) return scram.windowProxy;
|
||||
if (scram) return scram.globalProxy;
|
||||
|
||||
return this.source;
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue