mirror of
https://github.com/status-im/status-mobile.git
synced 2025-02-04 12:55:03 +00:00
add jquery support in WebView
This commit is contained in:
parent
64adf43902
commit
0548ca6f98
5
resources/jquery-3.1.1.min.js
vendored
Normal file
5
resources/jquery-3.1.1.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
@ -11,7 +11,9 @@
|
|||||||
(def dapp-js (str (slurp "resources/dapp.js")))
|
(def dapp-js (str (slurp "resources/dapp.js")))
|
||||||
|
|
||||||
(def webview-js (slurp "resources/webview.js"))
|
(def webview-js (slurp "resources/webview.js"))
|
||||||
(def web3 (str "if (typeof Web3 == 'undefined') {"
|
(def jquery (slurp "resources/jquery-3.1.1.min.js"))
|
||||||
|
(def web3 (str jquery
|
||||||
|
"; if (typeof Web3 == 'undefined') {"
|
||||||
(slurp "resources/web3.0_16_0.min.js")
|
(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…
x
Reference in New Issue
Block a user