Reduce closures
This commit is contained in:
parent
1f0be761a2
commit
f8a104d550
4 changed files with 148 additions and 108 deletions
|
@ -8,6 +8,9 @@ exports.GlyphStore = class GlyphStore {
|
|||
this.encodingBackward = new Map();
|
||||
}
|
||||
|
||||
get size() {
|
||||
return this.nameForward.size;
|
||||
}
|
||||
glyphs() {
|
||||
return this.nameForward.values();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue