| 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 11 matching lines...) Expand all Loading... |
| 22 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF | 22 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF |
| 23 * THE POSSIBILITY OF SUCH DAMAGE. | 23 * THE POSSIBILITY OF SUCH DAMAGE. |
| 24 */ | 24 */ |
| 25 | 25 |
| 26 (function() { | 26 (function() { |
| 27 | 27 |
| 28 var g_info = null; | 28 var g_info = null; |
| 29 var g_revisionHint = null; | 29 var g_revisionHint = null; |
| 30 | 30 |
| 31 var g_updateTimerId = 0; | 31 var g_updateTimerId = 0; |
| 32 var g_buildersFailing = null; | |
| 33 | 32 |
| 34 var g_unexpectedFailuresController = null; | 33 var g_unexpectedFailuresController = null; |
| 35 | |
| 36 var g_nonLayoutTestFailureBuilders = null; | 34 var g_nonLayoutTestFailureBuilders = null; |
| 37 | 35 |
| 38 var g_updating = false; | 36 var g_updating = false; |
| 39 var g_updateButton = null; | 37 var g_updateButton = null; |
| 40 | 38 |
| 41 function updatePartyTime() | 39 function updatePartyTime() |
| 42 { | 40 { |
| 43 if (!g_unexpectedFailuresController.length() && !g_nonLayoutTestFailureBuild
ers.hasFailures()) | 41 if (!g_unexpectedFailuresController.length() && !g_nonLayoutTestFailureBuild
ers.hasFailures()) |
| 44 $('#onebar').addClass('partytime'); | 42 $('#onebar').addClass('partytime'); |
| 45 else | 43 else |
| (...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 147 var treeStatus = new ui.TreeStatus(); | 145 var treeStatus = new ui.TreeStatus(); |
| 148 topBar.appendChild(treeStatus); | 146 topBar.appendChild(treeStatus); |
| 149 | 147 |
| 150 unexpected.appendChild(g_info); | 148 unexpected.appendChild(g_info); |
| 151 unexpected.appendChild(unexpectedFailuresView); | 149 unexpected.appendChild(unexpectedFailuresView); |
| 152 | 150 |
| 153 update(); | 151 update(); |
| 154 }); | 152 }); |
| 155 | 153 |
| 156 })(); | 154 })(); |
| OLD | NEW |