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

Examples: Modularize JSZip. #19201

Merged
merged 1 commit into from
Apr 25, 2020
Merged

Examples: Modularize JSZip. #19201

merged 1 commit into from
Apr 25, 2020

Conversation

Mugen87
Copy link
Collaborator

@Mugen87 Mugen87 commented Apr 23, 2020

This should fix some ongoing troubles with JSZip. From now on, the loaders in the jsm directory and thus the examples use the module version of JSZip.

In this way, no global import is necessary anymore:tada:. Meaning, the three.js version will not clash with more modern versions of JSZip after this change. The module version represents JSZip in version 2.6.0 which was the last version which a sync interface.

The PR changes some bits in the editor as well as 3MFLoader, AMFLoader and KMZLoader.

@Mugen87 Mugen87 changed the title Exampels: Modularize JSZip. Examples: Modularize JSZip. Apr 23, 2020
@mrdoob mrdoob added this to the r116 milestone Apr 25, 2020
@mrdoob mrdoob merged commit 22749d1 into mrdoob:dev Apr 25, 2020
@mrdoob
Copy link
Owner

mrdoob commented Apr 25, 2020

Nice! Thanks!

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

Successfully merging this pull request may close these issues.

None yet

2 participants