Commit e60272e7 authored by serapath's avatar serapath

prepare refactor compileTab to class indentation

parent 2a78b811
...@@ -14,10 +14,7 @@ var publishOnSwarm = require('../contract/publishOnSwarm') ...@@ -14,10 +14,7 @@ var publishOnSwarm = require('../contract/publishOnSwarm')
var styles = styleGuide.chooser() var styles = styleGuide.chooser()
var x = { var x = {
compileTab: 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>`
var compileIcon = yo`<i class="fa fa-refresh ${css.icon}" aria-hidden="true"></i>` var compileIcon = yo`<i class="fa fa-refresh ${css.icon}" aria-hidden="true"></i>`
...@@ -301,6 +298,7 @@ function compileTab (appAPI = {}, appEvents = {}, opts = {}) { ...@@ -301,6 +298,7 @@ function compileTab (appAPI = {}, appEvents = {}, opts = {}) {
return el return el
} }
return { render () { return el } } return { render () { return el } }
}
} }
function detailsHelpSection () { function detailsHelpSection () {
......
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