phpvms/resources/js/admin/app.js
Nabeel S bbec276da8
#355 Calculate distance button (#366)
* #355 Calculate distance button in add/edit Flight page

* Styling

* Move add/edit flight logic out of controller and into service layer

* Styling

* Formatting

* Run styleci against modules dir

* Styleci config

* Style fixes in /modules
2019-08-26 12:32:46 -04:00

16 lines
343 B
JavaScript

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