diff options
author | isaacs <i@izs.me> | 2012-06-11 07:48:02 -0700 |
---|---|---|
committer | isaacs <i@izs.me> | 2012-06-11 08:13:36 -0700 |
commit | 54a4f99c4e0f3b6b3a0a5182c29051761a50bb2b (patch) | |
tree | 11f2d936dcd3aa4ae52df25f2b6a52b70d1de649 /lib | |
parent | 13198357e9973c6d29283ca7d69d57f5986b9474 (diff) | |
download | node-54a4f99c4e0f3b6b3a0a5182c29051761a50bb2b.tar.gz |
lint
Diffstat (limited to 'lib')
-rw-r--r-- | lib/fs.js | 4 | ||||
-rw-r--r-- | lib/readline.js | 7 |
2 files changed, 6 insertions, 5 deletions
@@ -50,7 +50,7 @@ var O_SYNC = constants.O_SYNC || 0; var O_TRUNC = constants.O_TRUNC || 0; var O_WRONLY = constants.O_WRONLY || 0; -var isWindows = process.platform === 'win32' +var isWindows = process.platform === 'win32'; fs.Stats = binding.Stats; @@ -1164,7 +1164,7 @@ var ReadStream = fs.ReadStream = function(path, options) { } if (this.fd !== null) { - process.nextTick(function () { + process.nextTick(function() { self._read(); }); return; diff --git a/lib/readline.js b/lib/readline.js index 02d15527c..df0d92bba 100644 --- a/lib/readline.js +++ b/lib/readline.js @@ -145,7 +145,7 @@ Interface.prototype._setRawMode = function(mode) { if (typeof this.input.setRawMode === 'function') { return this.input.setRawMode(mode); } -} +}; Interface.prototype.prompt = function(preserveCursor) { @@ -656,8 +656,9 @@ Interface.prototype._ttyWrite = function(s, key) { self.pause(); self.emit('SIGCONT'); } - // explictly re-enable "raw mode" and move the cursor to the correct - // position. See https://github.com/joyent/node/issues/3295. + // explictly re-enable "raw mode" and move the cursor to + // the correct position. + // See https://github.com/joyent/node/issues/3295. self._setRawMode(true); self._refreshLine(); }; |