-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Description
I'm running code in Meteor, and I get
Uncaught SyntaxError: Unexpected token )
from the processIncludes function.
This is because Meteor appends a commented line number to all source code, even from node_modules, so for example
function foo() {
blah()
}becomes
function foo() { // 1
blah() // 2
} // 3When processIncludes concatenates the lines of the input, the comments cause the remainder of the function to be commented out, for example:
function foo() { // 1 blah() // 2 } // 3See here for more details: meteor/meteor#9160
Metadata
Metadata
Assignees
Labels
No labels