Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
logging-scratch-gui
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
David Goessmann
logging-scratch-gui
Commits
5ebeac68
Commit
5ebeac68
authored
8 years ago
by
Ray Schamp
Browse files
Options
Downloads
Patches
Plain Diff
Fix names of script glow events
These were named inconsistently in scratch-vm
parent
2060cb0b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/containers/blocks.jsx
+8
-8
8 additions, 8 deletions
src/containers/blocks.jsx
with
8 additions
and
8 deletions
src/containers/blocks.jsx
+
8
−
8
View file @
5ebeac68
...
...
@@ -12,8 +12,8 @@ class Blocks extends React.Component {
bindAll
(
this
,
[
'
attachVM
'
,
'
detachVM
'
,
'
onS
tack
GlowOn
'
,
'
onS
tack
GlowOff
'
,
'
onS
cript
GlowOn
'
,
'
onS
cript
GlowOff
'
,
'
onBlockGlowOn
'
,
'
onBlockGlowOff
'
,
'
onVisualReport
'
,
...
...
@@ -36,25 +36,25 @@ class Blocks extends React.Component {
.
getFlyout
()
.
getWorkspace
()
.
addChangeListener
(
this
.
props
.
vm
.
flyoutBlockListener
);
this
.
props
.
vm
.
on
(
'
S
TACK
_GLOW_ON
'
,
this
.
onS
tack
GlowOn
);
this
.
props
.
vm
.
on
(
'
S
TACK
_GLOW_OFF
'
,
this
.
onS
tack
GlowOff
);
this
.
props
.
vm
.
on
(
'
S
CRIPT
_GLOW_ON
'
,
this
.
onS
cript
GlowOn
);
this
.
props
.
vm
.
on
(
'
S
CRIPT
_GLOW_OFF
'
,
this
.
onS
cript
GlowOff
);
this
.
props
.
vm
.
on
(
'
BLOCK_GLOW_ON
'
,
this
.
onBlockGlowOn
);
this
.
props
.
vm
.
on
(
'
BLOCK_GLOW_OFF
'
,
this
.
onBlockGlowOff
);
this
.
props
.
vm
.
on
(
'
VISUAL_REPORT
'
,
this
.
onVisualReport
);
this
.
props
.
vm
.
on
(
'
workspaceUpdate
'
,
this
.
onWorkspaceUpdate
);
}
detachVM
()
{
this
.
props
.
vm
.
off
(
'
S
TACK
_GLOW_ON
'
,
this
.
onS
tack
GlowOn
);
this
.
props
.
vm
.
off
(
'
S
TACK
_GLOW_OFF
'
,
this
.
onS
tack
GlowOff
);
this
.
props
.
vm
.
off
(
'
S
CRIPT
_GLOW_ON
'
,
this
.
onS
cript
GlowOn
);
this
.
props
.
vm
.
off
(
'
S
CRIPT
_GLOW_OFF
'
,
this
.
onS
cript
GlowOff
);
this
.
props
.
vm
.
off
(
'
BLOCK_GLOW_ON
'
,
this
.
onBlockGlowOn
);
this
.
props
.
vm
.
off
(
'
BLOCK_GLOW_OFF
'
,
this
.
onBlockGlowOff
);
this
.
props
.
vm
.
off
(
'
VISUAL_REPORT
'
,
this
.
onVisualReport
);
this
.
props
.
vm
.
off
(
'
workspaceUpdate
'
,
this
.
onWorkspaceUpdate
);
}
onS
tack
GlowOn
(
data
)
{
onS
cript
GlowOn
(
data
)
{
this
.
workspace
.
glowStack
(
data
.
id
,
true
);
}
onS
tack
GlowOff
(
data
)
{
onS
cript
GlowOff
(
data
)
{
this
.
workspace
.
glowStack
(
data
.
id
,
false
);
}
onBlockGlowOn
(
data
)
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment