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

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

Issue 406163003: Cleanup model/ct-commit and use every. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: address review feedback Created 6 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « Tools/GardeningServer/run-unittests.html ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 -->
6 6
7 <link rel="import" href="ct-commit.html"> 7 <link rel="import" href="ct-commit.html">
8 8
9 <polymer-element name="ct-commit-list" attributes="first last commits" noscript> 9 <polymer-element name="ct-commit-list" attributes="first last commits" noscript>
10 <template> 10 <template>
(...skipping 16 matching lines...) Expand all
27 _revisions: [], 27 _revisions: [],
28 28
29 observe: { 29 observe: {
30 first: '_update', 30 first: '_update',
31 last: '_update', 31 last: '_update',
32 }, 32 },
33 33
34 _update: function() { 34 _update: function() {
35 if (!this.first || !this.last) 35 if (!this.first || !this.last)
36 return; 36 return;
37 37 this._revisions = Number.range(this.first, this.last).every();
38 this._revisions = [];
39 for (var i = this.first; i <= this.last; i++)
40 this._revisions.push(i);
41 }, 38 },
42 }); 39 });
43 </script> 40 </script>
44 </polymer-element> 41 </polymer-element>
OLDNEW
« no previous file with comments | « Tools/GardeningServer/run-unittests.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698