bgrins / spectrum

The No Hassle JavaScript Colorpicker
https://bgrins.github.io/spectrum/
MIT License
2.32k stars 588 forks source link

Interested in updating to ES6? #412

Open hlfcoding opened 8 years ago

hlfcoding commented 8 years ago

Just seeing if there's interest for a PR converting the codebase to ES6, transpiled by Babel.

bgrins commented 8 years ago

I've thought about this too, but I've always preferred to keep it simple so that people can download the zip and run it / modify it right out of the folder without needing to install any build tools. Maybe that could still be done (at least the 'run it' part) by including a built version of the script in the project

KnightYoshi commented 8 years ago

I support this. I find ES6 way easier to work with. Sure if the person wanted to change it they would have to use Babel for ES5 compatibility, but I think that trade off is worth it.

mscreenie commented 8 years ago

Not sure I'd agree. Edge cases like mine - I am using a desktop shell that runs on Chrome 41. Granted it's old and will be updated soon but I can think of a few massive projects that are using this types of setups. Transpiling is nice but having it running off the bat is even better.