Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't use the private _events variable #18

Merged
merged 1 commit into from Jun 15, 2012

Conversation

TooTallNate
Copy link
Contributor

Good stuff, but...

Disclaimer: I'm in my Vegas hotel room and kinda drunk and I did this in the GitHub online editor... therefore... untested. So do that first :)

@heapwolf
Copy link
Owner

crashes in the repl =(

@heapwolf
Copy link
Owner

btw: do want mouse support!! =D

@TooTallNate
Copy link
Contributor Author

crashes in the repl =(

Hmmm, how so? I can't seem to repro, and the code really should be functionally equivalent.

@heapwolf
Copy link
Owner

I did the following

$<git pull new branch...>
$node
>console.dir = require('./cdir');
>console.dir({ foo: 1, bar: 2 });

 - doesn't use the private _events variable
 - call the appropriate setRawMode() function
 - clean up a couple little whitespace issues
@TooTallNate
Copy link
Contributor Author

@hij1nx Try now. This new refactor should also take care of #5, #21, and of course #18.

heapwolf pushed a commit that referenced this pull request Jun 15, 2012
[lib] Don't use the private _events variable
@heapwolf heapwolf merged commit 7145621 into heapwolf:master Jun 15, 2012
@heapwolf
Copy link
Owner

@TooTallNate this kicks ass!! =D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants