Commit f3681345 authored by Iuri Matias's avatar Iuri Matias Committed by yann300

refactor settings into a class; add render method

parent 9dc1ad76
......@@ -11,7 +11,7 @@ var Card = require('../ui/card')
var Recorder = require('../../recorder')
var css = require('./styles/run-tab-styles')
var settingsUI = require('./runTab/settings.js')
var SettingsUI = require('./runTab/settings.js')
var contractDropdownUI = require('./runTab/contractDropdown.js')
function runTab (opts, localRegistry) {
......@@ -128,9 +128,10 @@ function runTab (opts, localRegistry) {
/* -------------------------
MAIN HTML ELEMENT
--------------------------- */
var settingsUI = new SettingsUI(container, self)
var el = yo`
<div>
${settingsUI(container, self)}
${settingsUI.render()}
${contractDropdownUI(self.event, self)}
${recorderCard.render()}
${self._view.instanceContainer}
......
This diff is collapsed.
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