-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Give REPL clients access to the global context, and limit stacktraces…
… to where the repl call ends
- Loading branch information
Michael Olson
committed
Mar 17, 2013
1 parent
92d8f9b
commit b563749
Showing
1 changed file
with
10 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The context argument is ignored here, and now one can't use _swank.output() or require() in REPL (node v0.10.10). Why not use vm.runInContext? (or maybe we should make it an option?)