summaryrefslogtreecommitdiff
path: root/deps/npm/html/doc/files/npm-global.html
diff options
context:
space:
mode:
authorAlex Kocharin <alex@kocharin.ru>2015-04-09 18:55:26 +0300
committerBen Noordhuis <info@bnoordhuis.nl>2015-04-10 10:56:19 +0200
commitf0bf6bb024f86412c2dbe6f0ea1f984a3a25ec2a (patch)
tree79565c2b2bee5f4f9b1728ab125aa9823b41e579 /deps/npm/html/doc/files/npm-global.html
parent8bc8bd4bc206d23fe8936608cdd5450cf037b586 (diff)
downloadnode-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