first pass splitting js into commonjs modules

This commit is contained in:
Nabeel Shahzad
2018-03-12 17:30:52 -05:00
parent 843cf26140
commit 17f9464208
19 changed files with 1039 additions and 5 deletions

View File

@@ -3,7 +3,8 @@
* @type {{render_airspace_map, render_live_map, render_route_map}}
*/
const phpvms = (function() {
let phpvms = {};
phpvms.map = (function() {
const PLAN_ROUTE_COLOR = '#36b123';
const ACTUAL_ROUTE_COLOR = '#172aea';