No need to destroy parts in runloop

This commit is contained in:
Piotr Sarnacki 2014-12-22 21:11:33 +01:00
parent c13cd4e72e
commit fa6b0fe161

View File

@ -34,9 +34,7 @@ require 'travis/log_chunks'
clearParts: ->
parts = @get('parts')
@notifyPropertyChange('parts')
Ember.run.next ->
# destroy old parts after they're refreshed
parts.destroy()
parts.destroy()
fetch: ->
console.log 'log model: fetching log' if Log.DEBUG