Reset parts when fetching log
This commit is contained in:
parent
e343161017
commit
74dc2bc339
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user