OLD | NEW |
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 <script> | 9 <script> |
10 | 10 |
11 // A simple map of builder to latest processed revision. | 11 // A simple map of builder to latest processed revision. |
12 // FIXME: Stop special casing blink. | 12 // FIXME: Stop special casing blink. |
13 function CTBuilderRevisions(builderData) { | 13 function CTBuilderRevisions(builderData) { |
14 Object.keys(builderData, function(builder, revisions) { | 14 Object.keys(builderData, function(builder, builderInfo) { |
15 this[builder] = CTCommit.createIncomplete('http://src.chromium.org/viewvc/bl
ink?rev={revision}', | 15 this[builder] = CTCommit.createIncomplete('http://src.chromium.org/viewvc/bl
ink?rev={revision}', |
16 parseInt(revisions['blink'], 10), 'blink'); | 16 parseInt(builderInfo.revisions['blink'], 10), 'blink'); |
17 }.bind(this)); | 17 }.bind(this)); |
18 } | 18 } |
19 | 19 |
20 </script> | 20 </script> |
OLD | NEW |