Removed unused Downcoder.chars.

Unused -- other than as a local variable -- since its introduction in
953badbea5
This commit is contained in:
Jon Dufresne 2020-05-13 12:07:14 -07:00 committed by GitHub
parent 18eb852874
commit 0a627dbe73
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -134,8 +134,7 @@
for (const lookup of ALL_DOWNCODE_MAPS) {
Object.assign(Downcoder.map, lookup);
}
Downcoder.chars = Object.keys(Downcoder.map);
Downcoder.regex = new RegExp(Downcoder.chars.join('|'), 'g');
Downcoder.regex = new RegExp(Object.keys(Downcoder.map).join('|'), 'g');
}
};