Skip to content

Commit

Permalink
cmd/geth, jsre: updated ethereum.js => web3.js
Browse files Browse the repository at this point in the history
  • Loading branch information
obscuren committed Apr 24, 2015
1 parent 516f49c commit 92c6327
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion cmd/geth/js.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down
Loading

0 comments on commit 92c6327

Please sign in to comment.