prevent extra loading of Web3
This commit is contained in:
parent
a0d80d8e39
commit
9745d0bda8
|
@ -6,5 +6,7 @@
|
||||||
(def status-js (slurp "resources/status.js"))
|
(def status-js (slurp "resources/status.js"))
|
||||||
(def wallet-js (str commands-js (slurp "resources/wallet.js")))
|
(def wallet-js (str commands-js (slurp "resources/wallet.js")))
|
||||||
(def webview-js (slurp "resources/webview.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"))
|
(def web3-init (slurp "resources/web3_init.js"))
|
||||||
|
|
Loading…
Reference in New Issue