Merge pull request #2921 from ethereum/add_function_calls_panel
add panel to show function callspull/262/head
commit
843a8084d0
@ -0,0 +1,17 @@ |
||||
'use strict' |
||||
var DropdownPanel = require('./DropdownPanel') |
||||
var yo = require('yo-yo') |
||||
|
||||
function FunctionPanel () { |
||||
this.basicPanel = new DropdownPanel('Function', {json: true, displayContentOnly: false}) |
||||
} |
||||
|
||||
FunctionPanel.prototype.update = function (calldata) { |
||||
this.basicPanel.update(calldata) |
||||
} |
||||
|
||||
FunctionPanel.prototype.render = function () { |
||||
return yo`<div id="FunctionPanel">${this.basicPanel.render()}</div>` |
||||
} |
||||
|
||||
module.exports = FunctionPanel |
Loading…
Reference in new issue