Add strict equalities in src/core/murmurhash3.js
This commit is contained in:
parent
8f5894d81a
commit
a154ca2dd3
@ -48,7 +48,7 @@ var MurmurHash3_64 = (function MurmurHash3_64Closure (seed) {
|
|||||||
update: function MurmurHash3_64_update(input) {
|
update: function MurmurHash3_64_update(input) {
|
||||||
var useUint32ArrayView = alwaysUseUint32ArrayView;
|
var useUint32ArrayView = alwaysUseUint32ArrayView;
|
||||||
var i;
|
var i;
|
||||||
if (typeof input == 'string') {
|
if (typeof input === 'string') {
|
||||||
var data = new Uint8Array(input.length * 2);
|
var data = new Uint8Array(input.length * 2);
|
||||||
var length = 0;
|
var length = 0;
|
||||||
for (i = 0; i < input.length; i++) {
|
for (i = 0; i < input.length; i++) {
|
||||||
|
Loading…
Reference in New Issue
Block a user