aboutsummaryrefslogtreecommitdiffstats
path: root/gui/static/stats.js
diff options
context:
space:
mode:
Diffstat (limited to 'gui/static/stats.js')
-rw-r--r--gui/static/stats.js17
1 files changed, 0 insertions, 17 deletions
diff --git a/gui/static/stats.js b/gui/static/stats.js
deleted file mode 100644
index 7b07099..0000000
--- a/gui/static/stats.js
+++ /dev/null
@@ -1,17 +0,0 @@
-var updatefunc = function(event) {
- $('#statdata p').remove();
- $.getJSON('/stats.json', function(result) {
- $.each(result, function(name) {
- // TODO: use a hidden template inside the DOM instead
- // of building the HTML here
- $("<p></p>")
- .append(result[name]['inputstat']['num_underruns'])
- .appendTo('#statdata');
- });
- });
-}
-
-// Handle clicks on the to change visiblity of panes
-setInterval(updatefunc, 1000);
-
-