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

This commit is contained in:
Ika committed 2018-12-28 14:27:27 +08:00
1 parent 86a5c40bc3
commit 3a6c126f86
1 file changed
+1
+1
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,}) {',
"",