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/_stream_passthrough.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/_stream_passthrough.js') diff --git a/lib/_stream_passthrough.js b/lib/_stream_passthrough.js index a5e986430d..ae83d5d4a8 100644 --- a/lib/_stream_passthrough.js +++ b/lib/_stream_passthrough.js @@ -23,6 +23,8 @@ // basically just the most minimal sort of Transform stream. // Every written chunk gets output as-is. +'use strict'; + module.exports = PassThrough; var Transform = require('_stream_transform'); -- cgit v1.2.3