pull/3094/head
yann300 7 years ago
parent f49ddadbe0
commit 7b37dba1ef
  1. 2
      src/app/editor/editor.js
  2. 1
      src/registry.js

@ -66,7 +66,7 @@ function Editor (opts = {}) {
var self = this var self = this
var eventsName = ['breakpointCleared', 'breakpointAdded', 'sessionSwitched', 'contentChanged'] // not used for legacyEvent 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 self.event = legacyEvents
var el = yo`<div id="input"></div>` var el = yo`<div id="input"></div>`
var editor = ace.edit(el) var editor = ace.edit(el)

@ -2,7 +2,6 @@ const moduleID = require('./module-id.js')
const remixLib = require('remix-lib') const remixLib = require('remix-lib')
const EventManager = remixLib.EventManager const EventManager = remixLib.EventManager
module.exports = class registry { module.exports = class registry {
constructor () { constructor () {
this.state = {} this.state = {}

Loading…
Cancel
Save