remove uneeded require

pull/1/head
yann300 6 years ago
parent 5fcbff4f37
commit 0685bea8b3
  1. 6
      src/app/editor/editor.js

@ -4,7 +4,6 @@ var EventManager = remixLib.EventManager
var yo = require('yo-yo')
var csjs = require('csjs-inject')
var ace = require('brace')
var registry = require('../../global/registry')
require('brace/theme/tomorrow_night_blue')
@ -83,13 +82,12 @@ function Editor (opts = {}) {
// @TODO add here other propositions
}
}
var event = new EventManager()
self.event = event
langTools.addCompleter(flowCompleter)
el.className += ' ' + css['ace-editor']
el.editor = editor // required to access the editor during tests
self.render = function () { return el }
var event = new EventManager()
self.event = event
var sessions = {}
var sourceAnnotations = []
var readOnlySessions = {}

Loading…
Cancel
Save