| 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="../lib/sugar.html"> | 7 <link rel="import" href="../lib/sugar.html"> |
| 8 <script src="../scripts/results.js"></script> | 8 <script src="../scripts/results.js"></script> |
| 9 | 9 |
| 10 <link rel="import" href="../bower_components/core-animated-pages/core-animated-p
ages.html"> | 10 <link rel="import" href="../bower_components/core-animated-pages/core-animated-p
ages.html"> |
| 11 <link rel="import" href="../bower_components/core-animated-pages/transitions/sli
de-from-right.html"> | 11 <link rel="import" href="../bower_components/core-animated-pages/transitions/sli
de-from-right.html"> |
| 12 <link rel="import" href="../lib/analytics.html"> |
| 12 <link rel="import" href="../lib/ct-scheduled-updater.html"> | 13 <link rel="import" href="../lib/ct-scheduled-updater.html"> |
| 13 <link rel="import" href="../model/ct-commit-log.html"> | 14 <link rel="import" href="../model/ct-commit-log.html"> |
| 14 <link rel="import" href="../model/ct-failures.html"> | 15 <link rel="import" href="../model/ct-failures.html"> |
| 15 <link rel="import" href="../model/ct-tree-list.html"> | 16 <link rel="import" href="../model/ct-tree-list.html"> |
| 16 <link rel="import" href="ct-results-panel.html"> | 17 <link rel="import" href="ct-results-panel.html"> |
| 17 <link rel="import" href="ct-router.html"> | 18 <link rel="import" href="ct-router.html"> |
| 18 <link rel="import" href="ct-tree-select.html"> | 19 <link rel="import" href="ct-tree-select.html"> |
| 19 <link rel="import" href="ct-unexpected-failures.html"> | 20 <link rel="import" href="ct-unexpected-failures.html"> |
| 20 <link rel="import" href="ct-view.html"> | 21 <link rel="import" href="ct-view.html"> |
| 21 <link rel="import" href="ct-view-handler.html"> | 22 <link rel="import" href="ct-view-handler.html"> |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 94 treeList: null, | 95 treeList: null, |
| 95 examinedFailureGroup: null, | 96 examinedFailureGroup: null, |
| 96 _pendingFailureGroupKey: '', | 97 _pendingFailureGroupKey: '', |
| 97 | 98 |
| 98 created: function() { | 99 created: function() { |
| 99 this.treeList = new CTTreeList(); | 100 this.treeList = new CTTreeList(); |
| 100 this._defaultPath = '/' + this.treeList.defaultValue(); | 101 this._defaultPath = '/' + this.treeList.defaultValue(); |
| 101 this.commitLog = new CTCommitLog(); | 102 this.commitLog = new CTCommitLog(); |
| 102 this.failures = new CTFailures(this.commitLog); | 103 this.failures = new CTFailures(this.commitLog); |
| 103 this._updater = new CTScheduledUpdater(this.update.bind(this), kUpdateFr
equency); | 104 this._updater = new CTScheduledUpdater(this.update.bind(this), kUpdateFr
equency); |
| 105 this._analytics = new Analytics('UA-55762617-1'); |
| 104 }, | 106 }, |
| 105 | 107 |
| 106 ready: function() { | 108 ready: function() { |
| 107 this.update(); | 109 this.update(); |
| 108 }, | 110 }, |
| 109 | 111 |
| 110 update: function() { | 112 update: function() { |
| 111 if (this._promise) | 113 if (this._promise) |
| 112 return; | 114 return; |
| 113 | 115 |
| (...skipping 26 matching lines...) Expand all Loading... |
| 140 url: this.tree, | 142 url: this.tree, |
| 141 replaceState: true | 143 replaceState: true |
| 142 }); | 144 }); |
| 143 } | 145 } |
| 144 | 146 |
| 145 this._pendingFailureGroupKey = ''; | 147 this._pendingFailureGroupKey = ''; |
| 146 }, | 148 }, |
| 147 }); | 149 }); |
| 148 </script> | 150 </script> |
| 149 </polymer-element> | 151 </polymer-element> |
| OLD | NEW |