2017-01-29 23:51:08 +00:00
|
|
|
'use strict';
|
2017-03-18 00:01:33 +00:00
|
|
|
|
2015-03-29 01:35:10 +00:00
|
|
|
require.config({
|
2017-01-29 23:51:08 +00:00
|
|
|
baseUrl: 'lib',
|
2015-03-29 01:35:10 +00:00
|
|
|
paths: {
|
2017-01-28 14:33:13 +00:00
|
|
|
'polyglot': '../node_modules/node-polyglot/build/polyglot',
|
2017-03-05 11:29:21 +00:00
|
|
|
'Navigo': '../node_modules/navigo/lib/navigo',
|
2017-01-29 23:51:08 +00:00
|
|
|
'leaflet': '../node_modules/leaflet/dist/leaflet',
|
2017-01-28 14:33:13 +00:00
|
|
|
'moment': '../node_modules/moment/moment',
|
2017-02-23 21:32:25 +00:00
|
|
|
// d3 modules indirect dependencies
|
|
|
|
// by d3-zoom: d3-drag
|
2018-08-28 12:21:40 +00:00
|
|
|
'd3-ease': '../node_modules/d3-ease/dist/d3-ease',
|
|
|
|
'd3-transition': '../node_modules/d3-transition/dist/d3-transition',
|
|
|
|
'd3-color': '../node_modules/d3-color/dist/d3-color',
|
|
|
|
'd3-interpolate': '../node_modules/d3-interpolate/dist/d3-interpolate',
|
2017-02-23 21:32:25 +00:00
|
|
|
// by d3-force
|
2018-08-28 12:21:40 +00:00
|
|
|
'd3-collection': '../node_modules/d3-collection/dist/d3-collection',
|
|
|
|
'd3-dispatch': '../node_modules/d3-dispatch/dist/d3-dispatch',
|
|
|
|
'd3-quadtree': '../node_modules/d3-quadtree/dist/d3-quadtree',
|
|
|
|
'd3-timer': '../node_modules/d3-timer/dist/d3-timer',
|
2017-02-23 21:32:25 +00:00
|
|
|
// by d3-drag: d3-selection
|
|
|
|
// d3 modules dependencies
|
2018-02-17 18:04:22 +00:00
|
|
|
'd3-selection': '../node_modules/d3-selection/dist/d3-selection',
|
2018-08-28 12:21:40 +00:00
|
|
|
'd3-force': '../node_modules/d3-force/dist/d3-force',
|
|
|
|
'd3-zoom': '../node_modules/d3-zoom/dist/d3-zoom',
|
|
|
|
'd3-drag': '../node_modules/d3-drag/dist/d3-drag',
|
2017-02-18 22:13:29 +00:00
|
|
|
'snabbdom': '../node_modules/snabbdom/dist/snabbdom-patch',
|
2017-01-29 23:51:08 +00:00
|
|
|
'rbush': '../node_modules/rbush/rbush',
|
2017-03-05 11:29:21 +00:00
|
|
|
'helper': 'utils/helper'
|
2015-03-29 01:35:10 +00:00
|
|
|
},
|
|
|
|
shim: {
|
2017-02-23 21:32:25 +00:00
|
|
|
'd3-drag': ['d3-selection'],
|
|
|
|
'd3-force': ['d3-collection', 'd3-dispatch', 'd3-quadtree', 'd3-timer'],
|
2017-03-09 23:53:23 +00:00
|
|
|
'd3-interpolate': ['d3-color'],
|
|
|
|
'd3-zoom': ['d3-drag', 'd3-ease', 'd3-transition', 'd3-interpolate']
|
2015-03-29 01:35:10 +00:00
|
|
|
}
|
2016-05-22 11:23:43 +00:00
|
|
|
});
|
2015-03-29 02:35:20 +00:00
|
|
|
|
2017-01-29 23:51:08 +00:00
|
|
|
require(['main'], function (main) {
|
2017-11-03 21:07:22 +00:00
|
|
|
main();
|
2016-05-22 11:23:43 +00:00
|
|
|
});
|