fix(playground): code sample for --parser babylon

master
Ika 2018-12-28 14:27:27 +08:00
parent 86a5c40bc3
commit 3a6c126f86
1 changed files with 1 additions and 0 deletions

View File

@ -1,6 +1,7 @@
export default function(parser) {
switch (parser) {
case "babel":
case "babylon": // backward compatibility for v1.15 playground
return [
'function HelloWorld({greeting = "hello", greeted = \'"World"\', silent = false, onMouseOver,}) {',
"",