Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Enhancement refactor element.style #2414
Don't merge. It's no where near done. Just wanted to get some feedback.
A couple of things.
Also why not just keep https://github.com/mootools/mootools-core/blob/cb327bf3/Source/Element/Element.Style.js#L216-232 which is a bit shorter.
The reason I unrolled the https://github.com/mootools/mootoolscore/blob/cb327bf3/Source/Element/Element.Style.js#L216-232 is simply that it wasn't easy to read.
My logic is that we're no longer in 2000 when JS compilers were non-existant and that most people didn't bother to gzip .. CDNs are prolific now.
Lastly, I'm not done with
I have some ideas with increased effort: