phpvms/resources/js/admin/app.js
Nabeel S 0d1f38cf85
Refactor all JS API calls #360 (#375)
* Refactor all JS API calls #360

* Remove unused imports

* Lint JS

* Fix doubled api key

* Formatting

* Added extra logging to distance lookup

* Remove the .editorconfig file in distrib

* shell check fixes

* Remove the .editorconfig file in distrib
2019-08-30 08:08:00 -04:00

16 lines
343 B
JavaScript

/**
* Admin stuff needed
*/
import airport_lookup from './airport_lookup';
import calculate_distance from './calculate_distance';
require('./../bootstrap');
window.phpvms.airport_lookup = airport_lookup;
window.phpvms.calculate_distance = calculate_distance;
// Import the mapping function
window.phpvms.map = require('../maps/index');