1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-08-20 06:01:24 +02:00

fix linter

This commit is contained in:
Ian Storm Taylor
2017-10-25 18:12:39 -07:00
parent e14d8b18d0
commit fe863c7d47

View File

@@ -17,8 +17,8 @@ function findDOMPoint(key, offset) {
const window = getWindow(el)
let start = 0
let n
// COMPAT: In IE, this method's arguments are not optional, so we have to
// COMPAT: In IE, this method's arguments are not optional, so we have to
// pass in all four even though the last two are defaults. (2017/10/25)
const iterator = window.document.createNodeIterator(
el,