From 742b1cb65dccc3582bba53a5245f3188d958d3d1 Mon Sep 17 00:00:00 2001 From: Henry Zhu Date: Fri, 11 Sep 2015 18:38:53 -0400 Subject: [PATCH] Merge pull request babel/babel-eslint#182 from bryanrsmith/patch-1 fix typo in comment --- eslint/babel-eslint-parser/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eslint/babel-eslint-parser/index.js b/eslint/babel-eslint-parser/index.js index 279fd25eb4..f89554f130 100644 --- a/eslint/babel-eslint-parser/index.js +++ b/eslint/babel-eslint-parser/index.js @@ -84,7 +84,7 @@ function monkeypatch() { } var Definition = require(definitionLoc).Definition; - // if there are decotators, then visit each + // if there are decorators, then visit each function visitDecorators(node) { if (!node.decorators) { return; @@ -416,4 +416,4 @@ exports.parseNoPatch = function (code) { acornToEsprima.toAST(ast, traverse); return ast; -} \ No newline at end of file +}