Skip to content

Commit f0c48a0

Browse files
committed
Merge branch 1.0 into 1.1
2 parents ecb9763 + 2be25cd commit f0c48a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/v1/internal/packstream.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ class Packer {
9898
return () => this.packFloat(x);
9999
} else if (typeof(x) == "string") {
100100
return () => this.packString(x, onError);
101-
} else if (x instanceof Integer) {
101+
} else if (Integer.isInteger(x)) {
102102
return () => this.packInteger( x );
103103
} else if (x instanceof Array) {
104104
return () => {

0 commit comments

Comments
 (0)