mirror of
https://github.com/jwetzell/bmip10-js.git
synced 2026-08-27 08:09:00 +00:00
fix reset function
This commit is contained in:
@@ -79,7 +79,7 @@ class Encoder {
|
|||||||
}
|
}
|
||||||
|
|
||||||
reset() {
|
reset() {
|
||||||
this.pickupTable = this.config.default_table;
|
this.table = this.config.default_table;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -96,7 +96,7 @@ class Decoder {
|
|||||||
}
|
}
|
||||||
|
|
||||||
reset() {
|
reset() {
|
||||||
this.pickupTable = this.config.default_table;
|
this.table = this.config.default_table;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user