Skip to content

Commit 320009e

Browse files
committed
Small changes
1 parent 97ed467 commit 320009e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
</div>
1616

17-
Distributed Object Protocol is a thin layer on top of your data network that helps you communicate server and clients (nodes) using [RPCs](https://en.wikipedia.org/wiki/Remote_procedure_call). It is also a pattern that makes easy update, mutate or even sync the state of your App using [Patches](https://tools.ietf.org/html/rfc7386).
17+
Distributed Object Protocol is a thin layer on top of your data network that helps you communicate server and clients (nodes) using [RPCs](https://en.wikipedia.org/wiki/Remote_procedure_call). It is also a pattern that makes easy update, mutate or even sync the state of your App using [Patches](https://github.com/DistributedObjectProtocol/protocol#Patches).
1818

1919
## Quick example using RPCs with WebSockets
2020

src/api/createStoreFactory.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export default function createStoreFactory(applyPatchFunction) {
2727
listeners.forEach((filter, listener) => {
2828
const mts = isFunction(filter)
2929
? mutations.filter(filter)
30-
: mutations //.slice(0)
30+
: mutations.slice(0)
3131

3232
const { patch, unpatch } = createPatchFromMutations(mts)
3333
outputs.push({

0 commit comments

Comments
 (0)