delete no longer used class 'DefaultMap'
This commit is contained in:
parent
35d682429b
commit
07d313f938
1 changed files with 0 additions and 18 deletions
|
|
@ -1,18 +0,0 @@
|
||||||
|
|
||||||
// export class DefaultMap {
|
|
||||||
// constructor(defaultValue, ...rest) {
|
|
||||||
// this.defaultValue = defaultValue;
|
|
||||||
// this.m = new Map(rest);
|
|
||||||
// }
|
|
||||||
// getdefault(key, addToMapping = false) {
|
|
||||||
// return this.m.get(key) || (() => {
|
|
||||||
// const val = this.defaultValue(key);
|
|
||||||
// if (addToMapping)
|
|
||||||
// this.m.set(key, val);
|
|
||||||
// return val;
|
|
||||||
// })();
|
|
||||||
// }
|
|
||||||
// entries() {
|
|
||||||
// return this.m.entries();
|
|
||||||
// }
|
|
||||||
// }
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue