       isLoading={-> TaskPlanStore.isStatsLoading(id)}
       isLoaded={-> TaskPlanStore.isStatsLoaded(id)}
       isFailed={-> TaskPlanStore.isStatsFailed(id)}
-      render={=> <Stats id={id} />}
+      render={-> <Stats id={id} />}
     />
 
 module.exports = {StatsShell, Stats}

Loadable = require '../loadable'

Stats = React.createClass
  _percent: (num,total) ->
    Math.round((num/total) * 100)

  percentDelta: (a,b) ->
    if a > b
      change = a - b
      op = '+'
    else if a == b
      change = 0
      op = ''
    else

      classAverage =
        <BS.Row>
          <BS.Col xs={12}>
            <h3 className='reading-stats-average'>
              <small>Average:</small> {data.mean_grade_percent}%
            </h3>
          </BS.Col>
        </BS.Row>

