Commit a3cd699c authored by yann300's avatar yann300

fix reference

parent 911ba041
...@@ -273,7 +273,7 @@ function makeRecorder (registry, runTabEvent, self) { ...@@ -273,7 +273,7 @@ function makeRecorder (registry, runTabEvent, self) {
if (txArray.length) { if (txArray.length) {
var noInstancesText = self._view.noInstancesText var noInstancesText = self._view.noInstancesText
if (noInstancesText.parentNode) { noInstancesText.parentNode.removeChild(noInstancesText) } if (noInstancesText.parentNode) { noInstancesText.parentNode.removeChild(noInstancesText) }
recorder.run(txArray, accounts, options, abis, linkReferences, udapp, (abi, address, contractName) => { recorder.run(txArray, accounts, options, abis, linkReferences, self._deps.udapp, (abi, address, contractName) => {
self._view.instanceContainer.appendChild(udappUI.renderInstanceFromABI(abi, address, contractName)) self._view.instanceContainer.appendChild(udappUI.renderInstanceFromABI(abi, address, contractName))
}) })
} }
......
...@@ -85,7 +85,7 @@ module.exports = class TestTab { ...@@ -85,7 +85,7 @@ module.exports = class TestTab {
container.innerHTML = '' container.innerHTML = ''
var path = this._deps.fileManager.currentPath() var path = this._deps.fileManager.currentPath()
var tests = [] var tests = []
api.filesFromPath(path, (error, files) => { this._deps.fileManager.filesFromPath(path, (error, files) => {
if (!error) { if (!error) {
for (var file in files) { for (var file in files) {
if (/.(_test.sol)$/.exec(file)) tests.push(path + file) if (/.(_test.sol)$/.exec(file)) tests.push(path + file)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment