Skip to content

Commit 916ee93

Browse files
authored
Fix typo
1 parent 7a7fe1c commit 916ee93

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

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

86-
// Run selectProducts() after the filtering has bene done
86+
// Run selectProducts() after the filtering has been done
8787
selectProducts();
8888
}
8989
}
9090
}
9191

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

0 commit comments

Comments
 (0)