Skip to content

Commit 24f469a

Browse files
committed
Minor JS fixes to bits.js to make jslint happy again.
1 parent 2630267 commit 24f469a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

postgres-js/bits.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
};
7373

7474
proto.push_hash = function (hash) {
75-
for (key in hash) {
75+
for (var key in hash) {
7676
if (hash.hasOwnProperty(key)) {
7777
this.data += key + "\0" + hash[key] + "\0";
7878
}
@@ -100,7 +100,7 @@
100100
var code = this.data[0];
101101
this.data = this.data.substr(1);
102102
return code;
103-
}
103+
};
104104

105105
// Convert 4 characters to signed 32 bit integer
106106
proto.shift_int32 = function () {

0 commit comments

Comments
 (0)