Skip to content

Commit e71407b

Browse files
committed
remove byTag, now unused
1 parent 1f8cede commit e71407b

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

lib/parse.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ module.exports = function parse(html, options) {
1212
var current;
1313
var level = -1;
1414
var arr = [];
15-
var byTag = {};
1615
var inComponent = false;
1716

1817
html.replace(tagRE, function (tag, index) {
@@ -44,8 +43,6 @@ module.exports = function parse(html, options) {
4443
});
4544
}
4645

47-
byTag[current.tagName] = current;
48-
4946
// if we're at root, push new base node
5047
if (level === 0) {
5148
result.push(current);

0 commit comments

Comments
 (0)