diff options
Diffstat (limited to 'ext/fg/js/text-source-element.js')
-rw-r--r-- | ext/fg/js/text-source-element.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/ext/fg/js/text-source-element.js b/ext/fg/js/text-source-element.js index 16ac5cd5..983b0971 100644 --- a/ext/fg/js/text-source-element.js +++ b/ext/fg/js/text-source-element.js @@ -89,7 +89,7 @@ class TextSourceElement { // NOP } - equals(other) { + hasSameStart(other) { return ( typeof other === 'object' && other !== null && @@ -100,6 +100,10 @@ class TextSourceElement { ); } + getNodesInRange() { + return []; + } + static getElementContent(element) { let content; switch (element.nodeName.toUpperCase()) { |