cmd/geth, jsre: updated ethereum.js => web3.js

pull/800/head
obscuren 10 years ago
parent 516f49c812
commit 92c6327593
  1. 2
      .gitmodules
  2. 2
      cmd/geth/js.go
  3. 4
      jsre/ethereum_js.go

2
.gitmodules vendored

@ -1,3 +1,3 @@
[submodule "cmd/mist/assets/ext/ethereum.js"]
path = cmd/mist/assets/ext/ethereum.js
url = https://github.com/ethereum/ethereum.js
url = https://github.com/ethereum/web3.js

@ -118,7 +118,7 @@ func (js *jsre) apiBindings() {
utils.Fatalf("Error loading ethereum.js: %v", err)
}
_, err = js.re.Eval("var web3 = require('ethereum.js');")
_, err = js.re.Eval("var web3 = require('web3');")
if err != nil {
utils.Fatalf("Error requiring web3: %v", err)
}

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save