OpenLayers OpenLayers

Ticket #617 (closed feature: fixed)

Opened 2 years ago

Last modified 2 years ago

Format/WKT breaks jsmin

Reported by: crschmidt Assigned to:
Priority: minor Milestone: 2.4 Release
Component: general Version:
Keywords: Cc:
State:

Description

jsmin doesn't work with Format/WKT, complaining of an unclosed regex.

Attachments

jsmin.py.patch (0.5 kB) - added by fredj on 04/02/07 08:25:56.
sync jsmin.py with jsmin.c

Change History

04/02/07 08:14:39 changed by fredj

in jsmin.py line 109:

action recognizes a regular expression if it is preceded by ( or , or =.

but in Format/WKT, regular expression are preceded by a :

04/02/07 08:25:56 changed by fredj

  • attachment jsmin.py.patch added.

sync jsmin.py with jsmin.c

04/02/07 08:32:52 changed by fredj

attachment:"jsmin.py.patch" should fix it.

jsmin.py was not synchronized with jsmin.c, see source:trunk/openlayers/tools/jsmin.c line 158-159

04/02/07 08:59:57 changed by crschmidt

  • status changed from new to closed.
  • resolution set to fixed.

Thanks: it looks like this was already fixed upstream, so I've just updated our local copy to be the same as the upstream copy.