diff options
author | (quasar) nebula <towerofnix@gmail.com> | 2020-09-14 17:10:35 -0300 |
---|---|---|
committer | (quasar) nebula <towerofnix@gmail.com> | 2020-09-14 17:10:35 -0300 |
commit | 085bab481b1ee8470f04cb6541ee01981e19f2c6 (patch) | |
tree | 36f0dec7acf827bbcbcdea7d149e072e2ccf980a | |
parent | ef66a02f238bedccdefd2a5e60ee29c1325c51aa (diff) |
fix exception function not being imported properly
-rw-r--r-- | ui/DisplayElement.js | 1 | ||||
-rw-r--r-- | ui/Element.js | 1 |
2 files changed, 1 insertions, 1 deletions
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. |