mirror of
https://github.com/django/django.git
synced 2025-06-05 03:29:12 +00:00
Removed unused Downcoder.chars.
Unused -- other than as a local variable -- since its introduction in 953badbea5a04159adbfa970f5805c0232b6a401
This commit is contained in:
parent
18eb852874
commit
0a627dbe73
@ -134,8 +134,7 @@
|
|||||||
for (const lookup of ALL_DOWNCODE_MAPS) {
|
for (const lookup of ALL_DOWNCODE_MAPS) {
|
||||||
Object.assign(Downcoder.map, lookup);
|
Object.assign(Downcoder.map, lookup);
|
||||||
}
|
}
|
||||||
Downcoder.chars = Object.keys(Downcoder.map);
|
Downcoder.regex = new RegExp(Object.keys(Downcoder.map).join('|'), 'g');
|
||||||
Downcoder.regex = new RegExp(Downcoder.chars.join('|'), 'g');
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user