fix spurious Javascript errors, by specifying dependency ordering
This commit is contained in:
parent
2f2e7d1668
commit
13543bf2d8
|
@ -8,6 +8,11 @@ require.config({
|
||||||
"tablesort.numeric": "../bower_components/tablesort/src/sorts/tablesort.numeric"
|
"tablesort.numeric": "../bower_components/tablesort/src/sorts/tablesort.numeric"
|
||||||
},
|
},
|
||||||
shim: {
|
shim: {
|
||||||
|
"leaflet.label": ["leaflet"],
|
||||||
|
"tablesort": {
|
||||||
|
exports: "Tablesort"
|
||||||
|
},
|
||||||
|
"tablesort.numeric": ["tablesort"],
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
require(["main", "helper/lib"], function (main) {
|
require(["main", "helper/lib"], function (main) {
|
||||||
|
|
Loading…
Reference in New Issue