From 637fadf38ee8749db781582c775a931a1b8ba84e Mon Sep 17 00:00:00 2001 From: Kevin Jahns Date: Fri, 7 Aug 2020 17:51:17 +0200 Subject: [PATCH] lint markdown --- README.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 4bced49d..56392a11 100644 --- a/README.md +++ b/README.md @@ -572,7 +572,9 @@ parameter that is stored on transaction.origin and on('update', (update, origin) => ..). toJSON():any -
Converts the entire document into a js object, recursively traversing each yjs type.
+
+Converts the entire document into a js object, recursively traversing each yjs type. +
get(string, Y.[TypeClass]):[Type]
Define a shared type.
getArray(string):Y.Array @@ -600,7 +602,10 @@ peers. You can apply document updates in any order and multiple times. on('afterTransaction', function(Y.Transaction, Y.Doc):void)
Emitted after each transaction.
on('beforeAllTransactions', function(Y.Doc):void) -
Transactions can be nested (e.g. when an event within a transaction calls another transaction). Emitted before the first transaction.
+
+Transactions can be nested (e.g. when an event within a transaction calls another +transaction). Emitted before the first transaction. +
on('afterAllTransactions', function(Y.Doc, Array<Y.Transaction>):void)
Emitted after the last transaction is cleaned up.