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/net.html"> |
7 <link rel='import' href='ct-commit.html'> | 8 <link rel='import' href='ct-commit.html'> |
8 | |
9 <link rel='import' href='ct-repositories.html'> | 9 <link rel='import' href='ct-repositories.html'> |
10 | 10 |
11 <script> | 11 <script> |
12 function CTCommitLog() { | 12 function CTCommitLog() { |
13 this.commits = {}; | 13 this.commits = {}; |
14 this.firstRevision = {}; | 14 this.firstRevision = {}; |
15 this.lastRevision = {}; | 15 this.lastRevision = {}; |
16 this._repositories = new CTRepositories(); | 16 this._repositories = new CTRepositories(); |
17 } | 17 } |
18 | 18 |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 if (commit) | 57 if (commit) |
58 commits.push(commit); | 58 commits.push(commit); |
59 } else { | 59 } else { |
60 var url = this._repositories.repositories[repository].repositoryUrl; | 60 var url = this._repositories.repositories[repository].repositoryUrl; |
61 commits.push(CTCommit.createIncomplete(url, revision, repository)); | 61 commits.push(CTCommit.createIncomplete(url, revision, repository)); |
62 } | 62 } |
63 } | 63 } |
64 return commits; | 64 return commits; |
65 } | 65 } |
66 </script> | 66 </script> |
OLD | NEW |