fixing linting error

This commit is contained in:
Sebastian McKenzie 2015-02-24 22:15:27 +11:00
parent 20a4ed6140
commit b13aa41a75

View File

@ -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);