-
Notifications
You must be signed in to change notification settings - Fork 10
SyntaxError: Block-scoped declarations (let, const, function, class) not yet sup ported outside strict mode #4
Comments
please use 'use strict' on the first line of your code. |
Hi, I am also experiencing the same issue (see this ticket: allenhwkim/angular-jsdoc#86). All of my files contain 'use strict' at the top, and compilation worked before a recent update. I have reduced my code to one file as below. Any ideas?
|
+1 Hi, I meet the same error... |
I am also having the same issue. |
The same issue also occurs in my project. All sources have strict mode enabled via 'use strict'; EDIT: I just tried and went back to angular-template@2.0.3 - there the error message is not displayed. |
@FDIM, can you take a look at this issue? Difference between 2.0.3 and 2.0.9.. I briefly took a look at it and I could not find any bad code. |
+1 Same error for me. |
Looking into, but I can't really understand why something like that would happen. Will update soon. |
See this PR: allenhwkim/angular-jsdoc#89 |
I am generating documentation with
angular-jsdoc
with gulp. I am successfully able to generate docs with default template but following issue comes withangular-template
The text was updated successfully, but these errors were encountered: