aboutsummaryrefslogtreecommitdiffstats
path: root/internal/jsre/jsre.go
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2017-01-13 04:28:35 +0800
committerFelix Lange <fjl@users.noreply.github.com>2017-01-13 04:28:35 +0800
commit93077c98e43610122ad0933b20a44f04a8f4b6b2 (patch)
tree03ee3478a1e9f7b7ec31ea11039c210c978b0a05 /internal/jsre/jsre.go
parent3dab303826a4a6bcfe6c804daa947e704eaf9708 (diff)
downloaddexon-93077c98e43610122ad0933b20a44f04a8f4b6b2.tar
dexon-93077c98e43610122ad0933b20a44f04a8f4b6b2.tar.gz
dexon-93077c98e43610122ad0933b20a44f04a8f4b6b2.tar.bz2
dexon-93077c98e43610122ad0933b20a44f04a8f4b6b2.tar.lz
dexon-93077c98e43610122ad0933b20a44f04a8f4b6b2.tar.xz
dexon-93077c98e43610122ad0933b20a44f04a8f4b6b2.tar.zst
dexon-93077c98e43610122ad0933b20a44f04a8f4b6b2.zip
internal: update web3.js to 0.18.1, embed deps with go-bindata (#3545)
Diffstat (limited to 'internal/jsre/jsre.go')
-rw-r--r--internal/jsre/jsre.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/internal/jsre/jsre.go b/internal/jsre/jsre.go
index 17b686c6a..f05865eca 100644
--- a/internal/jsre/jsre.go
+++ b/internal/jsre/jsre.go
@@ -27,9 +27,15 @@ import (
"time"
"github.com/ethereum/go-ethereum/common"
+ "github.com/ethereum/go-ethereum/internal/jsre/deps"
"github.com/robertkrimen/otto"
)
+var (
+ BigNumber_JS = deps.MustAsset("bignumber.js")
+ Web3_JS = deps.MustAsset("web3.js")
+)
+
/*
JSRE is a generic JS runtime environment embedding the otto JS interpreter.
It provides some helper functions to