From 54a4f99c4e0f3b6b3a0a5182c29051761a50bb2b Mon Sep 17 00:00:00 2001 From: isaacs Date: Mon, 11 Jun 2012 07:48:02 -0700 Subject: [PATCH] lint --- lib/fs.js | 4 ++-- lib/readline.js | 7 ++++--- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/lib/fs.js b/lib/fs.js index 65df0be35f..d6f195afe2 100644 --- a/lib/fs.js +++ b/lib/fs.js @@ -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 02d15527cd..df0d92bbac 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(); };