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="ct-builder.html"> | 7 <link rel="import" href="ct-builder.html"> |
8 | 8 |
9 <!-- Lists builders that are failing and the problematic steps. --> | 9 <!-- Lists builders that are failing and the problematic steps. --> |
10 <polymer-element name="ct-failing-builders" attributes="builders"> | 10 <polymer-element name="ct-failing-builders" attributes="builders"> |
11 <template> | 11 <template> |
12 <style> | 12 <style> |
13 :host { | 13 :host { |
14 display: block; | 14 display: block; |
15 font-size: 0; | 15 font-size: 0; |
16 } | 16 } |
17 | 17 |
18 ct-builder { | 18 ct-builder { |
19 display: inline-block; | 19 display: inline-block; |
20 margin: 0 5px 2px 0; | 20 margin: 0 5px 2px 0; |
21 } | 21 } |
22 </style> | 22 </style> |
23 <template repeat="{{ builder in builders|keys }}"> | 23 <template repeat="{{ builder in builders|keys }}"> |
24 <ct-builder builderName="{{ builder }}" steps="{{ builders[builder] }}"></
ct-builder> | 24 <ct-builder builder="{{ builder }}" steps="{{ builders[builder] }}"></ct-b
uilder> |
25 </template> | 25 </template> |
26 </template> | 26 </template> |
27 <script> | 27 <script> |
28 Polymer({ | 28 Polymer({ |
29 builders: {}, | 29 builders: {}, |
30 | 30 |
31 keys: function(obj) { | 31 keys: function(obj) { |
32 return Object.keys(obj); | 32 return Object.keys(obj); |
33 }, | 33 }, |
34 }); | 34 }); |
35 </script> | 35 </script> |
36 </polymer-element> | 36 </polymer-element> |
OLD | NEW |