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

Unified 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: Simplify and document updateLeft() using the fact that it returns the resulting object. 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 side-by-side diff with in-line comments
Download patch
Index: Tools/GardeningServer/model/ct-repository-commit-list.html
diff --git a/Tools/GardeningServer/model/ct-repository-commit-list.html b/Tools/GardeningServer/model/ct-repository-commit-list.html
new file mode 100644
index 0000000000000000000000000000000000000000..dacf0c8573d0079b8d4a733a50abbdadd2fec132
--- /dev/null
+++ b/Tools/GardeningServer/model/ct-repository-commit-list.html
@@ -0,0 +1,22 @@
+<!--
+Copyright 2014 The Chromium Authors. All rights reserved.
+Use of this source code is governed by a BSD-style license that can be
+found in the LICENSE file.
+-->
+
+<script>
+function CTRepositoryCommitList(repository, commits) {
+ this.name = repository;
+ this.key = repository;
+ this.range = this._displayRange(commits);
+ this.commits = commits;
+ this.expanded = false;
+}
+
+CTRepositoryCommitList.prototype._displayRange = function(commits) {
+ return commits.first().revision + " : " + commits.last().revision;
+};
+
+CTRepositoryCommitList.transientProperties = ['expanded'];
+
+</script>
« no previous file with comments | « Tools/GardeningServer/model/ct-failures.html ('k') | Tools/GardeningServer/model/test/ct-failure-group-tests.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698