mirror of
https://github.com/atom/atom.git
synced 2026-01-24 14:28:14 -05:00
Kill remaining serialization code
This commit is contained in:
@@ -24,18 +24,15 @@ class EditorStatsView extends ScrollView
|
||||
"#{d.getHours()}:#{mins}"
|
||||
|
||||
@activate: (rootView, state) ->
|
||||
@instance = new EditorStatsView(rootView, state?.eventLog)
|
||||
@instance = new EditorStatsView(rootView)
|
||||
|
||||
@content: (rootView) ->
|
||||
@div class: 'editor-stats-wrapper', tabindex: -1, =>
|
||||
@div class: 'editor-stats', outlet: 'editorStats'
|
||||
|
||||
@serialize: ->
|
||||
@instance.serialize()
|
||||
|
||||
eventLog: []
|
||||
|
||||
initialize: (@rootView, @eventLog = {}) ->
|
||||
initialize: (@rootView) ->
|
||||
super
|
||||
|
||||
@command 'core:cancel', @detach
|
||||
|
||||
Reference in New Issue
Block a user