summaryrefslogtreecommitdiff
path: root/lib/_stream_wrap.js
diff options
context:
space:
mode:
authorBrendan Ashworth <brendan.ashworth@me.com>2015-03-26 15:20:27 -0700
committerYosuke Furukawa <yosuke.furukawa@gmail.com>2015-03-28 04:06:01 +0900
commitc8fa8ccdbc0af6d8782b97ff65ddc952a095eead (patch)
tree0315cac4b31b916318f92308e281553abeb5f1aa /lib/_stream_wrap.js
parent77c2da10fd437c1b68b28b5b25e165140e198b31 (diff)
downloadnode-new-c8fa8ccdbc0af6d8782b97ff65ddc952a095eead.tar.gz
streams: use strict on _stream_wrap
A Mostly Harmless™ change to enable 'use strict' mode in _stream_wrap, bringing it in line with /all/ the other modules. PR-URL: https://github.com/iojs/io.js/pull/1279 Reviewed-By: Brian White (@mscdex) <mscdex@mscdex.net> Reviewed-By: Roman Reiss (@silverwind) <me@silverwind.io> Reviewed-By: Yosuke Furukawa (@yosuke-furukawa) <yosuke.furukawa@gmail.com>
Diffstat (limited to 'lib/_stream_wrap.js')
-rw-r--r--lib/_stream_wrap.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/_stream_wrap.js b/lib/_stream_wrap.js
index c3dcfe51b6..1eac2ddf94 100644
--- a/lib/_stream_wrap.js
+++ b/lib/_stream_wrap.js
@@ -1,3 +1,5 @@
+'use strict';
+
const util = require('util');
const Socket = require('net').Socket;
const JSStream = process.binding('js_stream').JSStream;