News for hackers. Stuff that matters.
Re:Mincss "clears the junk out of your CSS" by esamek on Tuesday January 22, 2013 @08:31AM (#5096978)
To echo other sentiments on this page, how does this work with a one page, ajax application?

The other issue, is that it is all to often that user events trigger the adding, subtracting or refactoring selectors.

How does this handle these scenarios?

Re:Mincss "clears the junk out of your CSS" by joshstrange on Tuesday January 22, 2013 @09:01AM (#5097088)
This is exactly the point I was coming to make. I like the idea of Mincss, I have even considered making something like it before, but the problem is that if you are adding and removing dom elements with JS then I doubt this program would be able to correctly identify them all and would accidentally clear out CSS that your site needed.

That said, I am sure that static sites/non-JS intensive sites might be able to use this.

Re:Mincss "clears the junk out of your CSS" by peterbe on Tuesday January 22, 2013 @09:52AM (#5097332)
Sorry for having to say this, but read the article. It explains there the predicament of using (or rather, not using) Javascript and/or complex AJAX.