1
0
mirror of https://github.com/ansible/awx.git synced 2024-11-01 08:21:15 +03:00

JSHint errors.

cleaned up some errors from jmitchell
This commit is contained in:
Jared Tabor 2015-01-23 11:59:35 -05:00
parent c02e5ffa41
commit b530538b03
2 changed files with 5 additions and 5 deletions

View File

@ -523,11 +523,11 @@ angular.module('SchedulesHelper', [ 'Utilities', 'RestServices', 'SchedulesHelpe
}
itm.nameTip = item.name;
// include the word schedule if the schedule name does not include the word schedule
if (item.name.indexOf("schedule") == -1 && item.name.indexOf("Schedule") == -1) {
if (item.name.indexOf("schedule") === -1 && item.name.indexOf("Schedule") === -1) {
itm.nameTip += " schedule";
}
itm.nameTip += " for "
if (job.name.indexOf("job") == -1 && job.name.indexOf("Job") == -1) {
itm.nameTip += " for ";
if (job.name.indexOf("job") === -1 && job.name.indexOf("Job") === -1) {
itm.nameTip += "job ";
}
itm.nameTip += job.name;

View File

@ -471,7 +471,7 @@ angular.module('AWDirectives', ['RestServices', 'Utilities', 'AuthService', 'Job
trigger: 'hover focus'
});
}
}
};
}])
/*