From d597de6a7967957a066939ffbb5d132f0e490a07 Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Fri, 1 Feb 2013 08:34:11 -0800 Subject: [PATCH] Kill remaining serialization code --- src/packages/editor-stats/src/editor-stats-view.coffee | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/packages/editor-stats/src/editor-stats-view.coffee b/src/packages/editor-stats/src/editor-stats-view.coffee index 6738874eb..79358a662 100644 --- a/src/packages/editor-stats/src/editor-stats-view.coffee +++ b/src/packages/editor-stats/src/editor-stats-view.coffee @@ -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