Prepare repo controller for ES6
This commit is contained in:
parent
8f075662ac
commit
3aabd40874
|
@ -1,4 +1,6 @@
|
|||
Travis.RepoController = Ember.Controller.extend
|
||||
githubRepo = Travis.Urls.githubRepo
|
||||
|
||||
Controller = Ember.Controller.extend
|
||||
needs: ['repos', 'currentUser', 'build', 'request', 'job']
|
||||
currentUserBinding: 'controllers.currentUser'
|
||||
|
||||
|
@ -88,5 +90,7 @@ Travis.RepoController = Ember.Controller.extend
|
|||
@set('tab', tab)
|
||||
|
||||
urlGithub: (->
|
||||
Travis.Urls.githubRepo(@get('repo.slug'))
|
||||
githubRepo(@get('repo.slug'))
|
||||
).property('repo.slug')
|
||||
|
||||
Travis.RepoController = Controller
|
||||
|
|
Loading…
Reference in New Issue
Block a user