Merge pull request #255 from aboodman/js-set-decode

js: Fix stupid bug in implementation of Ref.hashCode()
This commit is contained in:
Aaron Boodman
2015-09-03 07:09:26 -07:00
+1 -1
View File
@@ -25,7 +25,7 @@ class Ref{
}
hashCode() {
return parseInt(this.ref.slice(0, 8), 16);
return parseInt(this.ref.slice(-8), 16);
}
// BUG 88 (instance of is failing in dev build)