@samitouri / QOS-React-2 / commits / 6094ebbc39

update comment

凌恒 committed Apr 1, 2015 at 23:59 UTC 6094ebbc39209ecb8942a169d8604feeebb0a7bf
1 file changed +1 -3
src/browser/ui/dom/DOMChildrenOperations.js
+1 -3
@@ -33,9 +33,7 @@ function insertChildAt(parentNode, childNode, index) {
33 // browsers so we must replace it with `null`.
34
35 // fix render order error in safari
36 - // IE8 can't use `item` when childNodes is empty or dynamic insert.
37 - // Because index out of list
38 - // But read is well after insert.
36 + // IE8 will throw error when index out of list size.
37 var beforeChild = index >= parentNode.childNodes.length ?
38 null :
39 parentNode.childNodes.item(index);