Revert "fix eslint warning"

This reverts commit c4e0bbeaf4.
This commit is contained in:
Marius Tolzmann
2019-05-03 19:06:18 +02:00
parent 0e59e0cc0c
commit 392f8a20b3

View File

@@ -22,7 +22,7 @@ export default function ($pos = null, type = null) {
startPos -= $pos.parent.child(startIndex).nodeSize startPos -= $pos.parent.child(startIndex).nodeSize
} }
// const endIndex = $pos.indexAfter() const endIndex = $pos.indexAfter()
const endPos = startPos + start.node.nodeSize const endPos = startPos + start.node.nodeSize
// disable for now. see #156 // disable for now. see #156