Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(309)

Side by Side Diff: appengine/chromium_status/static/js/status_viewer/stats_view.js

Issue 778533003: Moved chromium_status to appengine/ (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 statistics. 6 * Factory function to create a View for statistics.
7 * 7 *
8 * The statistics view shows some aggregate totals like how many total hours the 8 * The statistics view shows some aggregate totals like how many total hours the
9 * tree remained closed in the time range. 9 * tree remained closed in the time range.
10 */ 10 */
(...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after
257 function DrawTopList(parent, topList) { 257 function DrawTopList(parent, topList) {
258 var items = []; 258 var items = [];
259 for (var i = 0; i < topList.length; ++i) { 259 for (var i = 0; i < topList.length; ++i) {
260 var str = "[" + topList[i].value + "] " + topList[i].key; 260 var str = "[" + topList[i].value + "] " + topList[i].key;
261 items.push(str); 261 items.push(str);
262 } 262 }
263 DrawList(parent, items, "ol"); 263 DrawList(parent, items, "ol");
264 } 264 }
265 265
266 })(); // Private implementation. 266 })(); // Private implementation.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698