destroyed -> isDestroyed

This commit is contained in:
Piotr Sarnacki 2013-05-16 01:51:57 +02:00
parent 685cf1074f
commit 563c1f8773

View File

@ -21,7 +21,7 @@ Travis.reopen
view = @get('controller.container').lookup('view:build')
view.set('controller', @get('controller.container').lookup('controller:build'))
Ember.run.next =>
@set('_outlets', {}) if !@get('_outlets') && !@destroyed
@set('_outlets', {}) if !@get('_outlets') && !@isDestroyed
@connectOutlet('pane', view)
).observes('controller.repo.isLoaded')