From b13aa41a75a0cce9be7b7e67210605caa1ac08f1 Mon Sep 17 00:00:00 2001 From: Sebastian McKenzie Date: Tue, 24 Feb 2015 22:15:27 +1100 Subject: [PATCH] fixing linting error --- lib/babel/transformation/transformers/other/react.js | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/babel/transformation/transformers/other/react.js b/lib/babel/transformation/transformers/other/react.js index 8473f33270..047490c635 100644 --- a/lib/babel/transformation/transformers/other/react.js +++ b/lib/babel/transformation/transformers/other/react.js @@ -8,7 +8,6 @@ var JSX_ANNOTATION_REGEX = /^\*\s*@jsx\s+([^\s]+)/; exports.Program = function (node, parent, scope, file) { var id = "React.createElement"; - var comment = file.ast.comments[0]; for (var i = 0; i < file.ast.comments.length; i++) { var comment = file.ast.comments[i]; var matches = JSX_ANNOTATION_REGEX.exec(comment.value);