
This re-adds the Tempest timeline view as a set of Angular directives. This includes related functionality, such as the Dstat parser and some array utilities. The timeline view consists of a timeline component, which includes the d3 chart, and a separate details component, which shows additional information for tests when selected in the timeline. Change-Id: Ifaaeda91b0617e8cf7a60d30728005f5c8d00546
15 lines
270 B
JavaScript
15 lines
270 B
JavaScript
'use strict';
|
|
|
|
var controllersModule = require('./_index');
|
|
|
|
/**
|
|
* @ngInject
|
|
*/
|
|
function MainCtrl($window, $scope) {
|
|
$window.addEventListener('resize', function () {
|
|
$scope.$broadcast('windowResize');
|
|
});
|
|
}
|
|
|
|
controllersModule.controller('MainCtrl', MainCtrl);
|