mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-20 06:01:24 +02:00
fix linter
This commit is contained in:
@@ -17,8 +17,8 @@ function findDOMPoint(key, offset) {
|
|||||||
const window = getWindow(el)
|
const window = getWindow(el)
|
||||||
let start = 0
|
let start = 0
|
||||||
let n
|
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)
|
// pass in all four even though the last two are defaults. (2017/10/25)
|
||||||
const iterator = window.document.createNodeIterator(
|
const iterator = window.document.createNodeIterator(
|
||||||
el,
|
el,
|
||||||
|
Reference in New Issue
Block a user