-
Notifications
You must be signed in to change notification settings - Fork 73
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
IE11 reports the following problem: Object doesn't support property or method 'assign' #32
Comments
Same error here. Google Chrome. |
I believe react-spinkit is not being transpiled to es5, as a result, you'll need to use |
React Spinkit is written in Coffeescript so kinda has to be transpiled to es5 to work :-) https://github.com/KyleAMathews/react-spinkit/blob/master/src/index.cjsx Requiring a polyfill to use this module does seem silly though. One possible way forward would be to just convert the src to use Babel as it's the Coffee-React transformer that's adding Object.assign. Another way forward would be to add a polyfill similar to KyleAMathews/react-gravatar@ec50674. PRs accepted :-) |
Or replace with lodash.assign. |
I think this was fixed with the ES6/Babel rewrite. |
Does not work IE 11 (Version: 11.0.9600.18097) . Please try loading the demo page and check the console:
http://kyleamathews.github.io/react-spinkit/
Reported by console:
Object doesn't support property or method 'assign'
Part of the code having the problem:
The text was updated successfully, but these errors were encountered: