2015-03-29 01:35:10 +00:00
|
|
|
require.config({
|
|
|
|
baseUrl: "lib",
|
|
|
|
paths: {
|
|
|
|
"leaflet": "../bower_components/leaflet/dist/leaflet",
|
|
|
|
"leaflet.label": "../bower_components/Leaflet.label/dist/leaflet.label",
|
2015-04-09 17:45:00 +00:00
|
|
|
"leaflet.providers": "../bower_components/leaflet-providers/leaflet-providers",
|
2015-03-29 01:35:10 +00:00
|
|
|
"chroma-js": "../bower_components/chroma-js/chroma.min",
|
2016-05-22 13:40:13 +00:00
|
|
|
"moment": "../bower_components/moment/min/moment.min",
|
|
|
|
"moment.de": "../bower_components/moment/locale/de",
|
2016-05-25 23:48:56 +00:00
|
|
|
"tablesort": "../bower_components/tablesort/src/tablesort",
|
2015-03-31 15:22:36 +00:00
|
|
|
"d3": "../bower_components/d3/d3.min",
|
2015-04-02 17:59:07 +00:00
|
|
|
"virtual-dom": "../bower_components/virtual-dom/dist/virtual-dom",
|
2015-04-19 10:22:09 +00:00
|
|
|
"rbush": "../bower_components/rbush/rbush",
|
2016-05-25 22:27:46 +00:00
|
|
|
"helper": "../helper"
|
2015-03-29 01:35:10 +00:00
|
|
|
},
|
|
|
|
shim: {
|
|
|
|
"leaflet.label": ["leaflet"],
|
2015-04-09 17:45:00 +00:00
|
|
|
"leaflet.providers": ["leaflet"],
|
2016-05-22 13:40:13 +00:00
|
|
|
"moment.de": ["moment"],
|
2015-03-29 01:35:10 +00:00
|
|
|
"tablesort": {
|
|
|
|
exports: "Tablesort"
|
2016-05-25 23:48:56 +00:00
|
|
|
}
|
2015-03-29 01:35:10 +00:00
|
|
|
}
|
2016-05-22 11:23:43 +00:00
|
|
|
});
|
2015-03-29 02:35:20 +00:00
|
|
|
|
|
|
|
require(["main", "helper"], function (main) {
|
2016-05-22 11:23:43 +00:00
|
|
|
getJSON("config.json").then(main);
|
|
|
|
});
|