lint
This commit is contained in:
parent
f577a8e3cf
commit
8fd1f3405a
@ -140,7 +140,12 @@ hypercores and y-dat listens to changes and applies them to the Yjs document.
|
|||||||
</dd>
|
</dd>
|
||||||
<dt><a href="https://github.com/yousefED/matrix-crdt">Matrix-CRDT</a></dt>
|
<dt><a href="https://github.com/yousefED/matrix-crdt">Matrix-CRDT</a></dt>
|
||||||
<dd>
|
<dd>
|
||||||
Use <a href="https://www.matrix.org">Matrix</a> as an off-the-shelf backend for Yjs by using the <a href="https://github.com/yousefED/matrix-crdt">MatrixProvider</a>. Use Matrix as transport and storage of Yjs updates, so you can focus building your client app and Matrix can provide powerful features like Authentication, Authorization, Federation, hosting (self-hosting or SaaS) and even End-to-End Encryption (E2EE).
|
Use <a href="https://www.matrix.org">Matrix</a> as an off-the-shelf backend for
|
||||||
|
Yjs by using the <a href="https://github.com/yousefED/matrix-crdt">MatrixProvider</a>.
|
||||||
|
Use Matrix as transport and storage of Yjs updates, so you can focus building
|
||||||
|
your client app and Matrix can provide powerful features like Authentication,
|
||||||
|
Authorization, Federation, hosting (self-hosting or SaaS) and even End-to-End
|
||||||
|
Encryption (E2EE).
|
||||||
</dd>
|
</dd>
|
||||||
</dl>
|
</dl>
|
||||||
|
|
||||||
|
@ -285,19 +285,19 @@ export class UndoManager extends Observable {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Are undo steps available?
|
* Are undo steps available?
|
||||||
*
|
*
|
||||||
* @return {boolean} `true` if undo is possible
|
* @return {boolean} `true` if undo is possible
|
||||||
*/
|
*/
|
||||||
canUndo() {
|
canUndo () {
|
||||||
return this.undoStack.length > 0
|
return this.undoStack.length > 0
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Are redo steps available?
|
* Are redo steps available?
|
||||||
*
|
*
|
||||||
* @return {boolean} `true` if redo is possible
|
* @return {boolean} `true` if redo is possible
|
||||||
*/
|
*/
|
||||||
canRedo() {
|
canRedo () {
|
||||||
return this.redoStack.length > 0
|
return this.redoStack.length > 0
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user