Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jio-main
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Hardik Juneja
jio-main
Commits
20a94ca5
Commit
20a94ca5
authored
Jan 24, 2014
by
Tristan Cavelier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
jobChecker.js passes jslint
parent
02333f8c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
src/jio/features/jobChecker.js
src/jio/features/jobChecker.js
+4
-4
No files found.
src/jio/features/jobChecker.js
View file @
20a94ca5
...
...
@@ -17,8 +17,6 @@ function enableJobChecker(jio, shared, options) {
// emits 'job:modified', 'job:start', 'job:resolved',
// 'job:end', 'job:reject' events
var
i
;
shared
.
job_rule_action_names
=
[
undefined
,
"
ok
"
,
"
wait
"
,
"
update
"
,
"
deny
"
];
shared
.
job_rule_actions
=
{
...
...
@@ -200,6 +198,8 @@ function enableJobChecker(jio, shared, options) {
}
}
var
index
;
if
(
options
.
job_management
!==
false
)
{
shared
.
job_rules
=
[{
...
...
@@ -239,8 +239,8 @@ function enableJobChecker(jio, shared, options) {
}
if
(
Array
.
isArray
(
options
.
job_rules
))
{
for
(
i
=
0
;
i
<
options
.
job_rules
.
length
;
i
+=
1
)
{
addJobRule
(
deepClone
(
options
.
job_rules
[
i
]));
for
(
i
ndex
=
0
;
index
<
options
.
job_rules
.
length
;
index
+=
1
)
{
addJobRule
(
deepClone
(
options
.
job_rules
[
i
ndex
]));
}
}
...
...
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