Remove duplicate properties
This commit is contained in:
parent
7650520beb
commit
bdb427492f
|
@ -11,8 +11,6 @@ Commit = Model.extend
|
||||||
authorEmail: DS.attr()
|
authorEmail: DS.attr()
|
||||||
committerName: DS.attr()
|
committerName: DS.attr()
|
||||||
committerEmail: DS.attr()
|
committerEmail: DS.attr()
|
||||||
subject: DS.attr()
|
|
||||||
body: DS.attr()
|
|
||||||
commitedAt: DS.attr()
|
commitedAt: DS.attr()
|
||||||
|
|
||||||
build: DS.belongsTo('build')
|
build: DS.belongsTo('build')
|
||||||
|
|
|
@ -124,10 +124,6 @@ Job = Model.extend DurationCalculations,
|
||||||
@unsubscribe() if @get('state') == 'finished' && Travis.pusher
|
@unsubscribe() if @get('state') == 'finished' && Travis.pusher
|
||||||
).observes('state')
|
).observes('state')
|
||||||
|
|
||||||
isFinished: (->
|
|
||||||
@get('state') in ['passed', 'failed', 'errored', 'canceled']
|
|
||||||
).property('state')
|
|
||||||
|
|
||||||
# TODO: such formattings should be done in controller, but in order
|
# TODO: such formattings should be done in controller, but in order
|
||||||
# to use it there easily, I would have to refactor job and build
|
# to use it there easily, I would have to refactor job and build
|
||||||
# controllers
|
# controllers
|
||||||
|
|
Loading…
Reference in New Issue
Block a user