Skip to content

Commit

Permalink
mention additional arguments in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Conduitry committed May 21, 2019
1 parent 8ecc0d4 commit 8a26f15
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ var acorn = require( 'acorn' );
ast = acorn.parse( sourceCode, options ); // https://github.com/marijnh/acorn

walk( ast, {
enter: function ( node, parent ) {
enter: function ( node, parent, prop, index ) {
// some code happens
},
leave: function ( node, parent ) {
leave: function ( node, parent, prop, index ) {
// some code happens
}
});
Expand All @@ -42,4 +42,4 @@ None of which should be taken as criticism of estraverse, which has more feature

## License

MIT
MIT

0 comments on commit 8a26f15

Please sign in to comment.