hopglass/app.js
Nils Schneider 35c4690ad6 statistics
2015-03-30 02:58:47 +02:00

26 lines
768 B
JavaScript

require.config({
baseUrl: "lib",
paths: {
"leaflet": "../bower_components/leaflet/dist/leaflet",
"leaflet.label": "../bower_components/Leaflet.label/dist/leaflet.label",
"chroma-js": "../bower_components/chroma-js/chroma.min",
"moment": "../bower_components/moment/min/moment-with-locales.min",
"tablesort": "../bower_components/tablesort/tablesort.min",
"tablesort.numeric": "../bower_components/tablesort/src/sorts/tablesort.numeric",
"chartjs": "../bower_components/chartjs/Chart",
"helper": "../helper"
},
shim: {
"leaflet.label": ["leaflet"],
"tablesort": {
exports: "Tablesort"
},
"tablesort.numeric": ["tablesort"],
"helper": []
}
})
require(["main", "helper"], function (main) {
main()
})