hopglass/app.js

26 lines
759 B
JavaScript
Raw Normal View History

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",
2015-03-29 04:26:23 +02:00
"tablesort.numeric": "../bower_components/tablesort/src/sorts/tablesort.numeric",
2015-03-31 17:22:36 +02:00
"d3": "../bower_components/d3/d3.min",
2015-03-29 04:26:23 +02:00
"helper": "../helper"
},
shim: {
"leaflet.label": ["leaflet"],
"tablesort": {
exports: "Tablesort"
},
2015-03-29 04:26:23 +02:00
"tablesort.numeric": ["tablesort"],
"helper": []
}
})
2015-03-29 04:35:20 +02:00
require(["main", "helper"], function (main) {
main()
})