From 2147090260b283c8eee2bc3b09a2d617f6e35238 Mon Sep 17 00:00:00 2001 From: yann300 Date: Thu, 14 Jun 2018 17:01:25 +0200 Subject: [PATCH] standard --- src/app/editor/editor.js | 2 +- src/registry.js | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) 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 = {}