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:
07c886f
)
docs: correct repl eval callback signature
author
Ming Liu
<vmliu1@gmail.com>
Tue, 6 Mar 2012 19:19:30 +0000
(11:19 -0800)
committer
Ben Noordhuis
<info@bnoordhuis.nl>
Tue, 6 Mar 2012 19:46:27 +0000
(20:46 +0100)
doc/api/repl.markdown
patch
|
blob
|
history
diff --git
a/doc/api/repl.markdown
b/doc/api/repl.markdown
index bb40a342c301cac3d5696b07a57c2ea6ee4ffa00..a5fd1acacb992f8efe4aa572016f52c864f3fdf7 100644
(file)
--- a/
doc/api/repl.markdown
+++ b/
doc/api/repl.markdown
@@
-42,7
+42,7
@@
of command if it's `undefined`. Defaults to `false`.
You can use your own `eval` function if it has following signature:
- function eval(cmd, callback) {
+ function eval(cmd, c
ontext, filename, c
allback) {
callback(null, result);
}