
Conflicts: assets/scripts/app/controllers/job.coffee assets/scripts/app/models/job.coffee
16 lines
460 B
CoffeeScript
16 lines
460 B
CoffeeScript
Travis.JobController = Em.Controller.extend
|
|
needs: ['repo']
|
|
|
|
jobBinding: 'controllers.repo.job'
|
|
repoBinding: 'controllers.repo.repo'
|
|
commitBinding: 'job.commit'
|
|
annotationsBinding: 'job.annotations'
|
|
currentUserBinding: 'controllers.repo.currentUser'
|
|
tabBinding: 'controllers.repo.tab'
|
|
|
|
currentItemBinding: 'job'
|
|
|
|
urlGithubCommit: (->
|
|
Travis.Urls.githubCommit(@get('repo.slug'), @get('commit.sha'))
|
|
).property('repo.slug', 'commit.sha')
|