This commit is contained in:
Cassie Tarakajian 2018-02-01 17:16:54 -05:00 committed by GitHub
parent 6cd71acb81
commit d2b7f75cfd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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