]> code.delx.au - gnu-emacs-elpa/blobdiff - js2-mode.el
Allow space before global declaration
[gnu-emacs-elpa] / js2-mode.el
index b2efce007d3d0f5590596e28a470874a26d07b12..e804fbbb1c0f1c3a3c640f02857d6bb8631db085 100644 (file)
@@ -7264,7 +7264,7 @@ are ignored."
            when (and (eq 'block (js2-comment-node-format node))
                      (save-excursion
                        (goto-char (js2-node-abs-pos node))
-                       (looking-at "/\\*global ")))
+                       (looking-at "/\\* *global ")))
            append (js2-get-jslint-globals-in
                    (match-end 0)
                    (js2-node-abs-end node))))