[TASK] Only add german language from numeral.js
This commit is contained in:
parent
d367bf58bf
commit
136157eb37
6
app.js
6
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"]
|
||||
}
|
||||
});
|
||||
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue