Skip to content

Commit eb4d010

Browse files
committed
Merge pull request #390 from jmonma/dev
Remove incorrect nodeType check in fragment.js
2 parents 754bf63 + 388fe79 commit eb4d010

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/fragment.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,7 @@ module.exports = function (templateString) {
5959
var child
6060
/* jshint boss: true */
6161
while (child = node.firstChild) {
62-
if (node.nodeType === 1) {
63-
frag.appendChild(child)
64-
}
62+
frag.appendChild(child)
6563
}
6664
return frag
6765
}

0 commit comments

Comments
 (0)