[TASK] Only add german language from numeral.js
This commit is contained in:
parent
ba15956bb7
commit
2e45276922
6
app.js
6
app.js
@ -11,7 +11,7 @@ require.config({
|
|||||||
"tablesort.number": "../bower_components/tablesort/src/sorts/tablesort.number",
|
"tablesort.number": "../bower_components/tablesort/src/sorts/tablesort.number",
|
||||||
"d3": "../bower_components/d3/d3.min",
|
"d3": "../bower_components/d3/d3.min",
|
||||||
"numeral": "../bower_components/numeraljs/min/numeral.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",
|
"virtual-dom": "../bower_components/virtual-dom/dist/virtual-dom",
|
||||||
"rbush": "../bower_components/rbush/rbush",
|
"rbush": "../bower_components/rbush/rbush",
|
||||||
"helper": "../helper",
|
"helper": "../helper",
|
||||||
@ -24,12 +24,12 @@ require.config({
|
|||||||
"tablesort": {
|
"tablesort": {
|
||||||
exports: "Tablesort"
|
exports: "Tablesort"
|
||||||
},
|
},
|
||||||
"numeral-intl": {
|
"numeral.de": {
|
||||||
deps: ["numeral"],
|
deps: ["numeral"],
|
||||||
exports: "numeral"
|
exports: "numeral"
|
||||||
},
|
},
|
||||||
"tablesort.number": ["tablesort"],
|
"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) {
|
function (Chroma, V, numeral, Filter, vercomp) {
|
||||||
|
|
||||||
return function (config, filterManager) {
|
return function (config, filterManager) {
|
||||||
|
Loading…
Reference in New Issue
Block a user