diff options
author | Maran <maran.hidskes@gmail.com> | 2014-07-08 20:27:22 +0800 |
---|---|---|
committer | Maran <maran.hidskes@gmail.com> | 2014-07-08 20:27:22 +0800 |
commit | 61d5d107b6f274cb1bf4ba6fda015ae30d28d2a6 (patch) | |
tree | 91991e467757e3118eaf78a26734e74d765f524e | |
parent | 7f9e614b5da75b948a0ba474e37254cb3f27ef0b (diff) | |
download | dexon-61d5d107b6f274cb1bf4ba6fda015ae30d28d2a6.tar.gz dexon-61d5d107b6f274cb1bf4ba6fda015ae30d28d2a6.tar.zst dexon-61d5d107b6f274cb1bf4ba6fda015ae30d28d2a6.zip |
Make script inclusion via QML also relative to asset path
-rw-r--r-- | ethereal/assets/qml/webapp.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ethereal/assets/qml/webapp.qml b/ethereal/assets/qml/webapp.qml index 63927f0eb..401267511 100644 --- a/ethereal/assets/qml/webapp.qml +++ b/ethereal/assets/qml/webapp.qml @@ -38,7 +38,7 @@ ApplicationWindow { experimental.preferences.javascriptEnabled: true experimental.preferences.navigatorQtObjectEnabled: true experimental.preferences.developerExtrasEnabled: true - experimental.userScripts: [ui.assetPath("ext/pre.js"), ui.assetPath("ext/big.js"), ui.assetPath("ext/string.js"), ui.assetPath("ext/ethereum.js")] + experimental.userScripts: ["../ext/pre.js", "../ext/big.js", "../ext/string.js", "../ext/ethereum.js"] experimental.onMessageReceived: { console.log("[onMessageReceived]: ", message.data) // TODO move to messaging.js |