Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
baas-ide
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
guxukai
baas-ide
Commits
aa17cbd8
Commit
aa17cbd8
authored
Jan 14, 2019
by
Iuri Matias
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove unnecessary code & properties from plugin tab
parent
bf160db3
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
11 deletions
+5
-11
plugin-tab.js
src/app/tabs/plugin-tab.js
+5
-11
No files found.
src/app/tabs/plugin-tab.js
View file @
aa17cbd8
var
yo
=
require
(
'yo-yo'
)
var
yo
=
require
(
'yo-yo'
)
var
css
=
require
(
'./styles/plugin-tab-styles'
)
var
css
=
require
(
'./styles/plugin-tab-styles'
)
var
globalRegistry
=
require
(
'../../global/registry'
)
var
EventManager
=
require
(
'../../lib/events'
)
class
PluginTab
{
class
PluginTab
{
constructor
(
json
,
localRegistry
)
{
constructor
(
json
)
{
this
.
event
=
new
EventManager
()
this
.
el
=
null
this
.
_view
=
{
el
:
null
}
this
.
data
=
{
json
}
this
.
data
=
{
json
}
this
.
_components
=
{}
this
.
_components
.
registry
=
localRegistry
||
globalRegistry
}
}
render
()
{
render
()
{
if
(
this
.
_view
.
el
)
return
this
.
_view
.
el
if
(
this
.
el
)
return
this
.
el
this
.
_view
.
el
=
yo
`
this
.
el
=
yo
`
<div class="
${
css
.
pluginTabView
}
" id="pluginView">
<div class="
${
css
.
pluginTabView
}
" id="pluginView">
<iframe class="
${
css
.
iframe
}
" src="
${
this
.
data
.
json
.
url
}
/index.html"></iframe>
<iframe class="
${
css
.
iframe
}
" src="
${
this
.
data
.
json
.
url
}
/index.html"></iframe>
</div>`
</div>`
return
this
.
_view
.
el
return
this
.
el
}
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment