repl: fix how to module requiring in code comment
authorRyunosuke SATO <tricknotes.rs@gmail.com>
Tue, 11 Dec 2012 10:13:22 +0000 (19:13 +0900)
committerisaacs <i@izs.me>
Wed, 16 Jan 2013 18:59:22 +0000 (10:59 -0800)
This module requiring style is old.
This API has been changed in Node 0.1.16 726865af.

lib/repl.js

index 46ac46b..e19a92e 100644 (file)
@@ -22,7 +22,7 @@
 /* A repl library that you can include in your own code to get a runtime
  * interface to your program.
  *
- *   var repl = require("/repl.js");
+ *   var repl = require("repl");
  *   // start repl on stdin
  *   repl.start("prompt> ");
  *