mirror of
https://github.com/nasa/openmct.git
synced 2025-05-31 06:31:04 +00:00
[Search] Code style
This commit is contained in:
parent
457193657f
commit
b9f8f6e33d
@ -57,7 +57,7 @@ define(function () {
|
||||
itemsLength = items.length;
|
||||
|
||||
// Then filter through the items list
|
||||
for (i = 0; i < itemsLength; i++) {
|
||||
for (i = 0; i < itemsLength; i += 1) {
|
||||
// Prevent errors from getModel not being defined
|
||||
if (items[i].getModel) {
|
||||
itemModel = items[i].getModel();
|
||||
@ -110,7 +110,7 @@ define(function () {
|
||||
//console.log('raw results', rawResults);
|
||||
|
||||
// Get the result objects' IDs
|
||||
for (i = 0; i < resultsLength; i++) {
|
||||
for (i = 0; i < resultsLength; i += 1) {
|
||||
ids.push(results[i][ID]);
|
||||
}
|
||||
|
||||
@ -120,7 +120,7 @@ define(function () {
|
||||
id,
|
||||
j;
|
||||
|
||||
for (j = 0; j < resultsLength; j++) {
|
||||
for (j = 0; j < resultsLength; j += 1) {
|
||||
id = ids[j];
|
||||
|
||||
// Include any item except folders
|
||||
|
Loading…
x
Reference in New Issue
Block a user