Fixed JS Beautify JSX bug by adding e4x option
This commit is contained in:
parent
cdb52a873d
commit
aec0a682b5
|
@ -305,4 +305,4 @@
|
|||
"lint": "coffeelint src/ spec/",
|
||||
"code-docs": "codo && open docs/code/index.html"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -22,6 +22,12 @@ module.exports = {
|
|||
"js"
|
||||
]
|
||||
|
||||
defaultBeautifier: "Pretty Diff"
|
||||
defaultBeautifier: "JS Beautify"
|
||||
|
||||
options:
|
||||
e4x:
|
||||
type: 'boolean'
|
||||
default: true
|
||||
description: "Support e4x/jsx syntax"
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue