Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(658)

Side by Side Diff: Tools/GardeningServer/model/ct-repository-commit-list.html

Issue 526633002: Apply object updates from the network without blowing away object identity or UI attributes. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Initial Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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.fingerprint = 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.uiStateProperties = ['expanded'];
21
22 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698