mirror of
https://github.com/MercuryWorkshop/scramjet.git
synced 2025-05-14 06:50:01 -04:00
fix: scramitize checks, re enable captureErrors
This commit is contained in:
parent
60f57d50f2
commit
9bf911bb0c
2 changed files with 3 additions and 3 deletions
|
@ -74,11 +74,11 @@ export default function (client: ScramjetClient, self: typeof globalThis) {
|
||||||
debugger;
|
debugger;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (v === self && v.$scramjet) {
|
if (v === self && v?.$scramjet) {
|
||||||
debugger;
|
debugger;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (iswindow && v instanceof Document && v.defaultView.$scramjet) {
|
if (iswindow && v instanceof Document && v.defaultView?.$scramjet) {
|
||||||
debugger;
|
debugger;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -32,7 +32,7 @@ export class ScramjetController {
|
||||||
naiiveRewriter: false,
|
naiiveRewriter: false,
|
||||||
strictRewrites: true,
|
strictRewrites: true,
|
||||||
rewriterLogs: true,
|
rewriterLogs: true,
|
||||||
captureErrors: false,
|
captureErrors: true,
|
||||||
cleanErrors: false,
|
cleanErrors: false,
|
||||||
scramitize: false,
|
scramitize: false,
|
||||||
sourcemaps: false,
|
sourcemaps: false,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue