liuweireign / tectonicus

Automatically exported from code.google.com/p/tectonicus
0 stars 0 forks source link

blockStats.js count number content was created with a wrong formatting #24

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
This was initially reported on the Tectonicus BetaEasy site.

Issue:
The content of the blockStats.js was created in a way rendering it invalid 
Javascript.

The output for the "counter" value is using regional Settings for formatting 
the number. In my case, the number grouping char is the same character as the 
start and end character of the value which renders the value invalid javascript:

var Map0_blockStats=[

{

count: '864'176'950',

name: "Air"

},

Original issue reported on code.google.com by skoeven on 25 Jun 2013 at 8:14

GoogleCodeExporter commented 9 years ago
Well, you learn something new every day.  Apparently, the apostrophe is used as 
the thousands separator in Switzerland and Liechtenstein.

Original comment by skoeven on 25 Jun 2013 at 8:23

GoogleCodeExporter commented 9 years ago
This is now fixed.

Original comment by skoeven on 26 Jun 2013 at 1:55