horsey
horsey copied to clipboard
Out-of-date browser support
Browser support includes every sane browser and IE7+.
I believe this statement in the README is incorrect. Even in the horsey.es5.js
file, the ES6 Symbol
is being used without a polyfill. Because of this, among other issues, horsey does not work on any version of IE.
Also, I believe IE11 is barfing on this throw
with error Object expected
:
https://github.com/bevacqua/horsey/blob/master/dist/horsey.js#L434
try -> catch -> finally -> try -> finally -> throw
( ⧉ ⦣ ⧉ )
The culprit might be the for (... of ...)
loop here https://github.com/bevacqua/horsey/blob/b975868e64b094b9369ed8722e508ed2b8cf3b37/horsey.js#L364 which looks like it's being transformed with babel or something to provide the feature with ES5.
This also seems to be related https://github.com/babel/babel/issues/4451.
Specifically https://github.com/babel/babel/issues/4451#issuecomment-245415431 which looks similar to the bundled output.