зеркало из https://github.com/mozilla/treeherder.git
Bug 1435998 - Fix/enable eslint 'strict' (#3198)
With ES6, the `'use strict'` directives are unnecessary: https://eslint.org/docs/rules/strict The directives have been left in the Neutrino configs, since they are used by node directly, which doesn't yet support ES6 modules.
This commit is contained in:
Родитель
cfe3a82466
Коммит
0397e82f0e
|
@ -29,8 +29,6 @@ Create a controller
|
|||
|
||||
The most basic of controllers would look like this::
|
||||
|
||||
"use strict";
|
||||
|
||||
treeherder.controller('JobFooPluginCtrl',
|
||||
function JobFooPluginCtrl($scope) {
|
||||
|
||||
|
|
|
@ -77,7 +77,6 @@ module.exports = neutrino => {
|
|||
'react/require-default-props': 'off',
|
||||
'space-infix-ops': 'off',
|
||||
'spaced-comment': 'off',
|
||||
'strict': 'off',
|
||||
'vars-on-top': 'off',
|
||||
},
|
||||
globals: [
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
'use strict';
|
||||
|
||||
/* jasmine specs for controllers go here */
|
||||
|
||||
describe('BugFilerCtrl', function() {
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
'use strict';
|
||||
|
||||
/* jasmine specs for controllers go here */
|
||||
|
||||
describe('JobsCtrl', function(){
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
'use strict';
|
||||
|
||||
/* jasmine specs for controllers go here */
|
||||
|
||||
describe('PinboardCtrl', function(){
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
'use strict';
|
||||
|
||||
describe('linkifyURLs filter', function() {
|
||||
var $filter;
|
||||
beforeEach(angular.mock.module('treeherder'));
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
'use strict';
|
||||
|
||||
// Karma/webpack entry for tests
|
||||
|
||||
// Global variables are set here instead of with webpack.ProvidePlugin
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
'use strict';
|
||||
|
||||
require('../../../../ui/js/models/job.js');
|
||||
describe('ThJobModel', function(){
|
||||
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
'use strict';
|
||||
|
||||
describe('ThResultSetStore', function(){
|
||||
|
||||
var $httpBackend,
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
'use strict';
|
||||
const mount = require('enzyme').mount;
|
||||
const revisions = require('../../../../ui/js/reactrevisions.jsx');
|
||||
const RevisionList = revisions.RevisionList;
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
'use strict';
|
||||
|
||||
// Webpack entry point for failurereviewer.html
|
||||
// Scripts and styles included here are automatically included on the page at build time
|
||||
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
'use strict';
|
||||
|
||||
// Webpack entry point for index.html
|
||||
// Scripts and styles included here are automatically included on the page at build time
|
||||
require('./js/config');
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
'use strict';
|
||||
|
||||
// Webpack entry point for logviewer.html
|
||||
// Scripts and styles included here are automatically included on the page at build time
|
||||
require('./js/config');
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
'use strict';
|
||||
|
||||
// Webpack entry point for perf.html
|
||||
// Scripts and styles included here are automatically included on the page at build time
|
||||
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
'use strict';
|
||||
|
||||
// Webpack entry point for userguide.html
|
||||
// Scripts and styles included here are automatically included on the page at build time
|
||||
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
'use strict';
|
||||
|
||||
// This is a run block which, when used on an angular module, loads all
|
||||
// of the partials in /ui/partials and /ui/plugins into the Angular
|
||||
// template cache. This means that ng-includes and templateUrls will not
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
'use strict';
|
||||
|
||||
treeherder.component('thLogViewer', {
|
||||
templateUrl: 'partials/logviewer/logviewer.html',
|
||||
controller: ['$sce', '$location', '$element', '$scope', '$rootScope',
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
'use strict';
|
||||
|
||||
treeherder.component('phCompareTable', {
|
||||
templateUrl: ['$attrs', function ($attrs) {
|
||||
if ($attrs.type === 'trend') {
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
'use strict';
|
||||
|
||||
// Check for a config file and use it if available
|
||||
try {
|
||||
// (Requiring via context allows us to avoid ugly warnings when no file is present)
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
'use strict';
|
||||
|
||||
//treeherder.config(['$logProvider', 'ThLogConfigProvider',
|
||||
// function($logProvider, ThLogConfigProvider) {
|
||||
//
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
"use strict";
|
||||
|
||||
treeherder.controller('BugFilerCtrl', [
|
||||
'$scope', '$uibModalInstance', '$http', 'summary',
|
||||
'search_terms', 'fullLog', 'parsedLog', 'reftest', 'selectedJob',
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
'use strict';
|
||||
|
||||
failureViewerApp.controller('FailureViewerCtrl', [
|
||||
'$q', '$location', '$rootScope', '$scope', '$window',
|
||||
'thUrl', 'thNotify', 'ThClassifiedFailuresModel',
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
"use strict";
|
||||
|
||||
treeherderApp.controller('JobFilterCtrl', [
|
||||
'$scope', '$rootScope',
|
||||
'thResultStatusList', 'thEvents', 'thJobFilters',
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
"use strict";
|
||||
|
||||
treeherderApp.controller('JobsCtrl', [
|
||||
'$scope', '$rootScope', '$routeParams',
|
||||
'thDefaultRepo',
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
'use strict';
|
||||
|
||||
logViewerApp.controller('LogviewerCtrl', [
|
||||
'$location', '$window', '$document', '$rootScope', '$scope',
|
||||
'$timeout', 'ThTextLogStepModel', 'ThJobDetailModel',
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
"use strict";
|
||||
|
||||
treeherderApp.controller('MainCtrl', [
|
||||
'$scope', '$rootScope', '$location', '$timeout', '$q',
|
||||
'ThLog', 'ThRepositoryModel', 'thPinboard', 'thTabs', '$document',
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
"use strict";
|
||||
|
||||
treeherderApp.controller('NotificationCtrl', [
|
||||
'$scope', 'thNotify',
|
||||
function NotificationCtrl($scope, thNotify) {
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
"use strict";
|
||||
|
||||
perf.factory('PhBugs', [
|
||||
'$http', '$httpParamSerializer', '$interpolate', '$rootScope', 'dateFilter', 'thServiceDomain',
|
||||
function ($http, $httpParamSerializer, $interpolate, $rootScope, dateFilter, thServiceDomain) {
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
"use strict";
|
||||
|
||||
perf.controller('CompareChooserCtrl', [
|
||||
'$state', '$stateParams', '$scope', '$q', 'ThRepositoryModel', 'ThResultSetModel',
|
||||
'phCompareDefaultNewRepo', 'phCompareDefaultOriginalRepo',
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
"use strict";
|
||||
|
||||
perf.value('defaultTimeRange', 86400 * 2);
|
||||
|
||||
perf.controller('dashCtrl', [
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
"use strict";
|
||||
|
||||
perf.controller('GraphsCtrl', [
|
||||
'$state', '$stateParams', '$scope', '$rootScope', '$uibModal',
|
||||
'$window', 'thServiceDomain', '$q', '$timeout', 'PhSeries', 'PhAlerts',
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
"use strict";
|
||||
|
||||
treeherderApp.controller('RepositoryMenuCtrl', [
|
||||
'$scope', 'ThRepositoryModel',
|
||||
function RepositoryMenuCtrl(
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
"use strict";
|
||||
|
||||
treeherderApp.controller('SettingsCtrl',
|
||||
function SheriffController() {
|
||||
}
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
"use strict";
|
||||
|
||||
import { slugid } from 'taskcluster-client-web';
|
||||
|
||||
treeherder.controller('TCJobActionsCtrl', [
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
"use strict";
|
||||
|
||||
userguideApp.controller('UserguideCtrl', ['$scope',
|
||||
function UserguideCtrl($scope) {
|
||||
|
||||
|
|
|
@ -1,6 +1,3 @@
|
|||
'use strict';
|
||||
|
||||
|
||||
treeherder.directive('thPinnedJob', [
|
||||
'thResultStatusInfo', 'thResultStatus',
|
||||
function (thResultStatusInfo, thResultStatus) {
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
'use strict';
|
||||
|
||||
/* Directives */
|
||||
treeherder.directive('thCloneJobs', [
|
||||
'$rootScope', 'ThLog', 'thUrl', 'thCloneHtml',
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
'use strict';
|
||||
|
||||
treeherder.directive('lvLogSteps', ['$timeout', ($timeout) => {
|
||||
function getOffsetOfStep(order) {
|
||||
const el = $('.lv-step[order="' + order + '"]');
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
'use strict';
|
||||
|
||||
treeherder.directive('ngRightClick', [
|
||||
'$parse',
|
||||
function ($parse) {
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
'use strict';
|
||||
|
||||
treeherder.directive('thActionButton', function () {
|
||||
return {
|
||||
restrict: "E",
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
'use strict';
|
||||
|
||||
treeherder.directive('thWatchedRepo', [
|
||||
'ThLog', 'ThRepositoryModel',
|
||||
function (ThLog, ThRepositoryModel) {
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
'use strict';
|
||||
|
||||
var failureViewerApp = angular.module('failureviewer', ['treeherder']);
|
||||
|
||||
failureViewerApp.config(['$compileProvider', '$locationProvider',
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
'use strict';
|
||||
|
||||
/* Filters */
|
||||
|
||||
treeherder.filter('showOrHide', function () {
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
'use strict';
|
||||
|
||||
var logViewerApp = angular.module('logviewer', ['treeherder']);
|
||||
|
||||
logViewerApp.config(['$compileProvider', '$locationProvider', '$resourceProvider',
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
'use strict';
|
||||
|
||||
treeherder.factory('ThBugJobMapModel', [
|
||||
'$http', 'thUrl',
|
||||
function ($http, thUrl) {
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
"use strict";
|
||||
|
||||
treeherder.factory('ThBugSuggestionsModel', [
|
||||
'$resource', 'thUrl', function ($resource, thUrl) {
|
||||
return $resource(thUrl.getRootUrl('/project/:project/jobs/:jobId/bug_suggestions/'));
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
'use strict';
|
||||
|
||||
treeherder.factory('ThBuildPlatformModel', [
|
||||
'$http', 'thUrl',
|
||||
function ($http, thUrl) {
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
'use strict';
|
||||
|
||||
treeherder.factory('ThJobClassificationModel', [
|
||||
'$http', 'thUrl',
|
||||
function ($http, thUrl) {
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
'use strict';
|
||||
|
||||
treeherder.factory('ThClassifiedFailuresModel', [
|
||||
'$http', '$q', 'thUrl',
|
||||
function ($http, $q, thUrl) {
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
'use strict';
|
||||
|
||||
treeherder.factory('ThFailureLinesModel', [
|
||||
'$http', '$q', 'thUrl',
|
||||
function ($http, $q, thUrl) {
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
'use strict';
|
||||
|
||||
treeherder.factory('ThJobModel', [
|
||||
'$http', 'thUrl', 'thPlatformName', '$q',
|
||||
function ($http, thUrl, thPlatformName, $q) {
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
'use strict';
|
||||
|
||||
treeherder.factory('ThJobDetailModel', [
|
||||
'$http', 'thUrl', function ($http, thUrl) {
|
||||
return {
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
'use strict';
|
||||
|
||||
treeherder.factory('ThJobGroupModel', [
|
||||
'$http', 'thUrl',
|
||||
function ($http, thUrl) {
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
'use strict';
|
||||
|
||||
treeherder.factory('ThJobLogUrlModel', [
|
||||
'$http', 'thUrl',
|
||||
function ($http, thUrl) {
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
'use strict';
|
||||
|
||||
treeherder.factory('ThJobTypeModel', [
|
||||
'$http', 'thUrl',
|
||||
function ($http, thUrl) {
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
'use strict';
|
||||
|
||||
treeherder.factory('ThMatcherModel', [
|
||||
'$http', 'thUrl',
|
||||
function ($http, thUrl) {
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
'use strict';
|
||||
|
||||
treeherder.factory('ThOptionCollectionModel', [
|
||||
'$http', 'thUrl',
|
||||
function ($http, thUrl) {
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
"use strict";
|
||||
|
||||
treeherder.factory('PhAlerts', [
|
||||
'$http', '$httpParamSerializer', '$q', 'thServiceDomain', 'ThOptionCollectionModel', 'PhSeries',
|
||||
'phAlertSummaryStatusMap', 'phAlertStatusMap', 'thPerformanceBranches', 'displayNumberFilter',
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
"use strict";
|
||||
|
||||
treeherder.factory(
|
||||
'PhFramework', [
|
||||
'$http', 'thServiceDomain',
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
"use strict";
|
||||
|
||||
treeherder.factory('PhSeries', ['$http', 'thServiceDomain', 'ThOptionCollectionModel', '$q', function ($http, thServiceDomain, ThOptionCollectionModel, $q) {
|
||||
|
||||
var _getTestName = function (signatureProps) {
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
'use strict';
|
||||
|
||||
treeherder.factory('ThRepositoryModel', [
|
||||
'$http', 'thUrl', '$rootScope', 'ThLog', '$interval',
|
||||
'$q', 'treeStatus', 'thRepoGroupOrder',
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
'use strict';
|
||||
|
||||
import { Queue, slugid } from 'taskcluster-client-web';
|
||||
import thTaskcluster from '../services/taskcluster';
|
||||
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
'use strict';
|
||||
|
||||
treeherder.factory('ThResultSetStore', [
|
||||
'$rootScope', '$q', '$location', '$interval', 'thPlatformMap',
|
||||
'ThResultSetModel', 'ThJobModel', 'thEvents',
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
'use strict';
|
||||
|
||||
treeherder.factory('ThRunnableJobModel', [
|
||||
'thUrl', 'ThJobModel',
|
||||
function (thUrl, ThJobModel) {
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
'use strict';
|
||||
|
||||
treeherder.factory('ThTextLogErrorsModel', [
|
||||
'$http', '$q', 'thUrl',
|
||||
function ($http, $q, thUrl) {
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
'use strict';
|
||||
|
||||
treeherder.factory('ThTextLogStepModel', [
|
||||
'$resource', 'thUrl', function ($resource, thUrl) {
|
||||
return $resource(thUrl.getRootUrl('/project/:project/jobs/:jobId/text_log_steps/'));
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
'use strict';
|
||||
|
||||
treeherder.factory('ThUserModel', [
|
||||
'$http', 'thUrl', 'thNotify', '$q',
|
||||
function ($http, thUrl, thNotify, $q) {
|
||||
|
|
|
@ -1,3 +1 @@
|
|||
"use strict";
|
||||
|
||||
module.exports = angular.module("perf", ['ui.router', 'ui.bootstrap', 'treeherder', 'angular-clipboard']);
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
"use strict";
|
||||
|
||||
// configure the router here, after we have defined all the controllers etc
|
||||
perf.config(['$compileProvider', '$locationProvider', '$httpProvider', '$stateProvider', '$urlRouterProvider',
|
||||
function ($compileProvider, $locationProvider, $httpProvider, $stateProvider, $urlRouterProvider) {
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
"use strict";
|
||||
|
||||
treeherder.provider('thServiceDomain', function () {
|
||||
this.$get = function () {
|
||||
// The SERVICE_DOMAIN global is set by webpack's DefinePlugin.
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
'use strict';
|
||||
|
||||
const PropTypes = require('prop-types');
|
||||
|
||||
const MoreRevisionsLink = props => (
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
'use strict';
|
||||
|
||||
treeherder.factory('thBuildApi', [
|
||||
'$http', 'thNotify',
|
||||
function ($http, thNotify) {
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
'use strict';
|
||||
|
||||
treeherder.factory('thClassificationTypes', [
|
||||
'$http', 'thUrl',
|
||||
function ($http, thUrl) {
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
'use strict';
|
||||
|
||||
/**
|
||||
This service handles whether or not a job, job group or platform row should
|
||||
be displayed based on the filter settings.
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
'use strict';
|
||||
|
||||
treeherder.service('JsonPushes', ['$http', '$q', function ($http, $q) {
|
||||
// error handler helper
|
||||
var prevRevsErrHandler = function (response) {
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
'use strict';
|
||||
|
||||
treeherder.factory('ThLog', [
|
||||
'$log', 'ThLogConfig',
|
||||
function ($log, ThLogConfig) {
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
'use strict';
|
||||
|
||||
import { Queue } from 'taskcluster-client-web';
|
||||
import thTaskcluster from './taskcluster';
|
||||
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
"use strict";
|
||||
|
||||
treeherder.factory('PhCompare', [
|
||||
'$q', '$http', '$httpParamSerializer', 'thServiceDomain', 'PhSeries', 'math', 'phTimeRanges',
|
||||
function ($q, $http, $httpParamSerializer, thServiceDomain, PhSeries, math, phTimeRanges) {
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
"use strict";
|
||||
|
||||
treeherder.factory('math', [
|
||||
function () {
|
||||
function percentOf(a, b) {
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
'use strict';
|
||||
|
||||
treeherder.factory('thPinboard', [
|
||||
'ThJobClassificationModel', '$rootScope', 'thEvents',
|
||||
'ThBugJobMapModel', 'thNotify', 'ThModelErrors', 'ThLog', 'ThResultSetStore', 'thPinboardCountError',
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
'use strict';
|
||||
|
||||
treeherder.factory('treeStatus', [
|
||||
'$http',
|
||||
function ($http) {
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
'use strict';
|
||||
|
||||
/*exported treeherder*/
|
||||
module.exports = angular.module('treeherder',
|
||||
['ngResource', 'ngSanitize', 'LocalStorageModule']);
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
'use strict';
|
||||
|
||||
var treeherderApp = angular.module('treeherder.app',
|
||||
['treeherder', 'ui.bootstrap', 'ngRoute',
|
||||
'mc.resizer', 'angular-toArrayFilter', 'react',
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
'use strict';
|
||||
|
||||
var userguideApp = angular.module('userguide', []);
|
||||
|
||||
userguideApp.config(['$compileProvider', function ($compileProvider) {
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
'use strict';
|
||||
|
||||
import treeFavicon from '../img/tree_open.png';
|
||||
import closedTreeFavicon from '../img/tree_closed.png';
|
||||
import { platformMap } from './constants';
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
"use strict";
|
||||
|
||||
treeherder.controller('AnnotationsPluginCtrl', [
|
||||
'$scope', '$rootScope', 'ThLog', 'thNotify',
|
||||
'thEvents', 'ThResultSetStore', 'thTabs',
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
'use strict';
|
||||
import PropTypes from 'prop-types';
|
||||
|
||||
const RelatedBugSaved = (props) => {
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
"use strict";
|
||||
|
||||
treeherder.factory('thStringOverlap', function () {
|
||||
return function (str1, str2) {
|
||||
// Get a measure of the similarity of two strings by a simple process
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
"use strict";
|
||||
|
||||
import { Queue, slugid } from 'taskcluster-client-web';
|
||||
import thTaskcluster from '../js/services/taskcluster';
|
||||
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
"use strict";
|
||||
|
||||
treeherder.controller('BugsPluginCtrl', [
|
||||
'$scope', '$rootScope', 'ThLog', 'ThTextLogStepModel',
|
||||
'ThBugSuggestionsModel', 'thPinboard', 'thEvents',
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
'use strict';
|
||||
const PropTypes = require('prop-types');
|
||||
|
||||
class SuggestionsListItem extends React.Component {
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
'use strict';
|
||||
const PropTypes = require('prop-types');
|
||||
|
||||
// using ES6 arrow function syntax throws an error for this particular component
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
"use strict";
|
||||
|
||||
treeherder.controller('PinboardCtrl', [
|
||||
'$scope', '$rootScope', '$document', '$timeout', 'thEvents', 'thPinboard', 'thNotify', 'ThLog',
|
||||
function PinboardCtrl(
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
"use strict";
|
||||
|
||||
treeherder.controller('SimilarJobsPluginCtrl', [
|
||||
'$scope', 'ThLog', 'ThJobModel', 'ThTextLogStepModel', 'thResultStatusInfo',
|
||||
'numberFilter', 'dateFilter', 'thClassificationTypes',
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
'use strict';
|
||||
|
||||
treeherder.factory('thTabs', [
|
||||
function () {
|
||||
var thTabs = {
|
||||
|
|
Загрузка…
Ссылка в новой задаче