Skip to content

Commit dec7851

Browse files
committed
Fix some JS errors
1 parent 8e4cc45 commit dec7851

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/Node/Stream.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ exports.setEncodingImpl = function(s) {
1010
};
1111
};
1212

13-
exports.onData = function(r) {
13+
exports.onData = function(s) {
1414
return function(f) {
1515
return function() {
1616
s.on('data', function(chunk) {
@@ -20,7 +20,7 @@ exports.onData = function(r) {
2020
};
2121
};
2222

23-
exports.onEnd = function(r) {
23+
exports.onEnd = function(s) {
2424
return function(f) {
2525
return function() {
2626
s.on('end', function() {
@@ -30,7 +30,7 @@ exports.onEnd = function(r) {
3030
};
3131
};
3232

33-
exports.onError = function(r) {
33+
exports.onError = function(s) {
3434
return function(f) {
3535
return function() {
3636
s.on('error', function() {
@@ -40,7 +40,7 @@ exports.onError = function(r) {
4040
};
4141
};
4242

43-
exports.onClose = function(r) {
43+
exports.onClose = function(s) {
4444
return function(f) {
4545
return function() {
4646
s.on('close', function() {

0 commit comments

Comments
 (0)