using new engine

pull/1/head
LianaHus 5 years ago
parent 64e076486e
commit 0cbf0417c1
  1. 28
      package-lock.json
  2. 1
      src/app.js
  3. 3
      src/app/panels/terminal.js
  4. 7
      src/remixAppManager.js

28
package-lock.json generated

@ -6755,11 +6755,13 @@
}, },
"balanced-match": { "balanced-match": {
"version": "1.0.0", "version": "1.0.0",
"bundled": true "bundled": true,
"optional": true
}, },
"brace-expansion": { "brace-expansion": {
"version": "1.1.11", "version": "1.1.11",
"bundled": true, "bundled": true,
"optional": true,
"requires": { "requires": {
"balanced-match": "^1.0.0", "balanced-match": "^1.0.0",
"concat-map": "0.0.1" "concat-map": "0.0.1"
@ -6772,15 +6774,18 @@
}, },
"code-point-at": { "code-point-at": {
"version": "1.1.0", "version": "1.1.0",
"bundled": true "bundled": true,
"optional": true
}, },
"concat-map": { "concat-map": {
"version": "0.0.1", "version": "0.0.1",
"bundled": true "bundled": true,
"optional": true
}, },
"console-control-strings": { "console-control-strings": {
"version": "1.1.0", "version": "1.1.0",
"bundled": true "bundled": true,
"optional": true
}, },
"core-util-is": { "core-util-is": {
"version": "1.0.2", "version": "1.0.2",
@ -6883,7 +6888,8 @@
}, },
"inherits": { "inherits": {
"version": "2.0.4", "version": "2.0.4",
"bundled": true "bundled": true,
"optional": true
}, },
"ini": { "ini": {
"version": "1.3.5", "version": "1.3.5",
@ -6893,6 +6899,7 @@
"is-fullwidth-code-point": { "is-fullwidth-code-point": {
"version": "1.0.0", "version": "1.0.0",
"bundled": true, "bundled": true,
"optional": true,
"requires": { "requires": {
"number-is-nan": "^1.0.0" "number-is-nan": "^1.0.0"
} }
@ -6905,17 +6912,20 @@
"minimatch": { "minimatch": {
"version": "3.0.4", "version": "3.0.4",
"bundled": true, "bundled": true,
"optional": true,
"requires": { "requires": {
"brace-expansion": "^1.1.7" "brace-expansion": "^1.1.7"
} }
}, },
"minimist": { "minimist": {
"version": "0.0.8", "version": "0.0.8",
"bundled": true "bundled": true,
"optional": true
}, },
"minipass": { "minipass": {
"version": "2.9.0", "version": "2.9.0",
"bundled": true, "bundled": true,
"optional": true,
"requires": { "requires": {
"safe-buffer": "^5.1.2", "safe-buffer": "^5.1.2",
"yallist": "^3.0.0" "yallist": "^3.0.0"
@ -6932,6 +6942,7 @@
"mkdirp": { "mkdirp": {
"version": "0.5.1", "version": "0.5.1",
"bundled": true, "bundled": true,
"optional": true,
"requires": { "requires": {
"minimist": "0.0.8" "minimist": "0.0.8"
} }
@ -7012,7 +7023,8 @@
}, },
"number-is-nan": { "number-is-nan": {
"version": "1.0.1", "version": "1.0.1",
"bundled": true "bundled": true,
"optional": true
}, },
"object-assign": { "object-assign": {
"version": "4.1.1", "version": "4.1.1",
@ -7022,6 +7034,7 @@
"once": { "once": {
"version": "1.4.0", "version": "1.4.0",
"bundled": true, "bundled": true,
"optional": true,
"requires": { "requires": {
"wrappy": "1" "wrappy": "1"
} }
@ -7127,6 +7140,7 @@
"string-width": { "string-width": {
"version": "1.0.2", "version": "1.0.2",
"bundled": true, "bundled": true,
"optional": true,
"requires": { "requires": {
"code-point-at": "^1.0.0", "code-point-at": "^1.0.0",
"is-fullwidth-code-point": "^1.0.0", "is-fullwidth-code-point": "^1.0.0",

@ -247,6 +247,7 @@ 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,6 +98,9 @@ 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,7 +35,11 @@ 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)
} }
@ -59,6 +63,7 @@ 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)
@ -69,6 +74,8 @@ 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