From 21130c7d6fcaee666f33735768c060be2e06614a Mon Sep 17 00:00:00 2001 From: Ben Noordhuis Date: Sat, 22 Nov 2014 16:59:48 +0100 Subject: lib: turn on strict mode Turn on strict mode for the files in the lib/ directory. It helps catch bugs and can have a positive effect on performance. PR-URL: https://github.com/node-forward/node/pull/64 Reviewed-By: Colin Ihrig Reviewed-By: Fedor Indutny --- lib/tty.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/tty.js') diff --git a/lib/tty.js b/lib/tty.js index 74300fc1e4..3d5c2a6649 100644 --- a/lib/tty.js +++ b/lib/tty.js @@ -19,6 +19,8 @@ // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE // USE OR OTHER DEALINGS IN THE SOFTWARE. +'use strict'; + var inherits = require('util').inherits; var net = require('net'); var TTY = process.binding('tty_wrap').TTY; -- cgit v1.2.3