ESMin
ESMin copied to clipboard
Add cross-browser support
I was thinking about using something like Babel, but I can't seem to get it to work.
I've transpiled it in my fork but the problem seems to be is that you're using property names that aren't actually valid in ES5 / other browsers. My best recommendation is to specifically map each property name to it's shorthand or filter them through something like a RegEx. I'll see if I can get something working
Wow, nice regex. That has to be golfable :) .
So that's why it wasn't right in my test runs on Chrome. Thanks!
Okay, ESMin now runs fine in Webkit Nightly. Chrome still errors though.
WebKit Nightly has 100% ES6 support, something is wrong very if it wouldn't work... :P
Yeah, but Chrome Canary errors, and it has 100% ES6 support.
... you should seriously not be dynamically generating property <-> character assignments
I don't think that's the problem.
my guess it's unicode prop names.
OH MY GOD I GOT CHROME TO WORK. YESSSSSSSSSSSSSSSS...
IT WORKS!!!