diff options
author | Dan McGee <dan@archlinux.org> | 2012-11-12 09:43:32 -0600 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2012-11-12 09:43:32 -0600 |
commit | 6859a7568c625cb448f4dd3f25a81caa3cbfcc04 (patch) | |
tree | 26bcf9981fd607f3095636849772d6da0727af35 | |
parent | 55d2d3ae51e1d0aa0927d682b45a3500588ed07b (diff) |
Add comments to visualize JS
Signed-off-by: Dan McGee <dan@archlinux.org>
-rw-r--r-- | visualize/static/visualize.js | 2 |
1 files changed, 2 insertions, 0 deletions
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; |