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

jspdf has more than one anonymous define. #1587

Closed
upsson opened this issue Jan 11, 2018 · 2 comments
Closed

jspdf has more than one anonymous define. #1587

upsson opened this issue Jan 11, 2018 · 2 comments

Comments

@upsson
Copy link

upsson commented Jan 11, 2018

Hi!
I'm trying to install jsPDF via "npm install jspdf --save" to an aurelia project, I'm using the lastest version and already tried to use min and debug files, getting the same result.

I'm getting this error in console " jspdf has more than one anonymous define."

I already take a look into issues section and found nothing, the most identical issue was a "requirejs" thing.
error

@Uzlopak
Copy link
Collaborator

Uzlopak commented Jan 11, 2018

Probably something similar to this:
https://www.drupal.org/project/picture/issues/2404145

Then these are probably the code positions which raise the warnings:
https://github.com/MrRio/jsPDF/search?utf8=%E2%9C%93&q=%22if+%28typeof+define+%21%3D%3D+%27undefined%27%29+%7B%22&type=

@Uzlopak
Copy link
Collaborator

Uzlopak commented Feb 19, 2018

Duplicate of #1073

@Uzlopak Uzlopak marked this as a duplicate of #1073 Feb 19, 2018
@Uzlopak Uzlopak closed this as completed Feb 19, 2018
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