Remove some deprecations
This commit is contained in:
parent
a4a75912b0
commit
193a005434
|
@ -6,15 +6,15 @@
|
||||||
Controller = Ember.ObjectController.extend(GithubUrlProperties,
|
Controller = Ember.ObjectController.extend(GithubUrlProperties,
|
||||||
needs: ['builds']
|
needs: ['builds']
|
||||||
isPullRequestsListBinding: 'controllers.builds.isPullRequestsList'
|
isPullRequestsListBinding: 'controllers.builds.isPullRequestsList'
|
||||||
buildBinding: 'content'
|
buildBinding: 'model'
|
||||||
|
|
||||||
color: (->
|
color: (->
|
||||||
colorForState(@get('build.state'))
|
colorForState(@get('build.state'))
|
||||||
).property('build.state')
|
).property('build.state')
|
||||||
|
|
||||||
urlAuthorGravatarImage: (->
|
urlAuthorGravatarImage: (->
|
||||||
gravatarImage(@get('commit.authorEmail'), 40)
|
gravatarImage(@get('build.commit.authorEmail'), 40)
|
||||||
).property('commit.authorEmail')
|
).property('build.commit.authorEmail')
|
||||||
)
|
)
|
||||||
|
|
||||||
`export default Controller`
|
`export default Controller`
|
||||||
|
|
|
@ -9,7 +9,7 @@ View = BasicView.extend
|
||||||
buildBinding: 'controller.build'
|
buildBinding: 'controller.build'
|
||||||
jobBinding: 'controller.job'
|
jobBinding: 'controller.job'
|
||||||
tabBinding: 'controller.tab'
|
tabBinding: 'controller.tab'
|
||||||
currentUserBinding: 'controller.currentUser'
|
currentUserBinding: 'controller.currentUser.model'
|
||||||
slugBinding: 'controller.repo.slug'
|
slugBinding: 'controller.repo.slug'
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user