Permalink
Browse files

[docs] Fix output in examples.

  • Loading branch information...
AvianFlu committed Jan 25, 2012
1 parent 9a629a9 commit f07cd88c52b46dbe8331ffc8354eeb1183ca043e
Showing with 4 additions and 4 deletions.
  1. +4 −4 README.md
View
@@ -48,18 +48,18 @@ Note that all functions may be chained:
twit
.verifyCredentials(function (err, data) {
- console.log(console.dir(data));
+ console.log(data);
})
.updateStatus('Test tweet from ntwitter/' + twitter.VERSION,
function (err, data) {
- console.log(console.dir(data));
+ console.log(data);
}
);
### Search API
twit.search('nodejs OR #node', function(err, data) {
- console.log(console.dir(data));
+ console.log(data);
});
### Streaming API
@@ -86,7 +86,7 @@ ntwitter also supports user and site streams:
twit.stream('user', {track:'nodejs'}, function(stream) {
stream.on('data', function (data) {
- console.log(console.dir(data));
+ console.log(data);
});
stream.on('end', function (response) {
// Handle a disconnection

0 comments on commit f07cd88

Please sign in to comment.