style(collectionRepeat): fix jshint errors

This commit is contained in:
Andrew
2015-02-09 12:04:17 -07:00
parent 6fa75b7fff
commit 9416d7d7fa

View File

@@ -213,7 +213,7 @@ function($collectionRepeatManager, $collectionDataSource, $parse) {
// Loop through all of the children of scrollViewContent. Put every child BEFORE
// the collectionRepeatNode in `beforeSiblings`, and all of the children AFTER
// the collectionRepeatNode in `afterSiblings`.
for (var i = 0; child = children[i]; i++) {
for (var i = 0; (child = children[i]); i++) {
if (child.hasAttribute('collection-repeat-ignore')) continue;
if (child.contains(collectionRepeatNode)) {
// Once we reach the collectionRepeatNode, we're now counting siblings AFTER the repeater.