mirror of
https://github.com/MercuryWorkshop/scramjet.git
synced 2025-05-13 14:30:02 -04:00
oops
This commit is contained in:
parent
b47f19ac60
commit
5bf5e29163
2 changed files with 2 additions and 2 deletions
|
@ -310,7 +310,7 @@ export class ScramjetClient {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
delete Error.prepareStackTrace;
|
Error.prepareStackTrace = pst;
|
||||||
|
|
||||||
if (earlyreturn) {
|
if (earlyreturn) {
|
||||||
return returnValue;
|
return returnValue;
|
||||||
|
|
|
@ -5,7 +5,7 @@ let sourcemaps: {
|
||||||
map: [string, number, number][];
|
map: [string, number, number][];
|
||||||
}[] = [];
|
}[] = [];
|
||||||
|
|
||||||
export const enabled = self.$scramjet.config.flags.sourcemaps;
|
export const enabled = () => self.$scramjet.config.flags.sourcemaps;
|
||||||
|
|
||||||
export default function (client: ScramjetClient, self: Self) {
|
export default function (client: ScramjetClient, self: Self) {
|
||||||
// every script will push a sourcemap
|
// every script will push a sourcemap
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue