Chromium Code Reviews| 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..43c6e4856a5cfe06d1dff165d36aaf168953af22 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(1); |
|
esprehn
2014/07/22 02:49:44
1 is the default, you don't need to pass it, thoug
|
| }, |
| }); |
| </script> |