diff --git a/src/ui/SolidityLocals.js b/src/ui/SolidityLocals.js index 83a12f1ec6..345aefe38c 100644 --- a/src/ui/SolidityLocals.js +++ b/src/ui/SolidityLocals.js @@ -13,8 +13,7 @@ class SolidityLocals { this.basicPanel = new DropdownPanel('Solidity Locals', { json: true, formatData: solidityTypeFormatter.formatData, - extractData: solidityTypeFormatter.extractData, - extractProperties: solidityTypeFormatter.extractProperties + extractData: solidityTypeFormatter.extractData }) this.init() this.view diff --git a/src/ui/SolidityState.js b/src/ui/SolidityState.js index 544ce6315e..26f3e6ca9b 100644 --- a/src/ui/SolidityState.js +++ b/src/ui/SolidityState.js @@ -12,8 +12,7 @@ function SolidityState (_parent, _traceManager, _codeManager, _solidityProxy) { this.basicPanel = new DropdownPanel('Solidity State', { json: true, formatData: solidityTypeFormatter.formatData, - extractData: solidityTypeFormatter.extractData, - extractProperties: solidityTypeFormatter.extractProperties + extractData: solidityTypeFormatter.extractData }) this.init() this.view diff --git a/src/ui/TreeView.js b/src/ui/TreeView.js index 3ef4a89621..5fd733e029 100644 --- a/src/ui/TreeView.js +++ b/src/ui/TreeView.js @@ -12,7 +12,6 @@ class TreeView { this.beforeJsonValueRendered = opts.beforeJsonValueRendered || noop this.extractData = opts.extractData || this.extractDataDefault this.formatData = opts.formatData || this.formatDataDefault - this.extractProperties = opts.extractProperties || this.extractPropertiesDefault this.view = null this.cssLabel = ui.formatCss(opts.css || {}, style.label) this.cssUl = ui.formatCss(opts.css || {}, style.cssUl) @@ -68,10 +67,6 @@ class TreeView { return yo`
  • ${label}${renderedChildren}
  • ` } - extractPropertiesDefault (key, data) { - return {} - } - formatDataDefault (key, data) { return yo`` }