3 ms·
Nice, and built by Square! Now my only issue is IE8. If I could have something like this but that allowed ES5 to run on ES4 engines, I'd be in heaven (and able
by girvo 12y ago
Nice, and built by Square!
Now my only issue is IE8. If I could have something like this but that allowed ES5 to run on ES4 engines, I'd be in heaven (and able to use Vue.js for work, finally, as well as not being stuck on Angular 1.2 or whatever it is...).
One of these days I'm going to get stuck into Sweet.js and make it happen, I swear. ES5-shim just isn't comprehensive enough, unfortunately.
- SimeVidas 12y agoI don't see anything substantial missing from ES5-shim. Which APIs are you missing?
- girvo 12y agoObject.defineProperty along with a number of ES5 Object methods that don't work at all, or don't work correctly. Because IE8 includes it's own horrid implementation that only works on DOM elements, the various shims for it fail (and fail in some really interesting ways). Using Sweet.js macros and compiling it out to a differently named method call would allow us to get around that limitation.