[ka-Map-dev] [Bug 1333] New: [ka-map] getcjs.php fails with
prototype style functions that lack trailing semi-colon
bugzilla-daemon at bugzilla.maptools.org
bugzilla-daemon at bugzilla.maptools.org
Wed Mar 8 22:32:58 EST 2006
http://bugzilla.maptools.org/show_bug.cgi?id=1333
Summary: [ka-map] getcjs.php fails with prototype style functions
that lack trailing semi-colon
Product: ka-Map
Version: 0.2
Platform: Macintosh
OS/Version: All
Status: NEW
Severity: normal
Priority: P1
Component: core
AssignedTo: ka-map-dev at lists.maptools.org
ReportedBy: pspencer at dmsolutions.ca
getcjs.php is used to compress javascript by removing comments and extraneous
white-space. It is designed to be used with existing javascript files as-is.
Unfortunately, it is not being actively used and when the coding style was
changed to use the prototype style of adding functions to objects, it broke
getcjs compressed javascript. The problem is that functions declared using
prototype need a trailing semi-colon as in:
kaMap.prototype.blah = function() {
//blah
};
Most of the code in the various javascript files lacks this trailing semi-colon.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
Please do NOT reply to this email, use the link above instead to
login to bugzilla and submit your comment. Any email reply to this
address will be lost.
More information about the ka-Map-dev
mailing list