css icon indicating copy to clipboard operation
css copied to clipboard

investigate ways of shrinking the filesize

Open matthewmueller opened this issue 12 years ago • 8 comments

Right now it's 15.20kb. Not too bad, but a lot of the functions are only used once.

Also, we might not need to support everything that jQuery 2.x supports or maybe not need to handle obscure bugs that people don't usually run into.

matthewmueller avatar Jan 03 '14 12:01 matthewmueller

what browsers are you targeting? I would love to help out with this:D I've been thinking of doing something similar for a while, but haven't gotten around to it. CSS has been the only reason I sometimes find myself missing jQuery.

eivindfjeldstad avatar Jan 22 '14 08:01 eivindfjeldstad

@eivindfjeldstad that'd be great. For the product we've been building, were supporting IE9+ and for every other browser, the most current and 1 previous version.

matthewmueller avatar Jan 22 '14 11:01 matthewmueller

hrrrm yea dom itself was less than 15 i think haha, i forget now

tj avatar Jan 25 '14 06:01 tj

nvm 28, not sure where it's at now

tj avatar Jan 25 '14 06:01 tj

Tempted to replace this implementation with ianstormtaylor/css. I feel like I made a mistake porting jQuery.css to this library. Rather than fix ALL THE BUGS we can start small and build back up as we need to.

This change may have downstream effects on component/dom users.

Thoughts @owners?

matthewmueller avatar Nov 18 '14 22:11 matthewmueller

+1 i love rewrites

jonathanong avatar Nov 18 '14 22:11 jonathanong

If a rewrite is planned, one or both of these may prove useful.

https://www.npmjs.org/package/dom-css https://www.npmjs.org/package/prefix-style

mattdesl avatar Dec 07 '14 17:12 mattdesl

cool, we should probably just be using dom-css.

matthewmueller avatar Aug 05 '15 00:08 matthewmueller