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