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_transform.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/_stream_transform.js') diff --git a/lib/_stream_transform.js b/lib/_stream_transform.js index 1843f51b75..8706816255 100644 --- a/lib/_stream_transform.js +++ b/lib/_stream_transform.js @@ -62,6 +62,8 @@ // would be consumed, and then the rest would wait (un-transformed) until // the results of the previous transformed chunk were consumed. +'use strict'; + module.exports = Transform; var Duplex = require('_stream_duplex'); -- cgit v1.2.3