mirror of
https://github.com/ansible/awx.git
synced 2026-05-07 17:37:37 -02:30
jshint fixes
This commit is contained in:
@@ -17,11 +17,11 @@ if ($basePath) {
|
|||||||
urlPrefix = $basePath;
|
urlPrefix = $basePath;
|
||||||
}
|
}
|
||||||
|
|
||||||
import * as Helpers from 'tower/helpers';
|
import 'tower/helpers';
|
||||||
import * as Forms from 'tower/forms';
|
import 'tower/forms';
|
||||||
import * as Lists from 'tower/lists';
|
import 'tower/lists';
|
||||||
import * as Widgets from 'tower/widgets';
|
import 'tower/widgets';
|
||||||
import * as Help from 'tower/help';
|
import 'tower/help';
|
||||||
import {Home, HomeGroups, HomeHosts} from 'tower/controllers/Home';
|
import {Home, HomeGroups, HomeHosts} from 'tower/controllers/Home';
|
||||||
import {SocketsController} from 'tower/controllers/Sockets';
|
import {SocketsController} from 'tower/controllers/Sockets';
|
||||||
import {Authenticate} from 'tower/controllers/Authentication';
|
import {Authenticate} from 'tower/controllers/Authentication';
|
||||||
@@ -56,7 +56,7 @@ var tower = angular.module('Tower', [
|
|||||||
dashboardGraphs.name,
|
dashboardGraphs.name,
|
||||||
'AuthService',
|
'AuthService',
|
||||||
'Utilities',
|
'Utilities',
|
||||||
Helpers.License.name,
|
'License',
|
||||||
'OrganizationFormDefinition',
|
'OrganizationFormDefinition',
|
||||||
'UserFormDefinition',
|
'UserFormDefinition',
|
||||||
'FormGenerator',
|
'FormGenerator',
|
||||||
|
|||||||
@@ -55,4 +55,4 @@ export
|
|||||||
SurveyQuestion,
|
SurveyQuestion,
|
||||||
Teams,
|
Teams,
|
||||||
Users
|
Users
|
||||||
}
|
};
|
||||||
|
|||||||
@@ -8,4 +8,4 @@ export
|
|||||||
FirefoxSocketHelp,
|
FirefoxSocketHelp,
|
||||||
InventoryGroups,
|
InventoryGroups,
|
||||||
SafariSocketHelp
|
SafariSocketHelp
|
||||||
}
|
};
|
||||||
|
|||||||
@@ -79,4 +79,4 @@ export
|
|||||||
RelatedSearch,
|
RelatedSearch,
|
||||||
Search,
|
Search,
|
||||||
Teams
|
Teams
|
||||||
}
|
};
|
||||||
|
|||||||
@@ -58,4 +58,4 @@ export
|
|||||||
Streams,
|
Streams,
|
||||||
Teams,
|
Teams,
|
||||||
Users
|
Users
|
||||||
}
|
};
|
||||||
|
|||||||
@@ -86,4 +86,4 @@ export default function() {
|
|||||||
|
|
||||||
chartModel.update();
|
chartModel.update();
|
||||||
};
|
};
|
||||||
};
|
}
|
||||||
|
|||||||
@@ -1,11 +1,11 @@
|
|||||||
HostCountGraphData.$inject =
|
export default
|
||||||
[ "Rest",
|
[ "Rest",
|
||||||
"GetBasePath",
|
"GetBasePath",
|
||||||
"ProcessErrors",
|
"ProcessErrors",
|
||||||
"$q"
|
"$q",
|
||||||
]
|
HostCountGraphData
|
||||||
|
];
|
||||||
|
|
||||||
export default
|
|
||||||
function HostCountGraphData(Rest, getBasePath, processErrors, $q) {
|
function HostCountGraphData(Rest, getBasePath, processErrors, $q) {
|
||||||
|
|
||||||
function pluck(property, promise) {
|
function pluck(property, promise) {
|
||||||
@@ -40,7 +40,6 @@ export default
|
|||||||
processErrors(null, response.data, response.status, null, { hdr: 'Error!',
|
processErrors(null, response.data, response.status, null, { hdr: 'Error!',
|
||||||
msg: errorMessage
|
msg: errorMessage
|
||||||
});
|
});
|
||||||
return response;
|
|
||||||
return $q.reject(response);
|
return $q.reject(response);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -22,4 +22,4 @@ export
|
|||||||
PortalJobs,
|
PortalJobs,
|
||||||
SCMSyncStatus,
|
SCMSyncStatus,
|
||||||
Stream
|
Stream
|
||||||
}
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user