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

bzimport added a subscriber: wikibugs-l.
bzimport set Reference to bz34048.
Yaron_Koren created this task.Via LegacyJan 30 2012, 6:10 PM
Schnark added a comment.Via ConduitFeb 1 2012, 8:50 AM
  • This bug has been marked as a duplicate of bug 32548 ***

Add Comment