diff --git a/src/app/editor/editor.js b/src/app/editor/editor.js index a4a35889e8..f56f0341cc 100644 --- a/src/app/editor/editor.js +++ b/src/app/editor/editor.js @@ -66,7 +66,7 @@ function Editor (opts = {}) { var self = this var eventsName = ['breakpointCleared', 'breakpointAdded', 'sessionSwitched', 'contentChanged'] // not used for legacyEvent - var {uid /* api, */, legacyEvents} = registry.put({api: this, events: eventsName, name: 'editor'}) + var {legacyEvents} = registry.put({api: this, events: eventsName, name: 'editor'}) self.event = legacyEvents var el = yo`
` var editor = ace.edit(el) diff --git a/src/registry.js b/src/registry.js index cec342280f..be2fbea5cc 100644 --- a/src/registry.js +++ b/src/registry.js @@ -2,7 +2,6 @@ const moduleID = require('./module-id.js') const remixLib = require('remix-lib') const EventManager = remixLib.EventManager - module.exports = class registry { constructor () { this.state = {}