зеркало из https://github.com/mozilla/treeherder.git
No Bug - Remove unused dependencies thServiceDomain, thResultStatusObject
This commit is contained in:
Родитель
a83ee853c7
Коммит
0b31c14d30
|
@ -87,13 +87,13 @@ treeherderApp.controller('JobsCtrl', [
|
|||
|
||||
treeherderApp.controller('ResultSetCtrl', [
|
||||
'$scope', '$rootScope', '$http', 'ThLog', '$location',
|
||||
'thUrl', 'thServiceDomain', 'thResultStatusInfo', 'thDateFormat',
|
||||
'thUrl', 'thResultStatusInfo', 'thDateFormat',
|
||||
'ThResultSetStore', 'thEvents', 'thJobFilters', 'thNotify',
|
||||
'thBuildApi', 'thPinboard', 'ThResultSetModel', 'dateFilter',
|
||||
'ThModelErrors', 'ThJobModel', 'ThTaskclusterErrors', '$uibModal', 'thPinboardCountError',
|
||||
function ResultSetCtrl(
|
||||
$scope, $rootScope, $http, ThLog, $location,
|
||||
thUrl, thServiceDomain, thResultStatusInfo, thDateFormat,
|
||||
thUrl, thResultStatusInfo, thDateFormat,
|
||||
ThResultSetStore, thEvents, thJobFilters, thNotify,
|
||||
thBuildApi, thPinboard, ThResultSetModel, dateFilter, ThModelErrors,
|
||||
ThJobModel, ThTaskclusterErrors, $uibModal, thPinboardCountError) {
|
||||
|
|
|
@ -4,11 +4,11 @@ perf.value('defaultTimeRange', 86400 * 2);
|
|||
|
||||
perf.controller('dashCtrl', [
|
||||
'$state', '$stateParams', '$scope', '$rootScope', '$q', '$http', '$httpParamSerializer',
|
||||
'ThRepositoryModel', 'ThResultSetModel', 'PhSeries', 'PhCompare', 'thServiceDomain',
|
||||
'ThRepositoryModel', 'ThResultSetModel', 'PhSeries', 'PhCompare',
|
||||
'thDefaultRepo', 'phTimeRanges', 'defaultTimeRange', 'phBlockers', 'phDashboardValues',
|
||||
function dashCtrl($state, $stateParams, $scope, $rootScope, $q, $http, $httpParamSerializer,
|
||||
ThRepositoryModel, ThResultSetModel, PhSeries, PhCompare,
|
||||
thServiceDomain, thDefaultRepo, phTimeRanges,
|
||||
thDefaultRepo, phTimeRanges,
|
||||
defaultTimeRange, phBlockers, phDashboardValues) {
|
||||
|
||||
$scope.dataLoading = true;
|
||||
|
@ -214,11 +214,11 @@ perf.controller('dashCtrl', [
|
|||
|
||||
perf.controller('dashSubtestCtrl', [
|
||||
'$state', '$stateParams', '$scope', '$rootScope', '$q', '$http',
|
||||
'ThRepositoryModel', 'ThResultSetModel', 'PhSeries', 'PhCompare', 'thServiceDomain',
|
||||
'ThRepositoryModel', 'ThResultSetModel', 'PhSeries', 'PhCompare',
|
||||
'thDefaultRepo', 'phTimeRanges', 'defaultTimeRange', 'phDashboardValues',
|
||||
function ($state, $stateParams, $scope, $rootScope, $q, $http,
|
||||
ThRepositoryModel, ThResultSetModel, PhSeries, PhCompare,
|
||||
thServiceDomain, thDefaultRepo, phTimeRanges, defaultTimeRange,
|
||||
thDefaultRepo, phTimeRanges, defaultTimeRange,
|
||||
phDashboardValues) {
|
||||
|
||||
var baseSignature = $stateParams.baseSignature;
|
||||
|
|
|
@ -3,14 +3,14 @@
|
|||
/* Directives */
|
||||
treeherder.directive('thCloneJobs', [
|
||||
'$rootScope', '$http', 'ThLog', 'thUrl', 'thCloneHtml',
|
||||
'thServiceDomain', 'thResultStatusInfo', 'thEvents', 'thAggregateIds',
|
||||
'thJobFilters', 'thResultStatusObject', 'ThResultSetStore',
|
||||
'thResultStatusInfo', 'thEvents', 'thAggregateIds',
|
||||
'thJobFilters', 'ThResultSetStore',
|
||||
'ThJobModel', 'linkifyBugsFilter', 'thResultStatus', 'thPlatformName',
|
||||
'thNotify', '$timeout', '$compile',
|
||||
function (
|
||||
$rootScope, $http, ThLog, thUrl, thCloneHtml,
|
||||
thServiceDomain, thResultStatusInfo, thEvents, thAggregateIds,
|
||||
thJobFilters, thResultStatusObject, ThResultSetStore,
|
||||
thResultStatusInfo, thEvents, thAggregateIds,
|
||||
thJobFilters, ThResultSetStore,
|
||||
ThJobModel, linkifyBugsFilter, thResultStatus, thPlatformName,
|
||||
thNotify, $timeout, $compile) {
|
||||
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
'use strict';
|
||||
|
||||
treeherder.factory('ThResultSetModel', ['$rootScope', '$http', '$location',
|
||||
'$q', '$interpolate', 'thUrl', 'thResultStatusObject', 'thEvents', 'tcactions',
|
||||
'$q', '$interpolate', 'thUrl', 'thEvents', 'tcactions',
|
||||
'thServiceDomain', 'ThLog', 'thNotify', 'ThJobModel', 'thTaskcluster', 'jsyaml',
|
||||
function ($rootScope, $http, $location, $q, $interpolate, thUrl,
|
||||
thResultStatusObject, thEvents, tcactions, thServiceDomain, ThLog,
|
||||
thEvents, tcactions, thServiceDomain, ThLog,
|
||||
thNotify, ThJobModel, thTaskcluster, jsyaml) {
|
||||
|
||||
var $log = new ThLog("ThResultSetModel");
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
'use strict';
|
||||
|
||||
treeherder.factory('thBuildApi', [
|
||||
'$http', '$location', 'thUrl', 'thServiceDomain', 'ThLog', 'thNotify',
|
||||
function ($http, $location, thUrl, thServiceDomain, ThLog, thNotify) {
|
||||
'$http', '$location', 'thUrl', 'ThLog', 'thNotify',
|
||||
function ($http, $location, thUrl, ThLog, thNotify) {
|
||||
|
||||
var selfServeUrl = "https://secure.pub.build.mozilla.org/buildapi/self-serve/";
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче