[Search] Code style

This commit is contained in:
shale 2015-07-14 10:02:27 -07:00
parent 457193657f
commit b9f8f6e33d

View File

@ -57,7 +57,7 @@ define(function () {
itemsLength = items.length; itemsLength = items.length;
// Then filter through the items list // 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 // Prevent errors from getModel not being defined
if (items[i].getModel) { if (items[i].getModel) {
itemModel = items[i].getModel(); itemModel = items[i].getModel();
@ -110,7 +110,7 @@ define(function () {
//console.log('raw results', rawResults); //console.log('raw results', rawResults);
// Get the result objects' IDs // Get the result objects' IDs
for (i = 0; i < resultsLength; i++) { for (i = 0; i < resultsLength; i += 1) {
ids.push(results[i][ID]); ids.push(results[i][ID]);
} }
@ -120,7 +120,7 @@ define(function () {
id, id,
j; j;
for (j = 0; j < resultsLength; j++) { for (j = 0; j < resultsLength; j += 1) {
id = ids[j]; id = ids[j];
// Include any item except folders // Include any item except folders