meteor-jsdoc icon indicating copy to clipboard operation
meteor-jsdoc copied to clipboard

Support nested import statements

Open workflow opened this issue 9 years ago • 2 comments

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 avatar Sep 01 '16 14:09 workflow

@workflow try with my pull request #49 ;)

emilianosantucci avatar Oct 16 '16 10:10 emilianosantucci

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

workflow avatar Dec 30 '16 22:12 workflow