Fix #169. Expose require members in the repl.
authorisaacs <i@izs.me>
Fri, 11 Jun 2010 20:59:18 +0000 (13:59 -0700)
committerRyan Dahl <ry@tinyclouds.org>
Fri, 11 Jun 2010 21:04:58 +0000 (14:04 -0700)
commite65e6039a8310e2b110ea5b22be90e73a2eae84d
tree2c658e3a4061b92610d912553065451d819a93b3
parent431e72cbe8feb990feb2ae4d8e05d6793bab1190
Fix #169. Expose require members in the repl.

This fixes #169 by putting the require members onto the cwdRequire function
which is exposed to the repl scope.
lib/repl.js