Skip to content

Commit

Permalink
Expose client to REPL
Browse files Browse the repository at this point in the history
  • Loading branch information
felixge committed Sep 28, 2012
1 parent 517a4ed commit 4a40865
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/Repl.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ Repl.prototype._setupAutocomplete = function() {

this._repl.context[property] = this._client[property];
}

this._repl.context.client = this._client;
};

Repl.prototype._eval = function(code, context, filename, cb) {
Expand Down

0 comments on commit 4a40865

Please sign in to comment.