| Index: Tools/GardeningServer/model/ct-builder-list.html
|
| diff --git a/Tools/GardeningServer/model/ct-builder-list.html b/Tools/GardeningServer/model/ct-builder-list.html
|
| deleted file mode 100644
|
| index 72a1242cbe218a1a60c28f95684b34b2f96d87b1..0000000000000000000000000000000000000000
|
| --- a/Tools/GardeningServer/model/ct-builder-list.html
|
| +++ /dev/null
|
| @@ -1,36 +0,0 @@
|
| -<!--
|
| -Copyright 2014 The Chromium Authors. All rights reserved.
|
| -Use of this source code is governed by a BSD-style license that can be
|
| -found in the LICENSE file.
|
| --->
|
| -
|
| -<link rel='import' href='ct-builder.html'>
|
| -
|
| -<script>
|
| -// .builders[i] will have the CTBuilder objects
|
| -function CTBuilderList(failures) {
|
| - this.builders = [];
|
| -
|
| - if (!Array.isArray(failures))
|
| - failures = [failures];
|
| -
|
| - var builderMap = {};
|
| - failures.forEach(function(failure) {
|
| - var results = failure.resultNodesByBuilder;
|
| - Object.keys(results, (function(builder, result) {
|
| - if (!builderMap[builder])
|
| - builderMap[builder] = {};
|
| - builderMap[builder][result.masterUrl] = {
|
| - failingBuildCount: result.failingBuildCount,
|
| - };
|
| - }).bind(this));
|
| - }, this);
|
| -
|
| - Object.keys(builderMap).sort().forEach(function(builder) {
|
| - Object.keys(builderMap[builder]).sort().forEach(function(masterUrl) {
|
| - var result = builderMap[builder][masterUrl];
|
| - this.builders.push(new CTBuilder(masterUrl, builder, result.failingBuildCount));
|
| - }, this);
|
| - }, this);
|
| -}
|
| -</script>
|
|
|