| 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 "fragmentation". | 6 * Factory function to create a View for "fragmentation". |
| 7 * | 7 * |
| 8 * This display of the data shows tree closure/open events as red/green blocks. | 8 * This display of the data shows tree closure/open events as red/green blocks. |
| 9 */ | 9 */ |
| 10 var CreateFragmentationView; | 10 var CreateFragmentationView; |
| (...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 147 var msg = "[duration = " + (run.duration / (60 * 1000)).toFixed(0) + | 147 var msg = "[duration = " + (run.duration / (60 * 1000)).toFixed(0) + |
| 148 " minutes]\n\n" + | 148 " minutes]\n\n" + |
| 149 DateUtil.FormatAsLocalDate(run.entry.timestamp) + "\n\n" + | 149 DateUtil.FormatAsLocalDate(run.entry.timestamp) + "\n\n" + |
| 150 run.entry.author + ":\n\n" + | 150 run.entry.author + ":\n\n" + |
| 151 run.entry.message; | 151 run.entry.message; |
| 152 alert(msg); | 152 alert(msg); |
| 153 }; | 153 }; |
| 154 } | 154 } |
| 155 | 155 |
| 156 })(); // Private implementation. | 156 })(); // Private implementation. |
| OLD | NEW |