Commit 2a78b811 authored by serapath's avatar serapath

prepare refactor compileTab to class

parent 73907c9b
...@@ -13,6 +13,10 @@ var publishOnSwarm = require('../contract/publishOnSwarm') ...@@ -13,6 +13,10 @@ var publishOnSwarm = require('../contract/publishOnSwarm')
var styles = styleGuide.chooser() var styles = styleGuide.chooser()
var x = {
compileTab: compileTab
}
function compileTab (appAPI = {}, appEvents = {}, opts = {}) { function compileTab (appAPI = {}, appEvents = {}, opts = {}) {
// Containers // Containers
var warnCompilationSlow = yo`<i title="Copy Address" style="display:none" class="${css.warnCompilationSlow} fa fa-exclamation-triangle" aria-hidden="true"></i>` var warnCompilationSlow = yo`<i title="Copy Address" style="display:none" class="${css.warnCompilationSlow} fa fa-exclamation-triangle" aria-hidden="true"></i>`
...@@ -316,7 +320,7 @@ function detailsHelpSection () { ...@@ -316,7 +320,7 @@ function detailsHelpSection () {
} }
} }
module.exports = compileTab module.exports = x.compileTab
const css = csjs` const css = csjs`
.compileTabView { .compileTabView {
......
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