Browse Source

docs: correct repl eval callback signature

v0.9.1-release
Ming Liu 13 years ago
committed by Ben Noordhuis
parent
commit
b6023905ff
  1. 2
      doc/api/repl.markdown

2
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: You can use your own `eval` function if it has following signature:
function eval(cmd, callback) { function eval(cmd, context, filename, callback) {
callback(null, result); callback(null, result);
} }

Loading…
Cancel
Save