showLoadingIndicator directly in constructor
This commit is contained in:
parent
097a3653dd
commit
736c3c87dc
@ -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: ->
|
||||
|
Loading…
Reference in New Issue
Block a user