Set container on View

After updating Ember it complains that using defaultContainer was
deprecated, in order to silence the deprections I just set the container
so it does not uses defaultContainer
This commit is contained in:
Piotr Sarnacki 2013-05-15 16:43:26 +02:00
parent 5f366a2989
commit 1fa040d9a3

View File

@ -1,5 +1,11 @@
require 'ext/ember/namespace'
Em.View.reopen
init: ->
this.container ||= Travis.__container__
@_super.apply(this, arguments)
@Travis.reopen
View: Em.View.extend
popup: (name) ->