diff options
author | cjihrig <cjihrig@gmail.com> | 2015-01-21 11:36:59 -0500 |
---|---|---|
committer | cjihrig <cjihrig@gmail.com> | 2015-01-21 16:21:31 -0500 |
commit | 804e7aa9ab0b34fa88709ef0980b960abca5e059 (patch) | |
tree | 4e09207abd54e30bd62459e43e2f9219619a7256 /lib/_stream_passthrough.js | |
parent | 803883bb1a701da12c285fd735233eed7627eada (diff) | |
download | android-node-v8-804e7aa9ab0b34fa88709ef0980b960abca5e059.tar.gz android-node-v8-804e7aa9ab0b34fa88709ef0980b960abca5e059.tar.bz2 android-node-v8-804e7aa9ab0b34fa88709ef0980b960abca5e059.zip |
lib: use const to define constants
This commit replaces a number of var statements throughout
the lib code with const statements.
PR-URL: https://github.com/iojs/io.js/pull/541
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Diffstat (limited to 'lib/_stream_passthrough.js')
-rw-r--r-- | lib/_stream_passthrough.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/_stream_passthrough.js b/lib/_stream_passthrough.js index 8898f1891d..30952d436e 100644 --- a/lib/_stream_passthrough.js +++ b/lib/_stream_passthrough.js @@ -6,8 +6,8 @@ module.exports = PassThrough; -var Transform = require('_stream_transform'); -var util = require('util'); +const Transform = require('_stream_transform'); +const util = require('util'); util.inherits(PassThrough, Transform); function PassThrough(options) { |