docs: correct repl eval callback signature

This commit is contained in:
Ming Liu authored and Ben Noordhuis committed 2012-03-06 20:46:27 +01:00
1 parent 07c886f944
commit b6023905ff
1 file changed
+1 -1
+1 -1
View File
@@ -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, context, filename, callback) {
callback(null, result);
}