[TASK] Only add german language from numeral.js

This commit is contained in:
Xaver Maierhofer 2016-05-24 00:23:35 +02:00 committed by Xaver Maierhofer
parent ba15956bb7
commit 2e45276922
2 changed files with 4 additions and 4 deletions

6
app.js
View File

@ -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"]
}
});

View File

@ -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) {