fix binaryStringToBuffer

=== to !==
This commit is contained in:
AJ ONeal 2015-06-27 02:11:59 -06:00
parent ed56a62799
commit a643e57ef1
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ function bufferToBase64(arr) {
function binaryStringToBuffer(binstr) {
var buf;
if ('undefined' === typeof Uint8Array) {
if ('undefined' !== typeof Uint8Array) {
buf = new Uint8Array(binstr.length);
} else {
buf = [];