mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
style(collectionRepeat): fix jshint errors
This commit is contained in:
2
js/angular/directive/collectionRepeat.js
vendored
2
js/angular/directive/collectionRepeat.js
vendored
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user