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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Tools/GardeningServer/run-unittests.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Tools/GardeningServer/ui/ct-commit-list.html
diff --git a/Tools/GardeningServer/ui/ct-commit-list.html b/Tools/GardeningServer/ui/ct-commit-list.html
index 371477b43b58b9ae3268c6a1015c18e1bebcc1ce..3fc9727bdc8fad5edd13c42c2efaf44b4752cc49 100644
--- a/Tools/GardeningServer/ui/ct-commit-list.html
+++ b/Tools/GardeningServer/ui/ct-commit-list.html
@@ -34,10 +34,7 @@ found in the LICENSE file.
_update: function() {
if (!this.first || !this.last)
return;
-
- this._revisions = [];
- for (var i = this.first; i <= this.last; i++)
- this._revisions.push(i);
+ this._revisions = Number.range(this.first, this.last).every();
},
});
</script>
« 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