open-bounty/externs/web3-externs.js
Teemu Patja 2d2d11fc9d
Fix issues with injected web3 and advanced cljs compilation
* use stub js for web3 externs
* upgrade clojurescript

Fixes: #21
2017-02-23 12:26:29 +02:00

13 lines
275 B
JavaScript

/*
externs for web3 injected into js context. needed for things to work with advanced cljs compilation
TODO: probably not a good idea to maintain this manually in the long run*/
var web3 = {
eth: {
accounts: [],
sendTransaction: function() {}
}
};