Can't include module
Opened this issue · 3 comments
I hope I'm missing something blatantly obvious. But I installed 1.1.1 with bower and included ngFileSaver
as a dependency in my app. Then, I get this error in Chrome:
Uncaught SyntaxError: Unexpected token ( angular-file-saver.bundle.js:11
And this one in Firefox:
SyntaxError: function statement requires a name angular-file-saver.bundle.js:13:17
I've not encountered this kind of issue when including any other package before so thought I would ask to be sure. And the line numbers are one off from the source because all js files are wrapped in a function() {}
as a part of the build process.
Thanks!
Well it works with 1.0.3.
Hey @fromtheothershore, sorry for the delay.
Could you update the package to the latest version and test it once again?
Nope, it's still doing that.
Could well be some quirks specific to my project that's interfering, if no one else is having the same issue. I'm okay using 1.0.3 for now. But thanks for looking into it!