remove uneeded require

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

@ -1,10 +1,9 @@
'use strict'
var remixLib = require('remix-lib')
var remixLib = require('remix-lib')
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