Commit 32dad0c5 authored by yann300's avatar yann300 Committed by GitHub

Merge pull request #107 from yann300/sourceMappingDecoder

alpha 8 version
parents 3f146dc9 1d070832
{
"name": "ethereum-remix",
"version": "0.0.2-alpha.0.0.7",
"version": "0.0.2-alpha.0.0.8",
"description": "Ethereum IDE and tools for the web",
"contributors": [
{
......
......@@ -10,7 +10,7 @@ Web3Providers.prototype.addProvider = function (type, obj) {
var web3 = init.loadWeb3()
this.addWeb3(type, web3)
} else if (type === 'vm') {
this.addVM(obj)
this.addVM(type, obj)
} else {
init.extendWeb3(obj)
this.addWeb3(type, obj)
......@@ -29,10 +29,10 @@ Web3Providers.prototype.addWeb3 = function (type, web3) {
this.modes[type] = web3
}
Web3Providers.prototype.addVM = function (vm) {
Web3Providers.prototype.addVM = function (type, vm) {
var vmProvider = new Web3VMProvider()
vmProvider.setVM(vm)
this.modes['VM'] = vmProvider
this.modes[type] = vmProvider
}
module.exports = Web3Providers
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment