[Chameleon] compress Chameleon javascript

Dejan Gambin dejan.gambin at pula.hr
Fri May 12 13:37:37 EDT 2006


Well no. It is the previous version with some modified/customized
widgets....and just because of those customizations I didn't want to upgrade
since the site is "in production" so I didn't like to take a risk.
 
Do I need to have 2.4? May I use just some 2.4 files?
 
thanks, dejan

-----Original Message-----
From: Eijnden, B. van den (Bart) [mailto:b.vdeijnden at agi.rws.minvenw.nl] 
Sent: Friday, May 12, 2006 3:14 PM
To: 'Gambin Dejan'; chameleon at lists.maptools.org
Subject: RE: [Chameleon] compress Chameleon javascript


Which Chameleon version are you trying this on? 2.4?
 
Best regards,
Bart

-----Oorspronkelijk bericht-----
Van: chameleon-bounces at lists.maptools.org
[mailto:chameleon-bounces at lists.maptools.org]Namens Gambin Dejan
Verzonden: vrijdag 12 mei 2006 15:04
Aan: chameleon at lists.maptools.org
Onderwerp: RE: [Chameleon] compress Chameleon javascript


Hi list,
 
I have tried to "enable" this compressing you have been talking about. I
took JS_compress2.zip file Jacob sent yesterday, replaced the existing
UIManager.php and placed the getcjs.php on the same place. I have also
addede the semicolon to cwc_line.js on line 10.
 
When trying to open my main page (index.phtml) the map doesn't show and I
get JavaScript errors:
 
Error: gMapWhspc is not defined
Source File: http://213.202.70.68/chameleon/samples/index.phtml
Line: 54
 
Error: CWCDHTML_GetImage is not defined
Source File: http://213.202.70.68/chameleon/samples/sample.js
Line: 59
 
Error: CWCApplication is not defined
Source File: http://213.202.70.68/chameleon/samples/index.phtml
Line: 248
 
Error: MapLayerDivImgOnLoad is not defined
Source File: http://213.202.70.68/chameleon/samples/index.phtml
Line: 2309
 
Any help? Jacob said something about "all .js files have to be the latest
version"...is this maybe a problem? What does it mean?
 
thanks very much
 
dejan


Disclaimer
************************************************************************ Aan
dit bericht kunnen geen rechten worden ontleend. Dit bericht is uitsluitend
bestemd voor de geadresseerde. Als u dit bericht per abuis hebt ontvangen,
wordt u verzocht het te vernietigen en de afzender te informeren. Wij
adviseren u om bij twijfel over de juistheid of de volledigheid van de mail
contact met afzender op te nemen. This message shall not constitute any
rights or obligations. This message is intended solely for the addressee. If
you have received this message in error, please delete it and notify the
sender immediately. When in doubt whether this message is correct or
complete, please contact the sender.
************************************************************************ 


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/chameleon/attachments/20060512/7f8950a3/attachment.html


More information about the Chameleon mailing list