go-ethereum/cmd/mist/assets/ext/setup.js
2014-10-31 10:50:16 +01:00

9 lines
177 B
JavaScript

(function() {
if (typeof(Promise) === "undefined")
window.Promise = Q.Promise;
var eth = web3.eth;
web3.setProvider(new web3.providers.QtProvider());
})()