meteor-jsdoc
meteor-jsdoc copied to clipboard
Support nested import statements
Hey there and thanks for this package!
Here's the problem: Doc builds are currently failing on any files that sport nested @import declarations, a new feature added in recent meteor versions. Example error:
ERROR: Unable to parse /opt/web/imports/api/companyInvestors/methods.js: Line 266: Illegal import declaration"
An upgrade to Meteor 1.3.5.1 (or higher) will fix this.
@workflow try with my pull request #49 ;)
@emilianosantucci Thx for the pull request!
Contrary to what I would have expected, the problem persists with recent meteor versions. Could be a problem with jsdoc itself, or maybe ejs, since using nested @import declarations isn't valid ES6 (but valid Meteor).