| OLD | NEW |
| 1 <!-- Copyright (c) 2014 The Chromium Authors. All rights reserved. | 1 <!-- Copyright (c) 2014 The Chromium Authors. All rights reserved. |
| 2 Use of this source code is governed by a BSD-style license that can be | 2 Use of this source code is governed by a BSD-style license that can be |
| 3 found in the LICENSE file. --> | 3 found in the LICENSE file. --> |
| 4 | 4 |
| 5 <link rel="import" href="../components/cr-issue-inbox.html"> | 5 <link rel="import" href="../components/cr-issue-inbox.html"> |
| 6 | 6 |
| 7 <polymer-element name="cr-user-view" attributes="username"> | 7 <polymer-element name="cr-user-view" attributes="username"> |
| 8 <template> | 8 <template> |
| 9 <link rel="stylesheet" href="../components/common.css"> | 9 <link rel="stylesheet" href="../common/common.css"> |
| 10 <style> | 10 <style> |
| 11 :host { display: block; } | 11 :host { display: block; } |
| 12 | 12 |
| 13 p { | 13 p { |
| 14 padding: 1em; | 14 padding: 1em; |
| 15 font-size: 2em; | 15 font-size: 2em; |
| 16 } | 16 } |
| 17 </style> | 17 </style> |
| 18 <template if="{{ loading && !failed }}"> | 18 <template if="{{ loading && !failed }}"> |
| 19 <p> | 19 <p> |
| (...skipping 30 matching lines...) Expand all Loading... |
| 50 this.issues.loadIssues().catch(function(error) { | 50 this.issues.loadIssues().catch(function(error) { |
| 51 console.log(error); | 51 console.log(error); |
| 52 self.failed = true; | 52 self.failed = true; |
| 53 }).either(function() { | 53 }).either(function() { |
| 54 self.loading = false; | 54 self.loading = false; |
| 55 }); | 55 }); |
| 56 }, | 56 }, |
| 57 }); | 57 }); |
| 58 </script> | 58 </script> |
| 59 </polymer-element> | 59 </polymer-element> |
| OLD | NEW |