Commit 3dc81a17 authored by yann300's avatar yann300

remove extractProperties

parent 22d2d804
...@@ -13,8 +13,7 @@ class SolidityLocals { ...@@ -13,8 +13,7 @@ class SolidityLocals {
this.basicPanel = new DropdownPanel('Solidity Locals', { this.basicPanel = new DropdownPanel('Solidity Locals', {
json: true, json: true,
formatData: solidityTypeFormatter.formatData, formatData: solidityTypeFormatter.formatData,
extractData: solidityTypeFormatter.extractData, extractData: solidityTypeFormatter.extractData
extractProperties: solidityTypeFormatter.extractProperties
}) })
this.init() this.init()
this.view this.view
......
...@@ -12,8 +12,7 @@ function SolidityState (_parent, _traceManager, _codeManager, _solidityProxy) { ...@@ -12,8 +12,7 @@ function SolidityState (_parent, _traceManager, _codeManager, _solidityProxy) {
this.basicPanel = new DropdownPanel('Solidity State', { this.basicPanel = new DropdownPanel('Solidity State', {
json: true, json: true,
formatData: solidityTypeFormatter.formatData, formatData: solidityTypeFormatter.formatData,
extractData: solidityTypeFormatter.extractData, extractData: solidityTypeFormatter.extractData
extractProperties: solidityTypeFormatter.extractProperties
}) })
this.init() this.init()
this.view this.view
......
...@@ -12,7 +12,6 @@ class TreeView { ...@@ -12,7 +12,6 @@ class TreeView {
this.beforeJsonValueRendered = opts.beforeJsonValueRendered || noop this.beforeJsonValueRendered = opts.beforeJsonValueRendered || noop
this.extractData = opts.extractData || this.extractDataDefault this.extractData = opts.extractData || this.extractDataDefault
this.formatData = opts.formatData || this.formatDataDefault this.formatData = opts.formatData || this.formatDataDefault
this.extractProperties = opts.extractProperties || this.extractPropertiesDefault
this.view = null this.view = null
this.cssLabel = ui.formatCss(opts.css || {}, style.label) this.cssLabel = ui.formatCss(opts.css || {}, style.label)
this.cssUl = ui.formatCss(opts.css || {}, style.cssUl) this.cssUl = ui.formatCss(opts.css || {}, style.cssUl)
...@@ -68,10 +67,6 @@ class TreeView { ...@@ -68,10 +67,6 @@ class TreeView {
return yo`<li id=${key + (new Date().getUTCMilliseconds())} style=${this.cssLi}>${label}${renderedChildren}</li>` return yo`<li id=${key + (new Date().getUTCMilliseconds())} style=${this.cssLi}>${label}${renderedChildren}</li>`
} }
extractPropertiesDefault (key, data) {
return {}
}
formatDataDefault (key, data) { formatDataDefault (key, data) {
return yo`<label>${key}: ${data.self}</label>` return yo`<label>${key}: ${data.self}</label>`
} }
......
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