remove unused parameters from the plugin tab constructor

pull/1/head
Iuri Matias 7 years ago
parent ec97db96f9
commit cd8b855f65
  1. 2
      src/app/panels/righthand-panel.js
  2. 2
      src/app/tabs/plugin-tab.js

@ -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)
})

@ -1,7 +1,7 @@
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>

Loading…
Cancel
Save