parent
6cd71acb81
commit
d2b7f75cfd
1 changed files with 1 additions and 1 deletions
|
@ -168,7 +168,7 @@ class PreviewFrame extends React.Component {
|
|||
// or loops.
|
||||
JSHINT(newContent);
|
||||
|
||||
if (!JSHINT.errors) {
|
||||
if (JSHINT.errors.length === 0) {
|
||||
newContent = decomment(newContent, {
|
||||
ignore: /noprotect/g,
|
||||
space: true
|
||||
|
|
Loading…
Reference in a new issue