prevent extra loading of Web3

This commit is contained in:
Roman Volosovskyi 2016-12-20 16:33:56 +02:00
parent a0d80d8e39
commit 9745d0bda8
1 changed files with 3 additions and 1 deletions

View File

@ -6,5 +6,7 @@
(def status-js (slurp "resources/status.js"))
(def wallet-js (str commands-js (slurp "resources/wallet.js")))
(def webview-js (slurp "resources/webview.js"))
(def web3 (slurp "resources/web3.0_16_0.min.js"))
(def web3 (str "if (typeof Web3 == 'undefined') {"
(slurp "resources/web3.0_16_0.min.js")
"}"))
(def web3-init (slurp "resources/web3_init.js"))