[kupu-dev] Kupu 1.4 beta 3
Florian Schulze
florian.schulze at gmx.net
Wed Dec 27 13:36:48 CET 2006
On Fri, 22 Dec 2006 20:20:32 +0100, Alexander Limi
<limi at plone.org> wrote:
> On Fri, 22 Dec 2006 07:04:18 -0800, Duncan Booth
> <duncan.booth at suttoncourtenay.org.uk> wrote:
>
>> - The javascript files used by Plone (and some of the other ones)
>> now run through jslint without warnings. This means they can be
>> compressed by programs which remove line endings in an unsafe
>> manner.
>
> Yay! Thanks, Duncan! This will make Kupu more lightweight for our users
> in
> Plone 3.0. :)
Hi!
It will probably only help marginally. My packer (unlike Dean Edwards) is
clever enough to keep newlines where they are unsafe to remove ("safe"
compression is named like that for a reason :) ). Most of the time you add
a semicolon to allow safe removal of the newline, but that's the same
amount of bytes (one) except on DOS and Windows :)
But it's generally good to have linted JavaScript, as it's more likely
that unlinted js fails to pack than linted.
Regards,
Florian Schulze
More information about the kupu-dev
mailing list