Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't include module #21

Open
stonecrafter opened this issue Apr 30, 2016 · 3 comments
Open

Can't include module #21

stonecrafter opened this issue Apr 30, 2016 · 3 comments

Comments

@stonecrafter
Copy link

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!

@stonecrafter
Copy link
Author

Well it works with 1.0.3.

@alferov
Copy link
Owner

alferov commented Jul 5, 2016

Hey @fromtheothershore, sorry for the delay.
Could you update the package to the latest version and test it once again?

@stonecrafter
Copy link
Author

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants