2016-07-01 08:25:32 +02:00
|
|
|
require.config({
|
|
|
|
baseUrl: "js",
|
|
|
|
paths: {
|
|
|
|
"leaflet": "../bower_components/leaflet/dist/leaflet",
|
|
|
|
"leaflet.label": "../bower_components/Leaflet.label/dist/leaflet.label",
|
|
|
|
"moment": "../bower_components/moment/min/moment-with-locales.min",
|
2016-07-02 10:23:33 +02:00
|
|
|
"tablesort": "../bower_components/tablesort/tablesort.min",
|
|
|
|
"tablesort.numeric": "../bower_components/tablesort/src/sorts/tablesort.numeric"
|
2016-07-01 08:25:32 +02:00
|
|
|
},
|
|
|
|
shim: {
|
2016-07-05 22:46:11 +02:00
|
|
|
"leaflet.label": ["leaflet"],
|
|
|
|
"tablesort": {
|
|
|
|
exports: "Tablesort"
|
|
|
|
},
|
|
|
|
"tablesort.numeric": ["tablesort"],
|
2016-07-01 08:25:32 +02:00
|
|
|
}
|
2016-07-01 16:01:28 +02:00
|
|
|
});
|
2016-07-01 08:25:32 +02:00
|
|
|
require(["main", "helper/lib"], function (main) {
|
2016-07-01 16:01:28 +02:00
|
|
|
send("GET","config.json").then(main);
|
|
|
|
});
|