| 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 --><html><head><link rel="import" href="ct-commit.html"> |
| 6 <link rel='import' href='ct-commit.html'> | 6 <link rel="import" href="../appengine_module/components/net.html"> |
| 7 <link rel='import' href='../appengine_module/components/net.html'> | |
| 8 <script> | 7 <script> |
| 9 function CTRepository(name, dataUrl, repositoryUrl) { | 8 function CTRepository(name, dataUrl, repositoryUrl) { |
| 10 this.name = name; | 9 this.name = name; |
| 11 this.dataUrl = dataUrl; | 10 this.dataUrl = dataUrl; |
| 12 this.repositoryUrl = repositoryUrl; | 11 this.repositoryUrl = repositoryUrl; |
| 13 this.commits = {}; | 12 this.commits = {}; |
| 14 } | 13 } |
| 15 | 14 |
| 16 CTRepository._endMarker = '__END__'; | 15 CTRepository._endMarker = '__END__'; |
| 17 | 16 |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 92 var commit = CTCommit.createIncomplete(url, revision, this.name); | 91 var commit = CTCommit.createIncomplete(url, revision, this.name); |
| 93 this.commits[revision] = commit; | 92 this.commits[revision] = commit; |
| 94 } | 93 } |
| 95 | 94 |
| 96 if (commit) | 95 if (commit) |
| 97 commits.push(commit); | 96 commits.push(commit); |
| 98 }.bind(this)); | 97 }.bind(this)); |
| 99 return commits; | 98 return commits; |
| 100 } | 99 } |
| 101 </script> | 100 </script> |
| OLD | NEW |