Skip to content

Commit a90b844

Browse files
authored
Fix typo
1 parent 916ee93 commit a90b844

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

javascript/apis/fetching-data/can-store-xhr/can-script.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,20 +83,20 @@ function initialize(products) {
8383
let lowerCaseType = category.value.toLowerCase();
8484
for(let i = 0; i < products.length ; i++) {
8585
// If a product's type property is the same as the chosen category, we want to
86-
// dispay it, so we push it onto the categoryGroup array
86+
// display it, so we push it onto the categoryGroup array
8787
if(products[i].type === lowerCaseType) {
8888
categoryGroup.push(products[i]);
8989
}
9090
}
9191

92-
// Run selectProducts() after the filtering has bene done
92+
// Run selectProducts() after the filtering has been done
9393
selectProducts();
9494
}
9595
}
9696
}
9797

9898
// selectProducts() Takes the group of products selected by selectCategory(), and further
99-
// filters them by the tnered search term (if one has bene entered)
99+
// filters them by the tiered search term (if one has been entered)
100100
function selectProducts() {
101101
// If no search term has been entered, just make the finalGroup array equal to the categoryGroup
102102
// array — we don't want to filter the products further — then run updateDisplay().

0 commit comments

Comments
 (0)