Skip to content

Commit

Permalink
fix(#34): options.pad typo
Browse files Browse the repository at this point in the history
  • Loading branch information
h2non committed Nov 20, 2016
1 parent 360c2dc commit 8c153f7
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions hashes.js
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,7 @@
* See {@link Hashes.MD5#method-setUpperCase} and {@link Hashes.SHA1#method-setUpperCase}
*/
var hexcase = (options && typeof options.uppercase === 'boolean') ? options.uppercase : false, // hexadecimal output case format. false - lowercase; true - uppercase
b64pad = (options && typeof options.pad === 'string') ? options.pda : '=', // base-64 pad character. Defaults to '=' for strict RFC compliance
b64pad = (options && typeof options.pad === 'string') ? options.pad : '=', // base-64 pad character. Defaults to '=' for strict RFC compliance
utf8 = (options && typeof options.utf8 === 'boolean') ? options.utf8 : true; // enable/disable utf8 encoding

// privileged (public) methods
Expand Down Expand Up @@ -682,7 +682,7 @@
* See {@link Hashes.MD5#method-setUpperCase} and {@link Hashes.SHA1#method-setUpperCase}
*/
var hexcase = (options && typeof options.uppercase === 'boolean') ? options.uppercase : false, // hexadecimal output case format. false - lowercase; true - uppercase
b64pad = (options && typeof options.pad === 'string') ? options.pda : '=', // base-64 pad character. Defaults to '=' for strict RFC compliance
b64pad = (options && typeof options.pad === 'string') ? options.pad : '=', // base-64 pad character. Defaults to '=' for strict RFC compliance
utf8 = (options && typeof options.utf8 === 'boolean') ? options.utf8 : true; // enable/disable utf8 encoding

// public methods
Expand Down Expand Up @@ -876,7 +876,7 @@
* @see this.setPad() method
*/
var hexcase = (options && typeof options.uppercase === 'boolean') ? options.uppercase : false, // hexadecimal output case format. false - lowercase; true - uppercase */
b64pad = (options && typeof options.pad === 'string') ? options.pda : '=',
b64pad = (options && typeof options.pad === 'string') ? options.pad : '=',
/* base-64 pad character. Default '=' for strict RFC compliance */
utf8 = (options && typeof options.utf8 === 'boolean') ? options.utf8 : true,
/* enable/disable utf8 encoding */
Expand Down Expand Up @@ -1120,7 +1120,7 @@
*/
var hexcase = (options && typeof options.uppercase === 'boolean') ? options.uppercase : false,
/* hexadecimal output case format. false - lowercase; true - uppercase */
b64pad = (options && typeof options.pad === 'string') ? options.pda : '=',
b64pad = (options && typeof options.pad === 'string') ? options.pad : '=',
/* base-64 pad character. Default '=' for strict RFC compliance */
utf8 = (options && typeof options.utf8 === 'boolean') ? options.utf8 : true,
/* enable/disable utf8 encoding */
Expand Down Expand Up @@ -1498,7 +1498,7 @@
*/
var hexcase = (options && typeof options.uppercase === 'boolean') ? options.uppercase : false,
/* hexadecimal output case format. false - lowercase; true - uppercase */
b64pad = (options && typeof options.pad === 'string') ? options.pda : '=',
b64pad = (options && typeof options.pad === 'string') ? options.pa : '=',
/* base-64 pad character. Default '=' for strict RFC compliance */
utf8 = (options && typeof options.utf8 === 'boolean') ? options.utf8 : true,
/* enable/disable utf8 encoding */
Expand Down

0 comments on commit 8c153f7

Please sign in to comment.