hopglass/app.js

31 lines
992 B
JavaScript
Raw Normal View History

2016-05-27 23:59:01 +02:00
"use strict";
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",
"chroma-js": "../bower_components/chroma-js/chroma.min",
"moment": "../bower_components/moment/min/moment.min",
"moment.de": "../bower_components/moment/locale/de",
"tablesort": "../bower_components/tablesort/src/tablesort",
2015-03-31 17:22:36 +02:00
"d3": "../bower_components/d3/d3.min",
"virtual-dom": "../bower_components/virtual-dom/dist/virtual-dom",
"rbush": "../bower_components/rbush/rbush",
2017-03-18 15:33:49 +01:00
"helper": "utils/helper"
},
shim: {
"leaflet.label": ["leaflet"],
2015-04-09 19:45:00 +02:00
"leaflet.providers": ["leaflet"],
"moment.de": ["moment"],
"tablesort": {
exports: "Tablesort"
}
}
});
2015-03-29 04:35:20 +02:00
2017-03-18 15:33:49 +01:00
require(["main", "helper"], function (main, helper) {
helper.getJSON("config.json").then(main);
});