Ticker is no longer used

This commit is contained in:
Piotr Sarnacki 2013-07-31 13:52:51 +02:00
parent 1951752f47
commit e8809727bf

View File

@ -1,14 +0,0 @@
@Travis.Ticker = Ember.Object.extend
init: ->
@schedule() unless @get('interval') == -1
tick: ->
context = @get('context')
targets = @get('targets') || [@get('target')]
for target in targets
target = context.get(target) if context
target.tick() if target
@schedule()
schedule: ->
setTimeout((=> @tick()), @get('interval') || Travis.TICK_INTERVAL)