Index: Tools/GardeningServer/ui/ct-commit-data.html |
diff --git a/Tools/GardeningServer/ui/ct-commit-data.html b/Tools/GardeningServer/ui/ct-commit-data.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..1fca5d78324138cf7a1a22d0ef656b43d224cc38 |
--- /dev/null |
+++ b/Tools/GardeningServer/ui/ct-commit-data.html |
@@ -0,0 +1,24 @@ |
+<!-- |
+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. |
+--> |
+ |
+<polymer-element name="ct-commit-data" attributes="first last data"> |
+ <script> |
+ Polymer({ |
+ data: [], |
+ first: 0, |
+ last: 0, |
+ firstChanged: function() { |
+ this.update_(); |
+ }, |
+ lastChanged: function() { |
+ this.update_(); |
+ }, |
+ update_: function() { |
+ this.data = model.commitDataListForRevisionRange(this.first, this.last); |
+ }, |
+ }); |
+ </script> |
+</polymer-element> |