Merge branch 'master' of github.com:travis-ci/travis-web
This commit is contained in:
commit
acc1b490b3
|
@ -26,11 +26,10 @@ Route = BasicRoute.extend
|
|||
@set('letMoreReposThrough', true)
|
||||
, 5000
|
||||
|
||||
setTimeout =>
|
||||
unless repos.get('length')
|
||||
@store.find('repo').then (reposFromRequest) ->
|
||||
repos.get('external').pushObjects reposFromRequest.toArray().slice(0, 3)
|
||||
, 10000
|
||||
@store.find('build').then (builds) =>
|
||||
repoIds = builds.mapBy('data.repo').uniq().slice(0, 3)
|
||||
@store.find('repo', ids: repoIds).then (reposFromRequest) ->
|
||||
repos.get('external').pushObjects reposFromRequest.toArray()
|
||||
|
||||
@_super.apply this, arguments
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user