fix spurious Javascript errors, by specifying dependency ordering

This commit is contained in:
Oliver Gerlich 2016-07-05 22:46:11 +02:00
parent 2f2e7d1668
commit 13543bf2d8
1 changed files with 5 additions and 0 deletions

View File

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