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 support for non-es5 compatible browsers #87

Merged
merged 1 commit into from
Jul 28, 2016

Conversation

dpiatek
Copy link
Contributor

@dpiatek dpiatek commented Jul 26, 2016

Hi @cookpete ! This adds two babel plugins that will make it possible to run non-dist code in non-es5 compatible environments. As far as I can tell this has no further effect on the codebase (tests passed fine locally).

http://babeljs.io/docs/plugins/transform-es3-member-expression-literals/
http://babeljs.io/docs/plugins/transform-es3-property-literals/

Signed-off-by: Dominik Piatek <do.piatek@gmail.com>
@cookpete
Copy link
Owner

Hi @dpiatek, what is the reserved word that causes problems? I wonder if it will be cleaner to refactor the code to prevent the errors.

@dpiatek
Copy link
Contributor Author

dpiatek commented Jul 28, 2016

The keyword in question is default and it's part of the module transpilation bit in lib.

@cookpete
Copy link
Owner

Ah ok so it's a problem with babel's output itself, not the codebase. I've just read more about it here. Thanks for the PR!

@cookpete cookpete merged commit 266536b into cookpete:master Jul 28, 2016
@dpiatek
Copy link
Contributor Author

dpiatek commented Jul 29, 2016

thanks @cookpete - and for open sourcing this as well!

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