Add notes to refer to docs when modifying the JS files

This commit is contained in:
Nabeel Shahzad
2020-09-04 11:50:05 -04:00
parent 23962a1abb
commit ec9ef9c1c2
18 changed files with 111 additions and 3 deletions

View File

@@ -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 draw_base_map from './base_map';
import { addWMSLayer } from './helpers';

View File

@@ -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.
*/
const leaflet = require('leaflet');
require('leaflet-providers');

View File

@@ -1,3 +1,10 @@
/**
* 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.
*/
export const PLAN_ROUTE_COLOR = '#8B008B';
export const ACTUAL_ROUTE_COLOR = '#067ec1';
export const CIRCLE_COLOR = '#056093';

View File

@@ -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.
*/
const leaflet = require('leaflet');

View File

@@ -1,7 +1,11 @@
/**
* All of the functionality required for maps
* 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 render_airspace_map from './airspace_map';
import render_live_map from './live_map';
import render_route_map from './route_map';

View File

@@ -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 draw_base_map from './base_map';

View File

@@ -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 draw_base_map from './base_map';
import { addWMSLayer } from './helpers';