fix(playground): code sample for --parser babylon
This commit is contained in:
1 parent
86a5c40bc3
commit
3a6c126f86
1 file changed
+1
@@ -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,}) {',
|
||||
"",
|
||||
|
||||
Reference in new issue
Block a user