meshviewer/app.js

36 lines
1.2 KiB
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",
2015-04-09 17:45:00 +00:00
"leaflet.providers": "../bower_components/leaflet-providers/leaflet-providers",
"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",
2015-03-31 15:22:36 +00:00
"d3": "../bower_components/d3/d3.min",
"numeral": "../bower_components/numeraljs/min/numeral.min",
"numeral-intl": "../bower_components/numeraljs/min/languages.min",
"virtual-dom": "../bower_components/virtual-dom/dist/virtual-dom",
"rbush": "../bower_components/rbush/rbush",
2015-03-29 02:26:23 +00:00
"helper": "../helper"
},
shim: {
"leaflet.label": ["leaflet"],
2015-04-09 17:45:00 +00:00
"leaflet.providers": ["leaflet"],
"tablesort": {
exports: "Tablesort"
},
2015-04-02 20:07:00 +00:00
"numeral-intl": {
deps: ["numeral"],
exports: "numeral"
},
2015-03-29 02:26:23 +00:00
"tablesort.numeric": ["tablesort"],
"helper": ["numeral-intl"]
}
})
2015-03-29 02:35:20 +00:00
require(["main", "helper"], function (main) {
main()
})