don't consider JSXIdentifier HTML tags to be references - fixes #1683

This commit is contained in:
Sebastian McKenzie
2015-06-04 22:23:24 +01:00
parent 0f13097f59
commit 9aa17a6cc2
3 changed files with 28 additions and 1 deletions

View File

@@ -0,0 +1,8 @@
// #1683
var arr = [];
for(let i = 0; i < 4; ++i) {
arr.push(
<i></i>
);
}

View File

@@ -0,0 +1,8 @@
// #1683
"use strict";
var arr = [];
for (var i = 0; i < 4; ++i) {
arr.push(React.createElement("i", null));
}