fixed some errors. Todo: Home is broken

pull/5370/head
LianaHus 5 years ago
parent 50057378df
commit f7a39b036e
  1. 13
      package-lock.json
  2. 1
      src/app.js
  3. 3
      src/app/panels/terminal.js
  4. 7
      src/remixAppManager.js

13
package-lock.json generated

@ -6737,7 +6737,8 @@
}, },
"ansi-regex": { "ansi-regex": {
"version": "2.1.1", "version": "2.1.1",
"bundled": true "bundled": true,
"optional": true
}, },
"aproba": { "aproba": {
"version": "1.2.0", "version": "1.2.0",
@ -7110,7 +7111,8 @@
}, },
"safe-buffer": { "safe-buffer": {
"version": "5.1.2", "version": "5.1.2",
"bundled": true "bundled": true,
"optional": true
}, },
"safer-buffer": { "safer-buffer": {
"version": "2.1.2", "version": "2.1.2",
@ -7158,6 +7160,7 @@
"strip-ansi": { "strip-ansi": {
"version": "3.0.1", "version": "3.0.1",
"bundled": true, "bundled": true,
"optional": true,
"requires": { "requires": {
"ansi-regex": "^2.0.0" "ansi-regex": "^2.0.0"
} }
@ -7196,11 +7199,13 @@
}, },
"wrappy": { "wrappy": {
"version": "1.0.2", "version": "1.0.2",
"bundled": true "bundled": true,
"optional": true
}, },
"yallist": { "yallist": {
"version": "3.1.1", "version": "3.1.1",
"bundled": true "bundled": true,
"optional": true
} }
} }
}, },

@ -247,7 +247,6 @@ Please make a backup of your contracts and start using http://remix.ethereum.org
self._view.el.style.visibility = 'visible' self._view.el.style.visibility = 'visible'
}, 1500) }, 1500)
}) })
// ----------------- editor servive ---------------------------- // ----------------- editor servive ----------------------------
const editor = new Editor({}, themeModule) // wrapper around ace editor const editor = new Editor({}, themeModule) // wrapper around ace editor
registry.put({api: editor, name: 'editor'}) registry.put({api: editor, name: 'editor'})

@ -98,9 +98,6 @@ class Terminal extends Plugin {
if (opts.shell) self._shell = opts.shell // ??? if (opts.shell) self._shell = opts.shell // ???
register(self) register(self)
} }
setTxListener(txListener) {
this._opts.txListener = txListener
}
logHtml (html) { logHtml (html) {
var command = this.commands['html'] var command = this.commands['html']
if (typeof command === 'function') command(html) if (typeof command === 'function') command(html)

@ -35,11 +35,7 @@ export class RemixAppManager extends PluginManager {
return true return true
} }
<<<<<<< HEAD
onPluginActivated (plugin) { onPluginActivated (plugin) {
=======
onActivated (plugin) {
>>>>>>> ac82ba81... using new engine
this.pluginLoader.set(plugin, this.actives) this.pluginLoader.set(plugin, this.actives)
this.event.emit('activate', plugin) this.event.emit('activate', plugin)
} }
@ -63,7 +59,6 @@ export class RemixAppManager extends PluginManager {
this.event.emit('added', plugin.name) this.event.emit('added', plugin.name)
} }
<<<<<<< HEAD
async ensureActivated (apiName) { async ensureActivated (apiName) {
await this.activatePlugin(apiName) await this.activatePlugin(apiName)
this.event.emit('ensureActivated', apiName) this.event.emit('ensureActivated', apiName)
@ -74,8 +69,6 @@ export class RemixAppManager extends PluginManager {
this.event.emit('ensureDeactivated', apiName) this.event.emit('ensureDeactivated', apiName)
} }
=======
>>>>>>> ac82ba81... using new engine
deactivatePlugin (name) { deactivatePlugin (name) {
if (requiredModules.includes(name)) return if (requiredModules.includes(name)) return
super.deactivatePlugin(name) super.deactivatePlugin(name)

Loading…
Cancel
Save