Skip to content

Commit 13a7f74

Browse files
committed
Refactor index.js
1 parent f38459f commit 13a7f74

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ var assign = require('object-assign')
55

66
module.exports = map
77

8-
function map(ast, iteratee) {
9-
return preorder(ast, null, null)
8+
function map(tree, iteratee) {
9+
return preorder(tree, null, null)
1010

1111
function preorder(node, index, parent) {
1212
var children = node.children

0 commit comments

Comments
 (0)