Skip to content

Commit

Permalink
work around a bug of terser making restoreTab fail
Browse files Browse the repository at this point in the history
reported in #646
  • Loading branch information
gdh1995 committed Jun 9, 2022
1 parent 067a49e commit ebe5e49
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion background/all_commands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -626,7 +626,7 @@ set_bgC_([
}
cb === undefined ? resolve(0) : notActive ? selectTab(curTabId, runNext) : resolve(1)
}
void (async (): Promise<void> => {
; (async (): Promise<void> => {
const expected = Math.max((count * 1.2) | 0, 2)
let list: chrome.sessions.Session[] | undefined, hasExtra = false
const filter = !onlyCurrentWnd ? null : (i: chrome.sessions.Session): boolean =>
Expand Down
2 changes: 1 addition & 1 deletion scripts/uglifyjs.dist.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"Math.max", "Math.min", "Math.floor", "Math.round", "Math.abs", "Math.random",
"safeObj", "safeObj_", "weakRef_", "deref_",
"docEl_unsafe_",
"__importStar", "__awaiter", "__generator", "sent", "_a.sent", "_b.sent", "_c.sent",
"__importStar", "sent", "_a.sent", "_b.sent", "_c.sent",
"trans_", "pTrans_", "VTr", "contains_s", "attr_s", "getMediaTag",
"readyState", "binarySearch_",
"getMatchRanges",
Expand Down

0 comments on commit ebe5e49

Please # to comment.