pull/1/head
yann300 6 years ago
parent 79121b690c
commit 2147090260
  1. 2
      src/app/editor/editor.js
  2. 1
      src/registry.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`<div id="input"></div>`
var editor = ace.edit(el)

@ -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 = {}

Loading…
Cancel
Save