0
0
mirror of https://github.com/nodejs/node.git synced 2024-11-30 07:27:22 +01:00
nodejs/lib
Sakthipriyan Vairamani afd7e37ee0 repl: better empty line handling
In REPL, if we try to evaluate an empty line, we get `undefined`.

    > process.version
    'v2.3.4'
    >
    undefined
    >
    undefined
    >

This patch prevents `undefined` from printing if the string is empty.

    > process.version
    'v2.3.5-pre'
    >
    >
    >

PR-URL: https://github.com/nodejs/io.js/pull/2163
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
2015-07-25 00:34:06 +05:30
..
internal util: prepend '(node) ' to deprecation messages 2015-07-03 16:32:29 +02:00
_debug_agent.js
_debugger.js
_http_agent.js
_http_client.js
_http_common.js
_http_incoming.js
_http_outgoing.js http: Check this.connection before using it 2015-07-22 21:44:59 +05:30
_http_server.js
_linklist.js
_stream_duplex.js
_stream_passthrough.js
_stream_readable.js
_stream_transform.js
_stream_wrap.js
_stream_writable.js util: prepend '(node) ' to deprecation messages 2015-07-03 16:32:29 +02:00
_tls_common.js
_tls_legacy.js
_tls_wrap.js tls: add getTicketKeys()/setTicketKeys() 2015-07-23 11:13:26 -07:00
assert.js
buffer.js util: prepend '(node) ' to deprecation messages 2015-07-03 16:32:29 +02:00
child_process.js child_process: fix arguments comments 2015-07-12 01:16:31 +02:00
cluster.js cluster: emit 'message' event on cluster master 2015-07-23 14:51:10 -07:00
console.js
constants.js
crypto.js util: prepend '(node) ' to deprecation messages 2015-07-03 16:32:29 +02:00
dgram.js
dns.js
domain.js
events.js
freelist.js lib,test: add freelist deprecation and test 2015-07-17 19:48:31 -07:00
fs.js fs: fix error on bad listener type 2015-07-10 14:23:18 -07:00
http.js util: prepend '(node) ' to deprecation messages 2015-07-03 16:32:29 +02:00
https.js
module.js util: prepend '(node) ' to deprecation messages 2015-07-03 16:32:29 +02:00
net.js util: prepend '(node) ' to deprecation messages 2015-07-03 16:32:29 +02:00
os.js util: prepend '(node) ' to deprecation messages 2015-07-03 16:32:29 +02:00
path.js path: assert path.join() arguments equally 2015-07-12 01:05:05 +02:00
process.js
punycode.js
querystring.js
readline.js readline: fix freeze if keypress event throws 2015-07-11 21:12:25 +03:00
repl.js repl: better empty line handling 2015-07-25 00:34:06 +05:30
smalloc.js util: prepend '(node) ' to deprecation messages 2015-07-03 16:32:29 +02:00
stream.js
string_decoder.js
sys.js
timers.js
tls.js
tty.js util: prepend '(node) ' to deprecation messages 2015-07-03 16:32:29 +02:00
url.js
util.js util: removing redundant checks in is* functions 2015-07-21 23:24:23 +05:30
v8.js
vm.js
zlib.js