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