Permalink
Browse files

Fixing the readme to not show the end having arguments.

  • Loading branch information...
1 parent f37a5b5 commit 4bbdfc1b0e978ec6bfcc12dd658ce16bc54d7d2a @Zoramite Zoramite committed Jun 13, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 readme.md
View
@@ -24,7 +24,7 @@ Converts xml elements into JavaScript objects.
});
// Bind to the file end event to tell when the file is done being streamed
- parser.on('end', function(name, obj) {
+ parser.on('end', function() {
console.log('Finished parsing xml!');
});
@@ -46,7 +46,7 @@ Converts xml elements into JavaScript objects.
});
// Bind to the file end event to tell when the file is done being streamed
- parser.on('end', function(name, obj) {
+ parser.on('end', function() {
console.log('Finished parsing xml!');
});
@@ -70,7 +70,7 @@ _Note:_ The following example uses the [`request`][1] package to simplify the ht
});
// Bind to the file end event to tell when the file is done being streamed
- parser.on('end', function(name, obj) {
+ parser.on('end', function() {
console.log('Finished parsing xml!');
});

0 comments on commit 4bbdfc1

Please sign in to comment.