replace Intl.NumberFormat with numeraljs

This commit is contained in:
Nils Schneider 2015-04-02 02:33:17 +02:00
commit 141e98f027
7 changed files with 13 additions and 14 deletions

View file

@ -1,5 +1,5 @@
define(["config", "moment", "router", "leaflet", "gui"],
function (config, moment, Router, L, GUI) {
define(["config", "moment", "router", "leaflet", "gui", "numeral"],
function (config, moment, Router, L, GUI, numeral) {
return function () {
function handleData(data) {
var nodes = Object.keys(data[0].nodes).map(function (key) { return data[0].nodes[key] })
@ -77,7 +77,9 @@ function (config, moment, Router, L, GUI) {
}
}
numeral.language("de")
moment.locale("de")
var router = new Router()
var urls = [ config.dataPath + "nodes.json",