Add notes to refer to docs when modifying the JS files
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
/**
|
||||
* Before you edit these, read the documentation on how these files are compiled:
|
||||
* https://docs.phpvms.net/customize/building-assets
|
||||
*
|
||||
* Edits here don't take place until you compile these assets and then upload them.
|
||||
*/
|
||||
|
||||
import request from '../request';
|
||||
|
||||
|
||||
@@ -1,8 +1,14 @@
|
||||
/**
|
||||
* Before you edit these, read the documentation on how these files are compiled:
|
||||
* https://docs.phpvms.net/customize/building-assets
|
||||
*
|
||||
* Edits here don't take place until you compile these assets and then upload them.
|
||||
*/
|
||||
|
||||
/**
|
||||
* Admin stuff needed
|
||||
*/
|
||||
|
||||
|
||||
import airport_lookup from './airport_lookup';
|
||||
import calculate_distance from './calculate_distance';
|
||||
|
||||
|
||||
@@ -1,3 +1,9 @@
|
||||
/**
|
||||
* Before you edit these, read the documentation on how these files are compiled:
|
||||
* https://docs.phpvms.net/customize/building-assets
|
||||
*
|
||||
* Edits here don't take place until you compile these assets and then upload them.
|
||||
*/
|
||||
|
||||
import request from '../request';
|
||||
|
||||
@@ -14,6 +20,5 @@ export default async (fromICAO, toICAO) => {
|
||||
};
|
||||
|
||||
const response = await request(params);
|
||||
console.log('distance raw response: ', response);
|
||||
return response.data;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user