Enable updating times
This commit is contained in:
parent
8b1fd91af4
commit
59d2592577
|
@ -13,8 +13,8 @@ Controller = Ember.Controller.extend
|
|||
|
||||
init: ->
|
||||
@_super.apply this, arguments
|
||||
#if !Ember.testing
|
||||
# Visibility.every Travis.INTERVALS.updateTimes, @updateTimes.bind(this)
|
||||
if !Ember.testing
|
||||
Visibility.every Travis.INTERVALS.updateTimes, @updateTimes.bind(this)
|
||||
|
||||
updateTimes: ->
|
||||
Ember.run this, ->
|
||||
|
|
|
@ -28,8 +28,8 @@ Travis.ReposController = Ember.ArrayController.extend
|
|||
|
||||
init: ->
|
||||
@_super.apply this, arguments
|
||||
#if !Ember.testing
|
||||
# Visibility.every Travis.INTERVALS.updateTimes, @updateTimes.bind(this)
|
||||
if !Ember.testing
|
||||
Visibility.every Travis.INTERVALS.updateTimes, @updateTimes.bind(this)
|
||||
|
||||
recentRepos: (->
|
||||
Ember.ArrayProxy.extend(
|
||||
|
|
Loading…
Reference in New Issue
Block a user