showLoadingIndicator directly in constructor

This commit is contained in:
Marcin Kulik 2012-04-15 19:38:37 +02:00
parent 097a3653dd
commit 736c3c87dc

View File

@ -22,12 +22,12 @@ class AsciiIo.PlayerView extends Backbone.View
@movie.load()
@appendChildViews()
@showLoadingIndicator()
appendChildViews: ->
@$el.addClass('not-started')
@$el.append(@rendererView.$el)
@rendererView.afterInsertedToDom()
@showLoadingIndicator()
@$el.append(@hudView.$el)
onStartPromptClick: ->