mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-16 16:22:20 +00:00
Tighten coverage prompt comments and docs
This commit is contained in:
1 parent
3a78f40024
commit
5c4918affb
12 files changed
+31
-54
No files matched your search
@@ -269,10 +269,8 @@ export function translateStatusLine(text) {
|
||||
/** Thousands separators out of an English number ("3,000" → 3000). */
|
||||
const englishNumber = (text) => Number(text.replace(/,/g, ''));
|
||||
|
||||
// Coverage notes of a layer whose view has no feed, whole lines with a number
|
||||
// in them: transit (transit/queries.js) and bikeshare (bikeshare/controls.js).
|
||||
// Their " · " is part of one sentence, so they are matched before the line is
|
||||
// split into pieces. Keep these in step with the producers.
|
||||
// Coverage notes (transit/queries.js, bikeshare/controls.js). Their " · " is
|
||||
// inside one sentence, so they match whole before the line is split.
|
||||
const COVERAGE_NOTE_PATTERNS = [
|
||||
[
|
||||
/^Fly below ([\d,]+) km to a covered region$/,
|
||||
|
||||
Reference in new issue
Block a user