| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 /** | 5 /** |
| 6 * Factory function to create a View for "peak hours". | 6 * Factory function to create a View for "peak hours". |
| 7 * | 7 * |
| 8 * This display of the data shows tree closure/open totals during peak hours in | 8 * This display of the data shows tree closure/open totals during peak hours in |
| 9 * various time zones. | 9 * various time zones. |
| 10 */ | 10 */ |
| (...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 247 if (d.getUTCDay() == 0) { | 247 if (d.getUTCDay() == 0) { |
| 248 td.className = "sundayName"; | 248 td.className = "sundayName"; |
| 249 } else if (d.getUTCDay() == 6) { | 249 } else if (d.getUTCDay() == 6) { |
| 250 td.className = "saturdayName"; | 250 td.className = "saturdayName"; |
| 251 } | 251 } |
| 252 | 252 |
| 253 td.innerHTML = dateText; | 253 td.innerHTML = dateText; |
| 254 } | 254 } |
| 255 | 255 |
| 256 })(); // Private implementation. | 256 })(); // Private implementation. |
| OLD | NEW |