diff options
author | Alex Kocharin <alex@kocharin.ru> | 2015-04-09 18:55:26 +0300 |
---|---|---|
committer | Ben Noordhuis <info@bnoordhuis.nl> | 2015-04-10 10:56:19 +0200 |
commit | f0bf6bb024f86412c2dbe6f0ea1f984a3a25ec2a (patch) | |
tree | 79565c2b2bee5f4f9b1728ab125aa9823b41e579 /deps/npm/html/doc/files/npm-global.html | |
parent | 8bc8bd4bc206d23fe8936608cdd5450cf037b586 (diff) | |
download | node-new-f0bf6bb024f86412c2dbe6f0ea1f984a3a25ec2a.tar.gz |
readline: fix calling constructor without new
Previously, we detected options object based on amount of arguments
supplied. But if we're calling readline without new operator,
constructor gets re-called and will always have 4 arguments.
PR-URL: https://github.com/iojs/io.js/pull/1385
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Diffstat (limited to 'deps/npm/html/doc/files/npm-global.html')
0 files changed, 0 insertions, 0 deletions