OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2011 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
(...skipping 20 matching lines...) Expand all Loading... |
31 { | 31 { |
32 return config.waterfallURL + '?' + $.param({ | 32 return config.waterfallURL + '?' + $.param({ |
33 'builder': builderName | 33 'builder': builderName |
34 }); | 34 }); |
35 } | 35 } |
36 | 36 |
37 ui.kUseNewWindowForLinksSetting = 'gardenomatic.use-new-window-for-links'; | 37 ui.kUseNewWindowForLinksSetting = 'gardenomatic.use-new-window-for-links'; |
38 | 38 |
39 ui.displayNameForBuilder = function(builderName) | 39 ui.displayNameForBuilder = function(builderName) |
40 { | 40 { |
41 return builderName.replace(/Webkit /, ''); | 41 return builderName.replace(/Webkit /i, ''); |
42 } | 42 } |
43 | 43 |
44 ui.urlForTest = function(testName) | 44 ui.urlForTest = function(testName) |
45 { | 45 { |
46 return 'http://trac.webkit.org/browser/trunk/LayoutTests/' + testName; | 46 return 'http://trac.webkit.org/browser/trunk/LayoutTests/' + testName; |
47 } | 47 } |
48 | 48 |
49 ui.urlForCrbug = function(bugID) | 49 ui.urlForCrbug = function(bugID) |
50 { | 50 { |
51 return 'http://crbug.com/' + bugID; | 51 return 'http://crbug.com/' + bugID; |
(...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
313 // We want this feature, but need to fetch the lastBlinkRollRevision via
the interwebs. | 313 // We want this feature, but need to fetch the lastBlinkRollRevision via
the interwebs. |
314 // Promise.all([checkout.lastBlinkRollRevision(), rollbot.fetchCurrentRo
ll()]).then(function(results) { | 314 // Promise.all([checkout.lastBlinkRollRevision(), rollbot.fetchCurrentRo
ll()]).then(function(results) { |
315 // theSpan.lastRolledRevision = results[0]; | 315 // theSpan.lastRolledRevision = results[0]; |
316 // theSpan.roll = results[1]; | 316 // theSpan.roll = results[1]; |
317 // theSpan.updateUI(totRevision); | 317 // theSpan.updateUI(totRevision); |
318 // }); | 318 // }); |
319 } | 319 } |
320 }); | 320 }); |
321 | 321 |
322 })(); | 322 })(); |
OLD | NEW |