OLD | NEW |
---|---|
(Empty) | |
1 <!-- | |
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 | |
4 found in the LICENSE file. | |
5 --> | |
6 | |
7 <link rel='import' href='ct-commit.html'> | |
8 | |
9 <script> | |
10 | |
11 // A simple map of builder to latest processed revision. | |
12 // FIXME: Stop special casing blink. | |
13 function CTBuilderRevisions(builderData) { | |
14 Object.keys(builderData, function(builder) { | |
15 this[builder] = CTCommit.createIncomplete('http://src.chromium.org/viewvc/bl ink?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
| |
16 }.bind(this)); | |
17 } | |
18 | |
19 </script> | |
OLD | NEW |