| OLD | NEW |
| 1 <!-- | 1 <!-- |
| 2 Copyright 2015 The Chromium Authors. All rights reserved. | 2 Copyright 2015 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 --><html><head><link rel="import" href="ct-build-failure-ext.html"> |
| 6 <link rel="import" href="ct-build-failure-ext.html"> | |
| 7 | 6 |
| 8 <polymer-element name="ct-alert-extension" attributes="type extension"> | 7 <dom-module id="ct-alert-extension"> |
| 9 <template if="{{type == 'buildfailure'}}"> | 8 <template if="{{type == 'buildfailure'}}"> |
| 10 <ct-build-failure-ext failure="{{ extension }}"></ct-build-failure-ext> | 9 <ct-build-failure-ext failure="{{ extension }}"></ct-build-failure-ext> |
| 11 </template> | 10 </template> |
| 12 <script> | 11 <script> |
| 13 Polymer({ | 12 Polymer({ |
| 14 type: null, | 13 is: 'ct-alert-extension', |
| 15 extension: null | 14 properties: { |
| 15 extension: { |
| 16 value: null, |
| 17 notify: true |
| 18 }, |
| 19 type: { |
| 20 value: null, |
| 21 notify: true |
| 22 } |
| 23 } |
| 16 }); | 24 }); |
| 17 </script> | 25 </script> |
| 18 </polymer-element> | 26 </dom-module> |
| 19 | 27 |
| OLD | NEW |