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