From a98c86f797ea427ef96bc21c717198aff46eae6c Mon Sep 17 00:00:00 2001 From: arkpar Date: Thu, 12 Feb 2015 20:08:01 +0100 Subject: [PATCH] added web3 to deploy object --- mix/qml/Debugger.qml | 2 +- mix/qml/html/WebContainer.html | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/mix/qml/Debugger.qml b/mix/qml/Debugger.qml index 2bf23ccef..61bf5e8cc 100644 --- a/mix/qml/Debugger.qml +++ b/mix/qml/Debugger.qml @@ -426,7 +426,7 @@ Rectangle { Layout.minimumHeight: parent.height Text { anchors.centerIn: parent - anchors.leftMargin: 5() + anchors.leftMargin: 5 font.family: "monospace" color: "#4a4a4a" text: styleData.row; diff --git a/mix/qml/html/WebContainer.html b/mix/qml/html/WebContainer.html index e48668041..372860209 100644 --- a/mix/qml/html/WebContainer.html +++ b/mix/qml/html/WebContainer.html @@ -24,7 +24,8 @@ updateContract = function(address, contractFace) { window.deploy = { contractAddress: address, contractInterface: contractFace, - contract: window.contract + contract: window.contract, + web3: window.web3 }; } };