[Chameleon] compress Chameleon javascript

Eijnden, B. van den (Bart) b.vdeijnden at agi.rws.minvenw.nl
Fri May 12 09:14:19 EDT 2006


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
<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
<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
<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
<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/0358b3da/attachment.html


More information about the Chameleon mailing list