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

Update babel-standalone to latest version #23

Open
codewithmichael opened this issue Jul 13, 2016 · 0 comments
Open

Update babel-standalone to latest version #23

codewithmichael opened this issue Jul 13, 2016 · 0 comments

Comments

@codewithmichael
Copy link
Owner

codewithmichael commented Jul 13, 2016

The babel-standalone project was updated to version 6.10.3 to match the Babel version. It would be preferable to stay up-to-date with them.

Unfortunately, version 6.10.3 includes a conflicting feature (babel/babel-standalone#15) whereby it parses <script type="text/babel"> tags on DOMContentLoaded.

This can be hacked around by temporarily intercepting window.addEventListener(), but this kind of hack is fragile and bound to break with a future release.

I have put in a feature request for a method to remove the event listener (babel/babel-standalone#39).

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

1 participant