workaround Safari quirks (#4314)

fixes #1753
This commit is contained in:
Alex Lam S.L
2020-11-21 02:30:46 +00:00
committed by GitHub
parent cf120c7cea
commit 645d5a348b
5 changed files with 70 additions and 3 deletions

View File

@@ -111,6 +111,7 @@ function process_option(name, no_value) {
" --validate Perform validation during AST manipulations.",
" --verbose Print diagnostic messages.",
" --warn Print warning messages.",
" --webkit Support non-standard Safari/Webkit.",
" --wrap <name> Embed everything as a function with “exports” corresponding to “name” globally.",
" --reduce-test Reduce a standalone test case (assumes cloned repository).",
].join("\n"));
@@ -142,6 +143,7 @@ function process_option(name, no_value) {
case "timings":
case "toplevel":
case "validate":
case "webkit":
options[name] = true;
break;
case "keep-fnames":