refactor window and document proxies

This commit is contained in:
velzie 2024-08-25 15:48:12 -04:00
parent f3f1a2ed41
commit 6f51642afb
No known key found for this signature in database
GPG key ID: 048413F95F0DDE1F
9 changed files with 99 additions and 99 deletions

View file

@ -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;
},