Always return created view

This commit is contained in:
Kevin Sawicki
2013-04-25 18:37:07 -07:00
parent 1d9aa7c5e1
commit c8d76edea1

View File

@@ -35,6 +35,7 @@ module.exports =
{@eventLog}
createView: ->
unless @commandLoggerView
unless @commandLoggerView?
CommandLoggerView = require './command-logger-view'
@commandLoggerView = new CommandLoggerView
@commandLoggerView