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

add chevrotain as dependency to VRMLLoader module #16841

Merged
merged 1 commit into from
Jun 20, 2019

Conversation

palortoff
Copy link
Contributor

No description provided.

@Mugen87
Copy link
Collaborator

Mugen87 commented Jun 19, 2019

You can remove the following line since it should not be necessary anymore after your change:

<script src="js/libs/chevrotain.min.js"></script>

@palortoff palortoff force-pushed the add-chevrotain-lib branch from ea3065c to 2e173c5 Compare June 19, 2019 15:18
@palortoff
Copy link
Contributor Author

Done :)

@Mugen87
Copy link
Collaborator

Mugen87 commented Jun 19, 2019

Um, it seems the example does not work anymore:

https://raw.githack.com/palortoff/three.js/add-chevrotain-lib/examples/webgl_loader_vrml.html

@Mugen87
Copy link
Collaborator

Mugen87 commented Jun 19, 2019

@palortoff Are you aware that libraries need ES6 builds so they can be imported via ES6 import statements?

@Mugen87 Mugen87 changed the title add chevrotain as dependency to VTMLLoader module add chevrotain as dependency to VRMLLoader module Jun 19, 2019
@palortoff palortoff force-pushed the add-chevrotain-lib branch 2 times, most recently from 1859b8d to f1d951b Compare June 20, 2019 11:05
@palortoff
Copy link
Contributor Author

Sorry, I missed that. Now there is an ES6 export.

@palortoff palortoff force-pushed the add-chevrotain-lib branch from f1d951b to 049ae1e Compare June 20, 2019 17:09
@mrdoob mrdoob added this to the r106 milestone Jun 20, 2019
@mrdoob mrdoob merged commit 00c6b1b into mrdoob:dev Jun 20, 2019
@mrdoob
Copy link
Owner

mrdoob commented Jun 20, 2019

Thanks!

@gkjohnson
Copy link
Collaborator

Maybe it's worth putting an issue into the chevrotain repo to provide an es6 module so it doesn't have to be modified manually?

@Mugen87
Copy link
Collaborator

Mugen87 commented Jun 21, 2019

Done: Chevrotain/chevrotain#976

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.

4 participants