From 136157eb37b3f885045d5b8c05e51408214636cb Mon Sep 17 00:00:00 2001 From: Xaver Maierhofer Date: Tue, 24 May 2016 00:23:35 +0200 Subject: [PATCH] [TASK] Only add german language from numeral.js --- app.js | 6 +++--- lib/proportions.js | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app.js b/app.js index 8ae6bb1..f08f023 100644 --- a/app.js +++ b/app.js @@ -11,7 +11,7 @@ require.config({ "tablesort.number": "../bower_components/tablesort/src/sorts/tablesort.number", "d3": "../bower_components/d3/d3.min", "numeral": "../bower_components/numeraljs/min/numeral.min", - "numeral-intl": "../bower_components/numeraljs/min/languages.min", + "numeral.de": "../bower_components/numeraljs/min/languages/de.min", "virtual-dom": "../bower_components/virtual-dom/dist/virtual-dom", "rbush": "../bower_components/rbush/rbush", "helper": "../helper", @@ -24,12 +24,12 @@ require.config({ "tablesort": { exports: "Tablesort" }, - "numeral-intl": { + "numeral.de": { deps: ["numeral"], exports: "numeral" }, "tablesort.number": ["tablesort"], - "helper": ["numeral-intl"] + "helper": ["numeral.de"] } }); diff --git a/lib/proportions.js b/lib/proportions.js index 8523165..9d9b2e7 100644 --- a/lib/proportions.js +++ b/lib/proportions.js @@ -1,4 +1,4 @@ -define(["chroma-js", "virtual-dom", "numeral-intl", "filters/genericnode", "vercomp"], +define(["chroma-js", "virtual-dom", "numeral.de", "filters/genericnode", "vercomp"], function (Chroma, V, numeral, Filter, vercomp) { return function (config, filterManager) {