OLD | NEW |
---|---|
1 <!-- | 1 <!-- |
2 Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 3 Use of this source code is governed by a BSD-style license that can be |
4 found in the LICENSE file. | 4 found in the LICENSE file. |
5 --> | 5 --> |
6 | 6 |
7 <link rel="import" href="../bower_components/core-pages/core-pages.html"> | 7 <link rel="import" href="../bower_components/core-pages/core-pages.html"> |
8 <link rel="import" href="../bower_components/paper-tabs/paper-tab.html"> | 8 <link rel="import" href="../bower_components/paper-tabs/paper-tab.html"> |
9 <link rel="import" href="../bower_components/paper-tabs/paper-tabs.html"> | 9 <link rel="import" href="../bower_components/paper-tabs/paper-tabs.html"> |
10 <link rel="import" href="ct-results-detail.html"> | 10 <link rel="import" href="ct-results-detail.html"> |
(...skipping 16 matching lines...) Expand all Loading... | |
27 Polymer({ | 27 Polymer({ |
28 failure: null, | 28 failure: null, |
29 builders: [], | 29 builders: [], |
30 selected: 0, | 30 selected: 0, |
31 | 31 |
32 failureChanged: function() { | 32 failureChanged: function() { |
33 this.builders = Object.getOwnPropertyNames(this.failure.resultNodesByBui lder).sort(); | 33 this.builders = Object.getOwnPropertyNames(this.failure.resultNodesByBui lder).sort(); |
34 this.selected = 0; | 34 this.selected = 0; |
35 }, | 35 }, |
36 | 36 |
37 displayName: function(builder) { | 37 displayName: function(builder) { |
ojan
2014/08/11 19:30:08
We should get rid of this concept. Lets just show
| |
38 return ui.displayNameForBuilder(builder); | 38 return builder.replace(/Webkit /i, ''); |
39 }, | 39 }, |
40 }); | 40 }); |
41 </script> | 41 </script> |
42 </polymer-element> | 42 </polymer-element> |
OLD | NEW |