Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typo in readme #37

Open
siliconjungle opened this issue Oct 31, 2021 · 1 comment
Open

Typo in readme #37

siliconjungle opened this issue Oct 31, 2021 · 1 comment

Comments

@siliconjungle
Copy link

const op = [ json1.insertOp([], {title: '', contents: '', public: false}), json1.editOp(['title'], 'text-unicode', ['My cool blog entry']), json1.replaceOp(['public', false, true]) ].reduce(json1.type.compose, null)

Should be
const op = [ json1.insertOp([], {title: '', contents: '', public: false}), json1.editOp(['title'], 'text-unicode', ['My cool blog entry']), json1.replaceOp(['public'], false, true) ].reduce(json1.type.compose, null)

@josephg
Copy link
Member

josephg commented Oct 31, 2021

Aah good catch. PR and I’ll merge it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants