Merge pull request #2292 from coreos-inc/frontend-typescript
Upgrading Front-end Client to TypeScript
This commit is contained in:
commit
7c904f2e21
38 changed files with 1021 additions and 759 deletions
|
@ -14,7 +14,7 @@ angular.module('quay').directive('buildLogsView', function () {
|
|||
'buildUpdated': '&buildUpdated',
|
||||
'isSuperUser': '=isSuperUser'
|
||||
},
|
||||
controller: function($scope, $element, $interval, $sanitize, ansi2html, AngularViewArray,
|
||||
controller: function($scope, $element, $interval, $sanitize, ansi2html, ViewArray,
|
||||
AngularPollChannel, ApiService, Restangular, UtilService) {
|
||||
|
||||
var repoStatusApiCall = ApiService.getRepoBuildStatus;
|
||||
|
@ -60,7 +60,7 @@ angular.module('quay').directive('buildLogsView', function () {
|
|||
var entry = logs[i];
|
||||
var type = entry['type'] || 'entry';
|
||||
if (type == 'command' || type == 'phase' || type == 'error') {
|
||||
entry['logs'] = AngularViewArray.create();
|
||||
entry['logs'] = ViewArray.create();
|
||||
entry['index'] = $scope.logStartIndex + i;
|
||||
|
||||
$scope.logEntries.push(entry);
|
||||
|
|
Reference in a new issue