app.js 676 B

123456789101112131415161718192021
  1. require.config({
  2. urlArgs: "bust=" + (new Date()).getTime(),
  3. baseUrl: "lib",
  4. paths: {
  5. "leaflet": "../bower_components/leaflet/dist/leaflet",
  6. "leaflet.label": "../bower_components/Leaflet.label/dist/leaflet.label",
  7. "chroma-js": "../bower_components/chroma-js/chroma.min",
  8. "moment": "../bower_components/moment/min/moment-with-locales.min",
  9. "tablesort": "../bower_components/tablesort/tablesort.min",
  10. "tablesort.numeric": "../bower_components/tablesort/src/sorts/tablesort.numeric"
  11. },
  12. shim: {
  13. "leaflet.label": ["leaflet"],
  14. "tablesort": {
  15. exports: "Tablesort"
  16. },
  17. "tablesort.numeric": ["tablesort"]
  18. }
  19. })
  20. require(["main"])