diff options
author | obscuren <geffobscura@gmail.com> | 2014-10-31 17:50:16 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-10-31 17:50:16 +0800 |
commit | 8e0a39f33f9d24ebeca9cc88edf24cc6294552d7 (patch) | |
tree | 347eecc28183ddb9ac81c1e7ae97c755d2e747ba /cmd/mist/assets/ext/setup.js | |
parent | df5603de0a34e80a1af6ad03e37ce43728baad35 (diff) | |
download | go-tangerine-8e0a39f33f9d24ebeca9cc88edf24cc6294552d7.tar go-tangerine-8e0a39f33f9d24ebeca9cc88edf24cc6294552d7.tar.gz go-tangerine-8e0a39f33f9d24ebeca9cc88edf24cc6294552d7.tar.bz2 go-tangerine-8e0a39f33f9d24ebeca9cc88edf24cc6294552d7.tar.lz go-tangerine-8e0a39f33f9d24ebeca9cc88edf24cc6294552d7.tar.xz go-tangerine-8e0a39f33f9d24ebeca9cc88edf24cc6294552d7.tar.zst go-tangerine-8e0a39f33f9d24ebeca9cc88edf24cc6294552d7.zip |
Updated to use ethereum.js
Diffstat (limited to 'cmd/mist/assets/ext/setup.js')
-rw-r--r-- | cmd/mist/assets/ext/setup.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/cmd/mist/assets/ext/setup.js b/cmd/mist/assets/ext/setup.js new file mode 100644 index 000000000..8317937b3 --- /dev/null +++ b/cmd/mist/assets/ext/setup.js @@ -0,0 +1,8 @@ +(function() { + if (typeof(Promise) === "undefined") + window.Promise = Q.Promise; + + var eth = web3.eth; + + web3.setProvider(new web3.providers.QtProvider()); +})() |