Skip to content

Commit

Permalink
update spelling
Browse files Browse the repository at this point in the history
  • Loading branch information
noogen committed Jan 26, 2024
1 parent 1331f53 commit cdabeea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ $ npm install deep-values

<!-- modern day alpinejs -->
<!-- simple with built-in Array.filter function -->
<div x-for="product in products.filter(item => item.color === 'red')">
<div x-for="product in products.filter(item => item.colour === 'red')">

<!-- advanced -->
<div x-for="product in products.filter(item => deepValues(item, [products]).some(v => `${v}`.toLowerCase().indexOf('x'.toLowerCase()) > -1))">
Expand Down

0 comments on commit cdabeea

Please sign in to comment.