parent
270560daab
commit
10f4cdf54d
@ -1,13 +1,12 @@ |
||||
var yo = require('yo-yo') |
||||
var css = require('./styles/analysis-tab-styles') |
||||
|
||||
function analysisTab (container) { |
||||
function analysisTab (api = {}, events = {}, opts = {}) { |
||||
var el = yo` |
||||
<div class="${css.analysisTabView} "id="staticanalysisView"> |
||||
</div> |
||||
` |
||||
container.appendChild(el) |
||||
return el |
||||
return { render () { return el } } |
||||
} |
||||
|
||||
module.exports = analysisTab |
||||
|
@ -1,13 +1,12 @@ |
||||
var yo = require('yo-yo') |
||||
var css = require('./styles/debugger-tab-styles') |
||||
|
||||
function debuggerTab (container) { |
||||
function debuggerTab (api = {}, events = {}, opts = {}) { |
||||
var el = yo` |
||||
<div class="${css.debuggerTabView} "id="debugView"> |
||||
<div id="debugger" class="${css.debugger}"></div> |
||||
</div>` |
||||
container.appendChild(el) |
||||
return el |
||||
return { render () { return el } } |
||||
} |
||||
|
||||
module.exports = debuggerTab |
||||
|
@ -1,13 +1,12 @@ |
||||
var yo = require('yo-yo') |
||||
var css = require('./styles/plugin-tab-styles') |
||||
|
||||
function plugintab (container, url) { |
||||
function plugintab (api = {}, events = {}, opts = {}) { |
||||
var el = yo` |
||||
<div class="${css.pluginTabView}" id="pluginView"> |
||||
<iframe class="${css.iframe}" src="${url}/index.html"></iframe> |
||||
<iframe class="${css.iframe}" src="${opts.url}/index.html"></iframe> |
||||
</div>` |
||||
container.appendChild(el) |
||||
return el |
||||
return { render () { return el } } |
||||
} |
||||
|
||||
module.exports = plugintab |
||||
|
Loading…
Reference in new issue