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

IE <= 10 support. #235

Merged
merged 1 commit into from
Oct 17, 2016
Merged

IE <= 10 support. #235

merged 1 commit into from
Oct 17, 2016

Conversation

dettier
Copy link
Contributor

@dettier dettier commented Oct 11, 2016

This PR fixes #215 and returns IE <=10 support.
I turned on loose mode and added transform-proto-to-assign transform.
This is pretty safe to do for this library as it doesn't rely on that specs that are loosened.
As a side-effect bundle size went down 12%.

PS. If you extend ReactLeaflet classes in IE10 you still need to manualy "inherit" static properties:

// for IE9 & IE10 support
static contextTypes = BaseClass.contextTypes;
static childContextTypes = BaseClass.childContextTypes;

@PaulLeCam PaulLeCam merged commit 7ee4538 into PaulLeCam:master Oct 17, 2016
@PaulLeCam
Copy link
Owner

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.

The library is not working with IE10 , v0.12.1 , but v0.11.7 is fine
2 participants