Ticker is no longer used
This commit is contained in:
parent
1951752f47
commit
e8809727bf
|
@ -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)
|
|
Loading…
Reference in New Issue
Block a user