bbec276da8
* #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
16 lines
343 B
JavaScript
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');
|