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