Enable updating times

This commit is contained in:
Piotr Sarnacki 2015-01-28 14:12:08 +01:00
parent 8b1fd91af4
commit 59d2592577
2 changed files with 4 additions and 4 deletions

View File

@ -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, ->

View File

@ -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(