summaryrefslogtreecommitdiff
path: root/ext/mixed/js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2019-10-12 15:00:39 -0400
committertoasted-nutbread <toasted-nutbread@users.noreply.github.com>2019-10-12 15:31:29 -0400
commit537d2ef532aa7b7498de13ab039bd23f28d32714 (patch)
tree6cf3db9c0e2b58809d4c77a923af9841d26d68ff /ext/mixed/js
parent6da76835524fbf6b95902f06822d77c54ccf735b (diff)
Remove Display.dependencies
Diffstat (limited to 'ext/mixed/js')
-rw-r--r--ext/mixed/js/display.js4
1 files changed, 0 insertions, 4 deletions
diff --git a/ext/mixed/js/display.js b/ext/mixed/js/display.js
index b3ddae72..cd9f41bd 100644
--- a/ext/mixed/js/display.js
+++ b/ext/mixed/js/display.js
@@ -35,8 +35,6 @@ class Display {
this.interactive = false;
this.eventListenersActive = false;
- this.dependencies = {};
-
this.windowScroll = new WindowScroll();
this.setInteractive(true);
@@ -86,8 +84,6 @@ class Display {
try {
e.preventDefault();
- const {docRangeFromPoint, docSentenceExtract} = this.dependencies;
-
const clickedElement = e.target;
const textSource = docRangeFromPoint(e.clientX, e.clientY, this.options);
if (textSource === null) {