meshviewer/app.js

28 lines
764 B
JavaScript
Raw Normal View History

'use strict';
2016-05-27 21:59:01 +00:00
require.config({
baseUrl: 'lib',
paths: {
2017-01-28 14:33:13 +00:00
'polyglot': '../node_modules/node-polyglot/build/polyglot',
'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',
'tablesort': '../node_modules/tablesort/src/tablesort',
'd3': '../node_modules/d3/d3.min',
'virtual-dom': '../node_modules/virtual-dom/dist/virtual-dom',
'rbush': '../node_modules/rbush/rbush',
'helper': 'utils/helper'
},
shim: {
'leaflet.label': ['leaflet'],
'tablesort': {
exports: 'Tablesort'
}
}
});
2015-03-29 02:35:20 +00:00
require(['main'], function (main) {
2016-06-01 20:20:14 +00:00
main(jsonData);
});