Fixed JS Beautify JSX bug by adding e4x option

This commit is contained in:
Guan Gui 2017-02-27 22:14:09 +11:00
parent cdb52a873d
commit aec0a682b5
No known key found for this signature in database
GPG Key ID: A0A139A913EC8C5D
2 changed files with 8 additions and 2 deletions

View File

@ -305,4 +305,4 @@
"lint": "coffeelint src/ spec/",
"code-docs": "codo && open docs/code/index.html"
}
}
}

View File

@ -22,6 +22,12 @@ module.exports = {
"js"
]
defaultBeautifier: "Pretty Diff"
defaultBeautifier: "JS Beautify"
options:
e4x:
type: 'boolean'
default: true
description: "Support e4x/jsx syntax"
}