From b1b9a6914602e26c07dda1bcf9eba80ee7ee2ddf Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Fri, 1 Feb 2013 10:34:31 -0800 Subject: [PATCH] :camel: case --- src/packages/editor-stats/src/editor-stats-view.coffee | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/packages/editor-stats/src/editor-stats-view.coffee b/src/packages/editor-stats/src/editor-stats-view.coffee index afa94c8e4..121e969fc 100644 --- a/src/packages/editor-stats/src/editor-stats-view.coffee +++ b/src/packages/editor-stats/src/editor-stats-view.coffee @@ -72,11 +72,11 @@ class EditorStatsView extends ScrollView @updateInterval = setInterval((=> @update()), 5000) update: -> - newdata = d3.entries @stats.eventLog - max = d3.max newdata, (d) -> d.value + newData = d3.entries @stats.eventLog + max = d3.max newData, (d) -> d.value @y.domain [0, max] h = @height() - @bars.data(newdata).transition() + @bars.data(newData).transition() .attr('height', (d, i) => h - @y(d.value) - @pt - @pb) .attr('y', (d, i) => @y(d.value)) @bars.classed('max', (d, i) -> d.value == max)