1 <!-- 2 Copyright 2014 The Chromium Authors. All rights reserved. 3 Use of this source code is governed by a BSD-style license that can be 4 found in the LICENSE file. 5 --> 6 7 <script> 8 function CTBuilderFailure(tree, masterUrl, builder, state, timeSinceLastUpdate, pendingBuilds) { 9 this.tree = tree; 10 this.key = masterUrl + "::" + builder + "::" + state; 11 this.masterUrl = masterUrl; 12 this.builder = builder; 13 this.state = state; 14 this.timeSinceLastUpdate = timeSinceLastUpdate; 15 this.pendingBuilds = pendingBuilds; 16 this.hoursSinceLastUpdate = (timeSinceLastUpdate / (60 * 60)).toFixed(2) 17 } 18 </script> 19