 
 REFRESH_INTERVAL = 1000 * 60 * 5
 
-isDev = if !!~location.host.indexOf 'demo' or +location.port > 1000 then true else false
+isDev = if !!~location.host.indexOf('demo') or +location.port > 1000 then true else false
 
 class HomePage extends Controller
   className: 'home-page'

      total = subjectStatus.reduce (pv, cv, i, arr) ->
        pv + cv.count
      , 0
      complete = subjectStatus[1].count # eh

      @totalImages.html formatNumber total
      @percentComplete.html "#{ (complete / total) * 100 }%"

module.exports = HomePage

  elements:
    '#user-count': 'userCount'
    '#classification-count': 'classificationCount'
    '#total-images': 'totalImages'
    '#percent-complete': 'percentComplete'
  
  constructor: ->
