
Hi Dne Mon, 12 Apr 2010 16:47:49 +0200 Michal Čihař <michal@cihar.com> napsal(a):
Dne Sun, 11 Apr 2010 10:21:57 -0400 Marc Delisle <marc@infomarc.info> napsal(a):
So we should put compressed and uncompressed libs in the tree, implement a mechanism in the loading process (js_include) so that the uncompressed one is loaded when a developer needs it, and tweak the release mechanism to remove the uncompressed ones in the release kit?
I think best approach would be to include not compressed JS in the tree and compress all of it (including our own code) when creating a release. To obey GPL, also the original form should be included in the tarball.
I've just pushed this approach to master. I mean compressing JS on release, not replacing jQuery with non compressed versions. To compress js just run scripts/compress-js, you need to have Java installed for that. -- Michal Čihař | http://cihar.com | http://blog.cihar.com