node/lib
Alex Kocharin f0bf6bb024 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>
2015-04-10 10:56:19 +02:00
..
internal iojs: introduce internal modules 2015-03-25 22:12:18 +03:00
_debug_agent.js lib: use const to define constants 2015-01-21 16:21:31 -05:00
_debugger.js debugger: don't spawn child process in remote mode 2015-03-27 17:28:48 +01:00
_http_agent.js https: don't overwrite servername option 2015-03-10 23:28:04 -07:00
_http_client.js http_client: ensure empty socket on error 2015-03-09 09:25:09 -04:00
_http_common.js iojs: introduce internal modules 2015-03-25 22:12:18 +03:00
_http_incoming.js lib: reduce util.is*() usage 2015-01-31 23:47:29 -05:00
_http_outgoing.js http: add flushHeaders and deprecate flush 2015-03-17 00:54:11 +01:00
_http_server.js tracing: add lttng support for tracing on linux 2015-02-09 18:06:57 +01:00
_linklist.js Remove excessive copyright/license boilerplate 2015-01-12 15:30:28 -08:00
_stream_duplex.js lib: use const to define constants 2015-01-21 16:21:31 -05:00
_stream_passthrough.js lib: use const to define constants 2015-01-21 16:21:31 -05:00
_stream_readable.js stream: simpler stream constructon 2015-02-04 20:19:39 -08:00
_stream_transform.js stream: simpler stream constructon 2015-02-04 20:19:39 -08:00
_stream_wrap.js streams: use strict on _stream_wrap 2015-03-28 04:06:01 +09:00
_stream_writable.js lib: remove unused variables 2015-03-31 15:58:42 -04:00
_tls_common.js lib: reduce util.is*() usage 2015-01-31 23:47:29 -05:00
_tls_legacy.js stream_base: introduce StreamBase 2015-02-22 22:31:57 +03:00
_tls_wrap.js lib: reduce process.binding() calls 2015-04-09 10:51:19 -07:00
assert.js assert: simplify logic of testing buffer equality 2015-03-23 19:10:04 -07:00
buffer.js buffer: align chunks on 8-byte boundary 2015-03-11 11:39:57 -07:00
child_process.js lib: reduce process.binding() calls 2015-04-09 10:51:19 -07:00
cluster.js lib: reduce process.binding() calls 2015-04-09 10:51:19 -07:00
console.js lib: reduce util.is*() usage 2015-01-31 23:47:29 -05:00
constants.js Remove excessive copyright/license boilerplate 2015-01-12 15:30:28 -08:00
crypto.js lib: add missing `new` for errors lib/*.js 2015-03-24 12:42:15 -07:00
dgram.js lib: reduce process.binding() calls 2015-04-09 10:51:19 -07:00
dns.js lib: add missing `new` for errors lib/*.js 2015-03-24 12:42:15 -07:00
domain.js lib: use const to define constants 2015-01-21 16:21:31 -05:00
events.js lib: add missing `new` for errors lib/*.js 2015-03-24 12:42:15 -07:00
freelist.js iojs: introduce internal modules 2015-03-25 22:12:18 +03:00
fs.js lib: reduce process.binding() calls 2015-04-09 10:51:19 -07:00
http.js http: replace util._extend() with [].slice() 2015-02-02 14:52:02 -08:00
https.js https: simpler argument check 2015-02-07 12:00:16 -08:00
module.js iojs: introduce internal modules 2015-03-25 22:12:18 +03:00
net.js lib: reduce process.binding() calls 2015-04-09 10:51:19 -07:00
os.js lib: use const to define constants 2015-01-21 16:21:31 -05:00
path.js path: reduce type checking on some methods 2015-03-19 21:11:12 -04:00
process.js src: remove excessive license boilerplate 2015-01-27 16:35:05 +11:00
punycode.js lib: add missing `new` for errors lib/*.js 2015-03-24 12:42:15 -07:00
querystring.js querystring: fix broken stringifyPrimitive 2015-03-19 21:47:41 -04:00
readline.js readline: fix calling constructor without new 2015-04-10 10:56:19 +02:00
repl.js lib: don't error in repl when cwd doesn't exist 2015-03-19 02:11:38 +01:00
smalloc.js smalloc: export constants from C++ 2015-03-04 11:37:12 +03:00
stream.js lib: reduce util.is*() usage 2015-01-31 23:47:29 -05:00
string_decoder.js string_decoder: optimize write() 2015-03-25 00:34:34 -04:00
sys.js lib: use const to define constants 2015-01-21 16:21:31 -05:00
timers.js timers: remove redundant code 2015-04-04 02:31:51 +03:00
tls.js lib: reduce process.binding() calls 2015-04-09 10:51:19 -07:00
tty.js lib: reduce util.is*() usage 2015-01-31 23:47:29 -05:00
url.js url: fix resolving from non-file to file URLs. 2015-04-04 13:25:32 +03:00
util.js lib: reduce process.binding() calls 2015-04-09 10:51:19 -07:00
v8.js lib: use const to define constants 2015-01-21 16:21:31 -05:00
vm.js lib: reduce util.is*() usage 2015-01-31 23:47:29 -05:00
zlib.js zlib: make constants keep readonly 2015-04-07 23:38:55 +09:00