testTab: fix indentation of constructor

pull/3094/head
serapath 7 years ago
parent 358bb75ac7
commit f726e530b2
  1. 8
      src/app/tabs/test-tab.js

@ -8,7 +8,8 @@ function append (container, txt) {
container.appendChild(child)
}
function testTab (api = {}, events = {}, opts = {}) {
const prototype = {
constructor: function testTab (api = {}, events = {}, opts = {}) {
let el = prototype.render(api)
let gitterIsLoaded = false
@ -23,10 +24,7 @@ function testTab (api = {}, events = {}, opts = {}) {
})
return { render () { return el } }
}
const prototype = {
constructor: testTab,
},
render: function render (api) {
var container = yo`<div class="tests" id="tests"></div>`

Loading…
Cancel
Save