[Chameleon] compress Chameleon javascript
Delfos, Jacob
Jacob.Delfos at maunsell.com
Thu May 11 18:45:18 EDT 2006
Dejan,
Take the JS_compress2.zip file I sent yesterday, and extract the two
files to /htdocs/
It means you have to overwrite UIManager.php (make backup :) ). That
should be all.
And make sure that cwc_line.js has a semicolon behind line 10, otherwise
you will get errors. All your ".js" files have to be the latest version.
regards,
Jacob
________________________________
From: chameleon-bounces at lists.maptools.org
[mailto:chameleon-bounces at lists.maptools.org] On Behalf Of Gambin Dejan
Sent: 11 May 2006 17:45
To: chameleon at lists.maptools.org
Subject: RE: [Chameleon] compress Chameleon javascript
Hi,
I have run through your discussion about the modification in
some part of the code....can you shortly explain what do I have to
modify/download to update my Chameleon web site...
thanks very much
dejan
-----Original Message-----
From: chameleon-bounces at lists.maptools.org
[mailto:chameleon-bounces at lists.maptools.org] On Behalf Of Delfos, Jacob
Sent: Thursday, May 11, 2006 9:31 AM
To: Eijnden, B. van den (Bart); Bart van den Eijnden;
chameleon at lists.maptools.org
Subject: RE: [Chameleon] compress Chameleon javascript
Hi Bart,
I have modified the Ka-Map version to work with
Chameleon, though it would require a bit of alternations to Chameleon to
make use of the feature of compressing multiple JavaScript files to one
stream.
I have attached the new file. UIManager.php had to be
changed, because the new getcjs.php expects ".js" extensions.
regards,
Jacob
________________________________
From: Eijnden, B. van den (Bart)
[mailto:b.vdeijnden at agi.rws.minvenw.nl]
Sent: 11 May 2006 14:34
To: Delfos, Jacob; Bart van den Eijnden;
chameleon at lists.maptools.org
Subject: RE: [Chameleon] compress Chameleon
javascript
Hi Jacob,
cool, could you please backfix the missing
semi-colon to the 2.4 branch?
Also, the ka-map script removes comments and
whitespace, but also sends the javascript gzip compressed. You should
check that one out (I have attached it), I am sure you can get it to go
be around 50 Kb.
Best regards,
Bart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/chameleon/attachments/20060512/25894e70/attachment-0001.html
More information about the Chameleon
mailing list