aboutsummaryrefslogtreecommitdiff
path: root/node_modules/esrecurse/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/esrecurse/README.md')
-rw-r--r--node_modules/esrecurse/README.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/node_modules/esrecurse/README.md b/node_modules/esrecurse/README.md
index 03c2ff302..ffea6b434 100644
--- a/node_modules/esrecurse/README.md
+++ b/node_modules/esrecurse/README.md
@@ -44,6 +44,7 @@ class Derived extends esrecurse.Visitor {
XXXStatement(node) {
}
}
+```
```javascript
function DerivedVisitor() {
@@ -70,7 +71,7 @@ DerivedVisitor.prototype.XXXStatement = function (node) {
};
```
-The `childVisitorKeys` option does customize the behavoir of `this.visitChildren(node)`.
+The `childVisitorKeys` option does customize the behaviour of `this.visitChildren(node)`.
We can use user-defined node types.
```javascript