From e1bfd2e2fc3d78f66c663f311b161e613116d693 Mon Sep 17 00:00:00 2001 From: Georgii Dolzhykov Date: Fri, 18 Oct 2019 15:20:55 +0300 Subject: [PATCH] fix playground: wrong parser shown in options on first open (#6683) --- website/playground/util.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/website/playground/util.js b/website/playground/util.js index 13db0625..c78ce6e9 100644 --- a/website/playground/util.js +++ b/website/playground/util.js @@ -11,9 +11,7 @@ export function getDefaults(availableOptions, optionNames) { for (const option of availableOptions) { if (optionNames.includes(option.name)) { defaults[option.name] = - option.name === "parser" - ? "babylon" // TODO(1.16): replace with `babel` - : option.default; + option.name === "parser" ? "babel" : option.default; } } return defaults;