2017-01-29 23:51:08 +00:00
|
|
|
'use strict';
|
2017-02-01 21:13:06 +00:00
|
|
|
// Node search polyfill for mobile browsers and IE
|
|
|
|
if (!String.prototype.includes) {
|
|
|
|
String.prototype.includes = function () {
|
|
|
|
return String.prototype.indexOf.apply(this, arguments) !== -1;
|
|
|
|
};
|
|
|
|
}
|
2016-05-27 21:59:01 +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-01-29 23:51:08 +00:00
|
|
|
'leaflet': '../node_modules/leaflet/dist/leaflet',
|
|
|
|
'leaflet.label': '../node_modules/leaflet-label/dist/leaflet.label',
|
|
|
|
'chroma-js': '../node_modules/chroma-js/chroma.min',
|
2017-01-28 14:33:13 +00:00
|
|
|
'moment': '../node_modules/moment/moment',
|
2017-01-29 23:51:08 +00:00
|
|
|
'd3': '../node_modules/d3/d3.min',
|
|
|
|
'virtual-dom': '../node_modules/virtual-dom/dist/virtual-dom',
|
|
|
|
'rbush': '../node_modules/rbush/rbush',
|
2017-02-12 00:29:37 +00:00
|
|
|
'helper': 'utils/helper',
|
|
|
|
'language': 'utils/language'
|
2015-03-29 01:35:10 +00:00
|
|
|
},
|
|
|
|
shim: {
|
2017-01-29 23:51:08 +00:00
|
|
|
'leaflet.label': ['leaflet'],
|
|
|
|
'tablesort': {
|
|
|
|
exports: 'Tablesort'
|
2016-05-25 23:48:56 +00:00
|
|
|
}
|
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) {
|
2016-06-01 20:20:14 +00:00
|
|
|
main(jsonData);
|
2016-05-22 11:23:43 +00:00
|
|
|
});
|