diff options
author | Marek Kotewicz <marek.kotewicz@gmail.com> | 2014-11-11 22:47:58 +0800 |
---|---|---|
committer | Marek Kotewicz <marek.kotewicz@gmail.com> | 2014-11-11 22:47:58 +0800 |
commit | 838ca2fd9393e5b3cd4423934de78f1b8f9fd13f (patch) | |
tree | a4dc794d580de2139eb9a5831058778fe88c3c0a /example/index.html | |
parent | 84b36a71939cfc6c673f0fd3fec079ca7e23df6c (diff) | |
download | go-tangerine-838ca2fd9393e5b3cd4423934de78f1b8f9fd13f.tar go-tangerine-838ca2fd9393e5b3cd4423934de78f1b8f9fd13f.tar.gz go-tangerine-838ca2fd9393e5b3cd4423934de78f1b8f9fd13f.tar.bz2 go-tangerine-838ca2fd9393e5b3cd4423934de78f1b8f9fd13f.tar.lz go-tangerine-838ca2fd9393e5b3cd4423934de78f1b8f9fd13f.tar.xz go-tangerine-838ca2fd9393e5b3cd4423934de78f1b8f9fd13f.tar.zst go-tangerine-838ca2fd9393e5b3cd4423934de78f1b8f9fd13f.zip |
autoprovider, buildQt not builds only necessery files, fixed gulpfile
Diffstat (limited to 'example/index.html')
-rw-r--r-- | example/index.html | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/example/index.html b/example/index.html index 202ae70a9..17694cbf6 100644 --- a/example/index.html +++ b/example/index.html @@ -3,7 +3,7 @@ <head> <script type="text/javascript" src="js/es6-promise/promise.min.js"></script> -<script type="text/javascript" src="../dist/ethereum.min.js"></script> +<script type="text/javascript" src="../dist/ethereum.js"></script> <script type="text/javascript"> if (window.Promise === undefined) { @@ -13,8 +13,9 @@ if (window.Promise === undefined) { var web3 = require('web3'); //web3.setProvider(new web3.providers.QtProvider()); -web3.setProvider(new web3.providers.HttpRpcProvider("http://localhost:8080")); +//web3.setProvider(new web3.providers.HttpRpcProvider("http://localhost:8080")); // web3.setProvider(new web3.providers.WebSocketProvider("ws://localhost:40404/eth")); +web3.setProvider(new web3.providers.AutoProvider()); function testSnippet() { web3.eth.watch({altered: web3.eth.coinbase}).changed(function() { |