No Bug - Remove unused dependencies thServiceDomain, thResultStatusObject

This commit is contained in:
Jonathan French 2017-12-31 17:41:04 -05:00 коммит произвёл Cameron Dawson
Родитель a83ee853c7
Коммит 0b31c14d30
5 изменённых файлов: 14 добавлений и 14 удалений

Просмотреть файл

@ -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/";