mirror of
https://github.com/nasa/openmct.git
synced 2025-02-22 18:12:57 +00:00
[Search] Syle modifications
Changed 'i += 1' in for loops to 'i++'
This commit is contained in:
parent
04257aedae
commit
03c0678cbe
@ -44,7 +44,7 @@ define(function () {
|
||||
var subList = [current],
|
||||
i;
|
||||
//console.log('children ', children);
|
||||
for (i = 0; i < children.length; i += 1) {
|
||||
for (i = 0; i < children.length; i++) {
|
||||
//console.log('children[', i, ']', children[i]);
|
||||
subList.push(listHelper(children[i]));
|
||||
//console.log('subList', subList, 'index', i);
|
||||
@ -102,7 +102,7 @@ define(function () {
|
||||
itemsLength = items.length;
|
||||
|
||||
// Then filter through the items list
|
||||
for (i = 0; i < itemsLength; i += 1) {
|
||||
for (i = 0; i < itemsLength; i++) {
|
||||
itemModel = items[i].getModel();
|
||||
itemName = itemModel.name.toLocaleLowerCase();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user