From 9416d7d7faf1a5e75c860006418c4ad930cd437a Mon Sep 17 00:00:00 2001 From: Andrew Date: Mon, 9 Feb 2015 12:04:17 -0700 Subject: [PATCH] style(collectionRepeat): fix jshint errors --- js/angular/directive/collectionRepeat.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/angular/directive/collectionRepeat.js b/js/angular/directive/collectionRepeat.js index eac1348425..6abc77f1c4 100644 --- a/js/angular/directive/collectionRepeat.js +++ b/js/angular/directive/collectionRepeat.js @@ -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.