diff options
author | Joshaven Potter <yourtech@gmail.com> | 2010-10-06 23:05:23 -0400 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2010-10-06 20:40:57 -0700 |
commit | 3d4e4d89099f1c08e586060961ed884e5f52301a (patch) | |
tree | 7d15462001773751a6831479f8faac8c1707590e /lib/sys.js | |
parent | 9481bc1009765b24390239a1d7d88bebae5db731 (diff) | |
download | android-node-v8-3d4e4d89099f1c08e586060961ed884e5f52301a.tar.gz android-node-v8-3d4e4d89099f1c08e586060961ed884e5f52301a.tar.bz2 android-node-v8-3d4e4d89099f1c08e586060961ed884e5f52301a.zip |
syntax fixes to pass jslint
Diffstat (limited to 'lib/sys.js')
-rw-r--r-- | lib/sys.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/sys.js b/lib/sys.js index ca97a88495..e8985d25fa 100644 --- a/lib/sys.js +++ b/lib/sys.js @@ -315,7 +315,7 @@ exports.log = function (msg) { var execWarning; exports.exec = function () { if (!execWarning) { - execWarning = 'sys.exec has moved to the "child_process" module. Please update your source code.' + execWarning = 'sys.exec has moved to the "child_process" module. Please update your source code.'; error(execWarning); } return require('child_process').exec.apply(this, arguments); @@ -332,8 +332,8 @@ exports.pump = function (readStream, writeStream, callback) { } } - if (!readStream.pause) readStream.pause = function () {readStream.emit("pause")}; - if (!readStream.resume) readStream.resume = function () {readStream.emit("resume")}; + if (!readStream.pause) readStream.pause = function () {readStream.emit("pause");}; + if (!readStream.resume) readStream.resume = function () {readStream.emit("resume");}; readStream.addListener("data", function (chunk) { if (writeStream.write(chunk) === false) readStream.pause(); |