whitespace
This commit is contained in:
parent
368dc6b36a
commit
1a942aa4e0
@ -171,7 +171,7 @@ export class Doc extends Observable {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* 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
|
||||||
*
|
*
|
||||||
* @return {Object<string, any>}
|
* @return {Object<string, any>}
|
||||||
*/
|
*/
|
||||||
toJSON () {
|
toJSON () {
|
||||||
@ -183,7 +183,7 @@ export class Doc extends Observable {
|
|||||||
for (const [k, v] of this.share.entries()) {
|
for (const [k, v] of this.share.entries()) {
|
||||||
doc[k] = v.toJSON()
|
doc[k] = v.toJSON()
|
||||||
}
|
}
|
||||||
|
|
||||||
return doc
|
return doc
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user