Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
Geth-Modification
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
张蕾
Geth-Modification
Commits
92c63275
Commit
92c63275
authored
Apr 24, 2015
by
obscuren
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cmd/geth, jsre: updated ethereum.js => web3.js
parent
516f49c8
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
3 deletions
+5
-3
.gitmodules
.gitmodules
+1
-1
js.go
cmd/geth/js.go
+1
-1
ethereum_js.go
jsre/ethereum_js.go
+3
-1
No files found.
.gitmodules
View file @
92c63275
[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
cmd/geth/js.go
View file @
92c63275
...
...
@@ -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
)
}
...
...
jsre/ethereum_js.go
View file @
92c63275
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment