-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: correct bug that allowed bad dictionary values to pass through t…
…he constructor Although directly setting bad dictionary values (e.g. `encoder.dictionary = null`) would throw an error, using the constructor did not (e.g. `encoder = new AlphanumericEncoder( { dictionary: null } )` ). This was due to the manner in which the constructor was checking to see if these optional values were passed or not. This patch corrects that unintended behavior. Resolves: #41
- Loading branch information
1 parent
8cca388
commit bc6e6c7
Showing
2 changed files
with
39 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters