projects
/
platform
/
upstream
/
nodejs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
31cffae
)
repl: remove 'repl' from automatic loading libs
author
Ryunosuke SATO
<tricknotes.rs@gmail.com>
Tue, 11 Dec 2012 10:14:49 +0000
(19:14 +0900)
committer
isaacs
<i@izs.me>
Wed, 26 Dec 2012 23:25:00 +0000
(15:25 -0800)
In repl, calling `repl` twice shows the following message:
```
> repl
A different "repl" already exists globally
```
lib/repl.js
patch
|
blob
|
history
diff --git
a/lib/repl.js
b/lib/repl.js
index
7363d2e
..
d67aa0a
100644
(file)
--- a/
lib/repl.js
+++ b/
lib/repl.js
@@
-70,7
+70,7
@@
exports.writer = util.inspect;
exports._builtinLibs = ['assert', 'buffer', 'child_process', 'cluster',
'crypto', 'dgram', 'dns', 'domain', 'events', 'fs', 'http', 'https', 'net',
- 'os', 'path', 'punycode', 'querystring', 'readline', '
repl', '
stream',
+ 'os', 'path', 'punycode', 'querystring', 'readline', 'stream',
'string_decoder', 'tls', 'tty', 'url', 'util', 'vm', 'zlib'];