es6-shim
es6-shim copied to clipboard
ECMAScript 6 compatibility shims for legacy JS engines
Hi, I have a problem with es6-shim when is using prototype.js. Basically the code is a widget that is injecting in the website. I using es6-shim to fix a compatibility...
https://travis-ci.org/paulmillr/es6-shim/jobs/219557314 ` Error: response: {"error": "Your Sauce Connect version (4.3) is no longer supported. Please download the latest version from https://wiki.saucelabs.com/display/DOCS/Sauce+Connect+Proxy."}.`
In roundHandlesBoundaryConditions, I think the the `-0.5` should be positive in the second half (i.e. `Math.round(-0.5 + (Number.EPSILON / 3.99)) === 1`).
I'm using es6-shim to polyfill Array.find for broswers that don't support it. The issue that I'm having is that some arrays are not being polyfilled. Further investigation reveals that arrays...
Is anybody experiencing this exception in Firefox? ``` TypeError: Array.prototype[H.unscopables] is undefined ``` FF 47.0.1, OS X 10.11.5, es6-shim 0.35.1
Thoughts on this? We almost have ES2016 at this point.
Hi guys, It looks like you're using window.postMessage("zero-timeout-message", ...) to implement an internal enqueue method. This bit me while running unit tests in PhantomJS. We have a message event listener...
Libraries like `prfun` (incidentally recommended in the [`es6-shim` README](https://github.com/paulmillr/es6-shim)) augment the Promise prototype with additional methods. `Promise.promisify` is particularly nice. I just tried incorporating the `es6-shim` into my Node 0.11.13...
If you guys are interested in this, you have some of the better tests in existence, and test262 would benefit from them greatly. Then hopefully stupid things like Safari's non-compliant...
https://github.com/paulmillr/es6-shim/blob/master/es6-shim.js#L161-L174 no longer applies, since as of [Rev 28](http://wiki.ecmascript.org/doku.php?id=harmony:specification_drafts) `@@create` no longer exist. Should we thus remove this function?