Reset parts when fetching log

This commit is contained in:
Piotr Sarnacki 2013-07-16 00:29:27 +02:00
parent e343161017
commit 74dc2bc339

View File

@ -15,6 +15,7 @@ require 'travis/chunk_buffer'
fetch: -> fetch: ->
console.log 'log model: fetching log' if Log.DEBUG console.log 'log model: fetching log' if Log.DEBUG
@setParts()
handlers = handlers =
json: (json) => @loadParts(json['log']['parts']) json: (json) => @loadParts(json['log']['parts'])
text: (text) => @loadText(text) text: (text) => @loadText(text)