From 6859a7568c625cb448f4dd3f25a81caa3cbfcc04 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Mon, 12 Nov 2012 09:43:32 -0600 Subject: Add comments to visualize JS Signed-off-by: Dan McGee --- visualize/static/visualize.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'visualize') diff --git a/visualize/static/visualize.js b/visualize/static/visualize.js index 307c38c4..7e240d44 100644 --- a/visualize/static/visualize.js +++ b/visualize/static/visualize.js @@ -115,6 +115,7 @@ function packages_treemap(chart_id, orderings, default_order) { make_group_button(k, v); }); + /* adapt the chart size when the browser resizes */ var resize_timeout = null; var real_resize = function() { resize_timeout = null; @@ -275,6 +276,7 @@ function developer_keys(chart_id, data_url) { .start(); }); + /* adapt the chart size when the browser resizes */ var resize_timeout = null; var real_resize = function() { resize_timeout = null; -- cgit v1.2.3-55-g3dc8