diff --git a/kfet/static/kfet/js/statistic.js b/kfet/static/kfet/js/statistic.js index 6ff13df9..7ab56f1d 100644 --- a/kfet/static/kfet/js/statistic.js +++ b/kfet/static/kfet/js/statistic.js @@ -1,16 +1,19 @@ (function($){ window.StatsGroup = function (url, target) { - // context : array of objects {label, url} + // a class to properly display statictics + + // url : points to an ObjectResumeStat that lists the options through JSON // target : element of the DOM where to put the stats + var self = this; var element = $(target); var content = $("