svgdotjs/svg.import.js

Lack of semicolons causes issues when concatenating

shangxiao opened this issue · 3 comments

The lack of a semicolon after the enclosing function's call() causes issues when concatenated with other js. This is the error I'm receiving on Chrome 27:

"Uncaught TypeError: undefined is not a function"

wout commented

Thanks, it has been fixed.

This still seems to be an issue for me ;) The fix for me was to put the semi-colon at the end.

wout commented

Ah, then it's the script following svg.import.js that needs the semicolon in the beginning :)