freifunkmanager/js/app.js

21 lines
619 B
JavaScript
Raw Normal View History

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: {
"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);
});