mirror of
https://github.com/heyman/heynote.git
synced 2024-11-25 01:13:17 +01:00
Typo
This commit is contained in:
parent
c3892163af
commit
9bcf03d00c
@ -136,7 +136,7 @@ function getBlocksFromString(state) {
|
|||||||
* Get the blocks from the document state.
|
* Get the blocks from the document state.
|
||||||
* If the syntax tree is available, we'll extract the blocks from that. Otherwise
|
* If the syntax tree is available, we'll extract the blocks from that. Otherwise
|
||||||
* the blocks are parsed from the string contents of the document, which is much faster
|
* the blocks are parsed from the string contents of the document, which is much faster
|
||||||
* than waiting for the tree parsing to finnish.
|
* than waiting for the tree parsing to finish.
|
||||||
*/
|
*/
|
||||||
function getBlocks(state) {
|
function getBlocks(state) {
|
||||||
if (syntaxTreeAvailable(state, state.doc.length)) {
|
if (syntaxTreeAvailable(state, state.doc.length)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user