ezsystems/ezjscore — pull request #10 by jdespatis (2011-12-20 16:23:47+00:00)
Title: setting default packLevel (the less agressive, the most secure)

several remarks that shows this commit might be interesting:

1/ it's easier for a developer to use that function (only 1 arg instead 2 mandatory args)
2/ packLevel may disappear in the future (as now it's possible to use whatever css/js optimizer we want), so ezjscore should avoid to force developer to set it
3/ possible to use HTML minifiers and give those optimizers as callback, for minifying inline css and js, that way, the HTML minifier will call the callback and give the inline css or js as first arg (for now, eZ yells because the second arg is missing)

What do you think about this André?