From 085bab481b1ee8470f04cb6541ee01981e19f2c6 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Mon, 14 Sep 2020 17:10:35 -0300 Subject: fix exception function not being imported properly --- ui/DisplayElement.js | 1 - ui/Element.js | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/DisplayElement.js b/ui/DisplayElement.js index 8720142..a7a371a 100644 --- a/ui/DisplayElement.js +++ b/ui/DisplayElement.js @@ -1,5 +1,4 @@ const Element = require('./Element') -const exception = require('../util/exception') module.exports = class DisplayElement extends Element { // A general class that handles dealing with screen coordinates, the tree diff --git a/ui/Element.js b/ui/Element.js index c5beb59..b9b8c61 100644 --- a/ui/Element.js +++ b/ui/Element.js @@ -1,4 +1,5 @@ const EventEmitter = require('events') +const exception = require('../util/exception') module.exports = class Element extends EventEmitter { // The basic class containing methods for working with an element hierarchy. -- cgit 1.3.0-6-gf8a5