Chromium Code Reviews| Index: Tools/GardeningServer/model/ct-builder-revisions.html |
| diff --git a/Tools/GardeningServer/model/ct-builder-revisions.html b/Tools/GardeningServer/model/ct-builder-revisions.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..628e5c1f0c874df637996089d8d1793bd8c80131 |
| --- /dev/null |
| +++ b/Tools/GardeningServer/model/ct-builder-revisions.html |
| @@ -0,0 +1,19 @@ |
| +<!-- |
| +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. |
| +--> |
| + |
| +<link rel='import' href='ct-commit.html'> |
| + |
| +<script> |
| + |
| +// A simple map of builder to latest processed revision. |
| +// FIXME: Stop special casing blink. |
| +function CTBuilderRevisions(builderData) { |
| + Object.keys(builderData, function(builder) { |
| + this[builder] = CTCommit.createIncomplete('http://src.chromium.org/viewvc/blink?rev={revision}', parseInt(builderData[builder]['blink']), 'blink'); |
|
ojan
2014/08/05 02:07:23
-Always pass the 10 to parseInt, otherwise it can
leviw_travelin_and_unemployed
2014/08/05 20:51:17
What 10? Is there a value I'm not parseInt-ing her
ojan
2014/08/06 22:58:46
parseInt(builderData[builder]['blink'], 10)
That
|
| + }.bind(this)); |
| +} |
| + |
| +</script> |