Remove unused files

This commit is contained in:
Piotr Sarnacki 2015-01-28 17:25:48 +01:00
parent 4871409032
commit 5fa2070fc6
2 changed files with 0 additions and 29 deletions

View File

@ -1,28 +0,0 @@
require 'travis/model'
Model = Travis.Model
Event = Model.extend
event: DS.attr()
repositoryId: DS.attr('number')
sourceId: DS.attr('number')
sourceType: DS.attr()
createdAt: DS.attr()
event_: (->
@get('event')
).property('event')
state: (->
@get('data.data.state')
).property('data.data.state')
message: (->
@get('data.data.message')
).property('data.data.message')
source: (->
Travis[type].find(@get('sourceId')) if type = @get('sourceType')
).property('sourceType', 'sourceId')
Travis.Event = Event