repl: make tab completion read up the prototype of "global"
authorNathan Rajlich <nathan@tootallnate.net>
Thu, 26 Apr 2012 03:08:30 +0000 (20:08 -0700)
committerNathan Rajlich <nathan@tootallnate.net>
Thu, 26 Apr 2012 03:34:34 +0000 (20:34 -0700)
commitf405daa92260b0bb9fc5cf8c5c2991679e00bdf2
tree85fd41c2fe7f384d03decc173969403e9edcbd0f
parent98b4596a46eec9b3b06d3074aad24f5b80373638
repl: make tab completion read up the prototype of "global"

For example, there's a global "toString()" function, so the REPL's
tab completion should pick that up.
lib/repl.js
test/simple/test-repl-tab-complete.js