Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
dream
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
dream
Commits
3604f385
Commit
3604f385
authored
Jan 22, 2015
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Output_viewStationUtilisationGraph: use same code style as others output widgets
parent
bf8d715f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
dream/platform/src/dream/Output_viewStationUtilisationGraph.js
.../platform/src/dream/Output_viewStationUtilisationGraph.js
+3
-4
No files found.
dream/platform/src/dream/Output_viewStationUtilisationGraph.js
View file @
3604f385
...
...
@@ -3,7 +3,7 @@
(
function
(
window
,
rJS
,
$
,
initGadgetMixin
)
{
"
use strict
"
;
function
station_utilisation_graph_widget
(
output_data
)
{
function
station_utilisation_graph_widget
(
data
,
result_id
)
{
var
blockage_data
=
[],
waiting_data
=
[],
failure_data
=
[],
...
...
@@ -15,7 +15,7 @@
// XXX output is still elementList ???
$
.
each
(
output_data
.
elementList
.
sort
(
data
.
result
.
result_list
[
result_id
]
.
elementList
.
sort
(
function
(
a
,
b
)
{
return
a
.
id
<
b
.
id
?
-
1
:
1
;
}
...
...
@@ -146,8 +146,7 @@
})
.
push
(
function
(
simulation_json
)
{
gadget
.
props
.
result_list
=
station_utilisation_graph_widget
(
JSON
.
parse
(
simulation_json
)
.
result
.
result_list
[
gadget
.
props
.
result
]
JSON
.
parse
(
simulation_json
),
gadget
.
props
.
result
);
});
})
...
...
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