Skip to content

Commit

Permalink
feat: remove arg for custom map
Browse files Browse the repository at this point in the history
# the feature is not tested yet
  • Loading branch information
zr87 committed Aug 21, 2024
1 parent 67f9d27 commit b7dd541
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/accentFolding.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,9 @@ class AccentFolding {
#cache;
#accentMap;

constructor(customMap = []) {
constructor() {
this.#accentMap = new Map([
...AccentFolding.convertAccentMapToArray(defaultAccentMap),
...customMap,
]);
this.#cache = new Map();
}
Expand Down

0 comments on commit b7dd541

Please sign in to comment.