expose d3 to the view

This commit is contained in:
Justin Palmer
2013-01-29 13:38:19 -08:00
parent e3831dddba
commit 740d929cdd

View File

@@ -11,6 +11,8 @@ class EditorStatsView extends ScrollView
minute = date.getMinutes()
"#{hour}:#{minute}"
d3 = require 'd3.v3'
@activate: (rootView, state) ->
@instance = new EditorStatsView(rootView, state?.eventLog)