mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
expose d3 to the view
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user