go-ethereum/cmd/mist/assets/ext/setup.js

9 lines
177 B
JavaScript
Raw Normal View History

2014-10-31 11:50:16 +02:00
(function() {
if (typeof(Promise) === "undefined")
window.Promise = Q.Promise;
var eth = web3.eth;
web3.setProvider(new web3.providers.QtProvider());
})()