[Chameleon] compress Chameleon javascript

Bart van den Eijnden BEN at Syncera-ITSolutions.NL
Wed Jul 20 10:31:46 EDT 2005


Okay, this probably needs fixing in the CWCJSAPI.js file instead of the php script.

The CWCJSAPI.js file contains stuff like:

    this.units = 3 //meter

    this.zoomfactor = 2;

Which goes okay when there is a return at the end, but not if it is on one line in the compressed js file.

I will try to update the CVS version of cwcjsapi and add ; consequently everywhere.

Best regards,
Bart

Bart van den Eijnden
Syncera IT Solutions
Postbus 270
2600 AG  DELFT

tel.nr.: 015-7512436
email: BEN at Syncera-ITSolutions.nl
>>> Bart van den Eijnden 07/20/05 16:27 PM >>>
Paul,

just realized I am missing a lot of ; in the cwcjsapi.js file which causes many js errors.

Do you have an update already of the script which fixes this before I dive into it myself :-) ?

Best regards,
Bart

Bart van den Eijnden
Syncera IT Solutions
Postbus 270
2600 AG  DELFT

tel.nr.: 015-7512436
email: BEN at Syncera-ITSolutions.nl
>>> "Bart van den Eijnden" <BEN at syncera-itsolutions.nl> 07/20/05 16:14 PM >>>
Bart van den Eijnden
Syncera IT Solutions
Postbus 270
2600 AG  DELFT

tel.nr.: 015-7512436
email: BEN at Syncera-ITSolutions.nl



More information about the Chameleon mailing list