Permalink
Browse files

readline: don't export emitKey()

  • Loading branch information...
1 parent 1c08c81 commit f42e165bc37ce0f277e159bf46cbc3cf81220f3c @TooTallNate committed Mar 26, 2012
Showing with 1 addition and 2 deletions.
  1. +1 −2 lib/readline.js
View
3 lib/readline.js
@@ -751,7 +751,7 @@ function emitKeypressEvents(stream) {
function onData(b) {
if (keypressListeners.length) {
- exports.emitKey(stream, b);
+ emitKey(stream, b);
} else {
// Nobody's watching anyway
stream.removeListener('data', onData);
@@ -1005,7 +1005,6 @@ function emitKey(stream, s) {
stream.emit('keypress', char, key);
}
}
-exports.emitKey = emitKey;
/**

0 comments on commit f42e165

Please sign in to comment.