svgdotjs / svg.import.js

A plugin for importing raw SVG into the svg.js library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Lack of semicolons causes issues when concatenating

shangxiao opened this issue · 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"

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.

commented

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