OLD | NEW |
| (Empty) |
1 <!-- | |
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 | |
4 found in the LICENSE file. | |
5 --> | |
6 | |
7 <script> | |
8 function CTRepositoryCommitList(repository, commits) { | |
9 this.name = repository; | |
10 this.key = repository; | |
11 this.range = this._displayRange(commits); | |
12 this.commits = commits; | |
13 this.expanded = false; | |
14 } | |
15 | |
16 CTRepositoryCommitList.prototype._displayRange = function(commits) { | |
17 return commits.first().revision + " : " + commits.last().revision; | |
18 }; | |
19 | |
20 CTRepositoryCommitList.transientProperties = ['expanded']; | |
21 | |
22 </script> | |
OLD | NEW |