Update bundle.sh

This commit is contained in:
pengfeizhou
2021-02-26 19:01:42 +08:00
committed by osborn
parent eee76858f8
commit 97dcc26b7b
7 changed files with 6 additions and 7 deletions

View File

@@ -154,7 +154,6 @@ global.Entry = function () {
return Reflect.apply(doric.jsObtainEntry(contextId), doric, arguments);
}
else {
console.log(new Error().stack);
const jsFile = (_c = (_b = (_a = new Error().stack) === null || _a === void 0 ? void 0 : _a.split("\n").map(e => e.match(/at\s__decorate.*?\s\((.*?)\)/)).find(e => !!e)) === null || _b === void 0 ? void 0 : _b[1].match(/(.*?\.js)/)) === null || _c === void 0 ? void 0 : _c[1];
if (!jsFile) {
throw new Error("Cannot find debugging file");

View File

@@ -257,7 +257,7 @@ export function jsObtainEntry(contextId) {
};
}
const global = Function('return this')();
let __timerId__ = 0;
let __timerId__ = 1;
const timerInfos = new Map;
const _setTimeout = global.setTimeout;
const _setInterval = global.setInterval;