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
44549a40
Commit
44549a40
authored
Jan 26, 2017
by
yann300
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CodeListView trigger display event
parent
5257336a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
CodeListView.js
src/ui/CodeListView.js
+8
-0
No files found.
src/ui/CodeListView.js
View file @
44549a40
...
@@ -3,8 +3,10 @@ var style = require('./styles/basicStyles')
...
@@ -3,8 +3,10 @@ var style = require('./styles/basicStyles')
var
yo
=
require
(
'yo-yo'
)
var
yo
=
require
(
'yo-yo'
)
var
ui
=
require
(
'../helpers/ui'
)
var
ui
=
require
(
'../helpers/ui'
)
var
DropdownPanel
=
require
(
'./DropdownPanel'
)
var
DropdownPanel
=
require
(
'./DropdownPanel'
)
var
EventManager
=
require
(
'../lib/eventManager'
)
function
CodeListView
(
_parent
,
_codeManager
)
{
function
CodeListView
(
_parent
,
_codeManager
)
{
this
.
event
=
new
EventManager
()
this
.
parent
=
_parent
this
.
parent
=
_parent
this
.
codeManager
=
_codeManager
this
.
codeManager
=
_codeManager
this
.
code
this
.
code
...
@@ -12,6 +14,12 @@ function CodeListView (_parent, _codeManager) {
...
@@ -12,6 +14,12 @@ function CodeListView (_parent, _codeManager) {
this
.
codeView
this
.
codeView
this
.
itemSelected
this
.
itemSelected
this
.
basicPanel
=
new
DropdownPanel
(
'Instructions'
,
{
json
:
false
})
this
.
basicPanel
=
new
DropdownPanel
(
'Instructions'
,
{
json
:
false
})
this
.
basicPanel
.
event
.
register
(
'hide'
,
()
=>
{
this
.
event
.
trigger
(
'hide'
,
[])
})
this
.
basicPanel
.
event
.
register
(
'show'
,
()
=>
{
this
.
event
.
trigger
(
'show'
,
[])
})
this
.
init
()
this
.
init
()
}
}
...
...
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