meshviewer/app.js
Xaver Maierhofer 5600832305
[TASK] Move to es5 eslint airbnb
Step forward to es6 airbnb
2017-01-30 00:51:12 +01:00

27 lines
693 B
JavaScript

'use strict';
require.config({
baseUrl: 'lib',
paths: {
'leaflet': '../node_modules/leaflet/dist/leaflet',
'leaflet.label': '../node_modules/leaflet-label/dist/leaflet.label',
'chroma-js': '../node_modules/chroma-js/chroma.min',
'moment': '../node_modules/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'
}
}
});
require(['main'], function (main) {
main(jsonData);
});