Skip to content

Commit

Permalink
Fix typos in project documentation (#305)
Browse files Browse the repository at this point in the history
Co-authored-by: Nathan Bierema <nbierema@gmail.com>
  • Loading branch information
plan-do-break-fix and Methuselah96 authored Aug 22, 2023
1 parent 046349b commit c1869ce
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/arrays.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ moves are detected by default, you can turn move detection off with:
{
"_originalIndex": // this is the item original position in the array
[
'', // the moved item value, supressed by default
'', // the moved item value, suppressed by default
destinationIndex, // this is the item final position in the array
3 // magic number to indicate: array move
]
Expand Down
4 changes: 2 additions & 2 deletions docs/plugins.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@

`diff()`, `patch()` and `reverse()` functions are implemented using a pipes &filters pattern, making them extremely customizable by adding or replacing filters.

Some examples of what you can acheive writing your own filter:
Some examples of what you can achieve writing your own filter:

- diff special custom objects (eg. DOM nodes, native objects, functions, RegExp, node.js streams?)
- ignore parts of the graph using any custom rule (type, path, flags)
- change diff strategy in specific parts of the graph, eg. rely on change tracking info for Knockout.js tracked objects
- implement custom diff mechanisms, like relative numeric deltas
- suprise me! :)
- surprise me! :)

Check the `/src/filters` folder for filter examples.

Expand Down

0 comments on commit c1869ce

Please sign in to comment.