From 96142291f4ed6e60cec142863a2163c931202010 Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Sun, 3 Mar 2013 20:53:45 -0600 Subject: stats: work on config controls --- python/gras/stats/registry.js | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'python/gras/stats/registry.js') diff --git a/python/gras/stats/registry.js b/python/gras/stats/registry.js index 4b5f2e2..197f874 100644 --- a/python/gras/stats/registry.js +++ b/python/gras/stats/registry.js @@ -1,3 +1,12 @@ +/*********************************************************************** + * Per block registry data structure + **********************************************************************/ +var GrasBlockRegistry = function(id) +{ + this.id = id; + this.enabled = true; +} + /*********************************************************************** * Stats registry data structure **********************************************************************/ @@ -6,6 +15,8 @@ var GrasStatsRegistry = function() this.ids = new Array(); this.enables = new Array(); this.history = new Array(); + this.overall_rate = 2.0; + this.overall_active = true; } GrasStatsRegistry.prototype.appendPoint = function(point) -- cgit