mirror of
https://github.com/MercuryWorkshop/scramjet.git
synced 2025-05-14 06:50:01 -04:00
scramitizer for document
This commit is contained in:
parent
dd6759b6c4
commit
f8888828a9
1 changed files with 3 additions and 0 deletions
|
@ -66,6 +66,9 @@ export default function (client: ScramjetClient, self: typeof globalThis) {
|
|||
if (typeof v === "string" && v.includes("scramjet")) {
|
||||
debugger;
|
||||
}
|
||||
if (iswindow && v instanceof Document && v.defaultView.$scramjet) {
|
||||
debugger;
|
||||
}
|
||||
|
||||
return v;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue