Problem with ResourceLoader JS minification when using OpenLayers
Closed, ResolvedPublic

Description

It appears that the Javascript minimization of the Resource Loader works incorrectly for Javascript from the OpenLayers application (which is used by the Semantic Maps extension). See here:

http://mapping.referata.com/wiki/OpenLayers_examples

The Javascript error seems to come from the fact that the value "8.58306884765625E-5" gets turned into:

8.58306884765625E
-5

...and the major browsers don't understand that. I'm guessing that the minimizer considers "-" to be a safe character to put a newline before, but that's not the case here.

By the way, as you might expect, with debugging on, the JS works fine:

http://mapping.referata.com/wiki/OpenLayers_examples?debug=true


Version: unspecified
Severity: major

Details

Reference
bz34048
bzimport set Reference to bz34048.
bzimport added a subscriber: Unknown Object (MLST).
  • This bug has been marked as a duplicate of bug 32548 ***

Add Comment