mirror of
https://github.com/ansible/awx.git
synced 2026-04-04 17:55:06 -02:30
Addressed jshint errors
This commit is contained in:
@@ -10,16 +10,10 @@
|
|||||||
* @description This controller's for the jobs page
|
* @description This controller's for the jobs page
|
||||||
*/
|
*/
|
||||||
|
|
||||||
export default ['$state', '$rootScope', '$scope', '$stateParams',
|
export default ['$state', '$rootScope', '$scope', '$stateParams', 'Find', 'DeleteJob',
|
||||||
'Find', 'DeleteJob',
|
|
||||||
'GetBasePath', 'Dataset', 'QuerySet', 'ListDefinition', '$interpolate',
|
'GetBasePath', 'Dataset', 'QuerySet', 'ListDefinition', '$interpolate',
|
||||||
'WorkflowJobModel', 'ProjectModel', 'Alert', 'InventorySourceModel',
|
function($state, $rootScope, $scope, $stateParams, Find, DeleteJob,
|
||||||
'AdHocCommandModel', 'JobModel',
|
GetBasePath, Dataset, qs, ListDefinition, $interpolate) {
|
||||||
function($state, $rootScope, $scope, $stateParams,
|
|
||||||
Find, DeleteJob,
|
|
||||||
GetBasePath, Dataset, qs, ListDefinition, $interpolate,
|
|
||||||
WorkflowJob, Project, Alert, InventorySource,
|
|
||||||
AdHocCommand, Job) {
|
|
||||||
|
|
||||||
var list = ListDefinition;
|
var list = ListDefinition;
|
||||||
|
|
||||||
|
|||||||
@@ -41,7 +41,6 @@ export default
|
|||||||
let defaultUrl = GetBasePath('job_templates'),
|
let defaultUrl = GetBasePath('job_templates'),
|
||||||
generator = GenerateForm,
|
generator = GenerateForm,
|
||||||
form = JobTemplateForm(),
|
form = JobTemplateForm(),
|
||||||
base = $location.path().replace(/^\//, '').split('/')[0],
|
|
||||||
master = {},
|
master = {},
|
||||||
id = $stateParams.job_template_id,
|
id = $stateParams.job_template_id,
|
||||||
callback,
|
callback,
|
||||||
|
|||||||
Reference in New Issue
Block a user