Commit cd8b855f authored by Iuri Matias's avatar Iuri Matias

remove unused parameters from the plugin tab constructor

parent ec97db96
......@@ -160,7 +160,7 @@ function RighthandPanel (appAPI, events, opts) {
self.pluginManager = new PluginManager(appAPI, events)
events.rhp.register('plugin-loadRequest', (json) => {
var content = pluginTab(optionViews, {}, {}, {}, json.url)
var content = pluginTab(optionViews, json.url)
this._view.tabbedMenu.addTab(json.title, 'plugin', content)
self.pluginManager.register(json, content)
})
......
var yo = require('yo-yo')
var css = require('./styles/plugin-tab-styles')
function plugintab (container, appAPI, events, opts, url) {
function plugintab (container, url) {
var el = yo`
<div class="${css.pluginTabView}" id="pluginView">
<iframe class="${css.iframe}" src="${url}/index.html"></iframe>
......
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