Skip to content

Commit

Permalink
Rename phonetic table
Browse files Browse the repository at this point in the history
  • Loading branch information
phieri committed Mar 14, 2021
1 parent 970611f commit 4632ee8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/callsign.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*/

/** @constant */
const PHONETIC_ALPHABET = new Map([
const PHONETIC_TABLE = new Map([
['A', 'Alfa'],
['B', 'Bravo'],
['C', 'Charlie'],
Expand Down Expand Up @@ -198,7 +198,7 @@ class Callsign extends HTMLElement {
'use strict';
let ret = "";
for (var i = 0; i < letters.length; i++) {
ret += PHONETIC_ALPHABET.get(letters.charAt(i)) + " ";
ret += PHONETIC_TABLE.get(letters.charAt(i)) + " ";
}
return ret.slice(0, -1);
}
Expand Down

0 comments on commit 4632ee8

Please sign in to comment.