From df9b0b818fa0d0d7f513b660e0f5e8f5432f2a47 Mon Sep 17 00:00:00 2001 From: Naman Goel Date: Wed, 5 Aug 2015 00:26:52 +0200 Subject: [PATCH] fix typos Found some typos while reading the code. --- packages/babylon/src/parser/comments.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/babylon/src/parser/comments.js b/packages/babylon/src/parser/comments.js index 3b8345fa65..39aa197872 100644 --- a/packages/babylon/src/parser/comments.js +++ b/packages/babylon/src/parser/comments.js @@ -45,7 +45,7 @@ pp.processComment = function (node) { if (this.state.trailingComments.length > 0) { // If the first comment in trailingComments comes after the // current node, then we're good - all comments in the array will - // come after the node and so it's safe to add then as official + // come after the node and so it's safe to add them as official // trailingComments. if (this.state.trailingComments[0].start >= node.end) { trailingComments = this.state.trailingComments; @@ -98,7 +98,7 @@ pp.processComment = function (node) { // // In special cases, such as return (without a value) and // debugger, all comments will end up as leadingComments and - // will otherwise be eliminated. This this step runs when the + // will otherwise be eliminated. This step runs when the // commentStack is empty and there are comments left // in leadingComments. //