diff options
author | obscuren <geffobscura@gmail.com> | 2015-01-09 19:45:09 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-01-09 19:45:09 +0800 |
commit | 012a1c25331385aceb94af2a9829a2c6811d31b7 (patch) | |
tree | 3559aab7bdca4a269167a49802a061f156bfeea5 /cmd/mist/assets/qml | |
parent | 585f259b63db323c87643a235fcbb9dc46d3125f (diff) | |
download | go-tangerine-012a1c25331385aceb94af2a9829a2c6811d31b7.tar go-tangerine-012a1c25331385aceb94af2a9829a2c6811d31b7.tar.gz go-tangerine-012a1c25331385aceb94af2a9829a2c6811d31b7.tar.bz2 go-tangerine-012a1c25331385aceb94af2a9829a2c6811d31b7.tar.lz go-tangerine-012a1c25331385aceb94af2a9829a2c6811d31b7.tar.xz go-tangerine-012a1c25331385aceb94af2a9829a2c6811d31b7.tar.zst go-tangerine-012a1c25331385aceb94af2a9829a2c6811d31b7.zip |
Updated ethereum.js
Diffstat (limited to 'cmd/mist/assets/qml')
-rw-r--r-- | cmd/mist/assets/qml/browser.qml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cmd/mist/assets/qml/browser.qml b/cmd/mist/assets/qml/browser.qml index c2f8741bc..589f20dc6 100644 --- a/cmd/mist/assets/qml/browser.qml +++ b/cmd/mist/assets/qml/browser.qml @@ -153,9 +153,9 @@ Rectangle { } function injectJs(js) { - //webview.experimental.navigatorQtObjectEnabled = true; - //webview.experimental.evaluateJavaScript(js) - //webview.experimental.javascriptEnabled = true; + webview.experimental.navigatorQtObjectEnabled = true; + webview.experimental.evaluateJavaScript(js) + webview.experimental.javascriptEnabled = true; } function sendMessage(data) { @@ -166,7 +166,7 @@ Rectangle { experimental.preferences.javascriptEnabled: true experimental.preferences.navigatorQtObjectEnabled: true experimental.preferences.developerExtrasEnabled: true - experimental.userScripts: ["../ext/q.js", "../ext/eth.js/main.js", "../ext/eth.js/qt.js", "../ext/setup.js"] + experimental.userScripts: ["../ext/q.js", "../ext/ethereum.js/lib/web3.js", "../ext/ethereum.js/lib/qt.js", "../ext/setup.js"] experimental.onMessageReceived: { console.log("[onMessageReceived]: ", message.data) // TODO move to messaging.js |