text: import { injectReducer } from '../../store/reducers'
  
  export default (store) => ({
    path: 'AVAILStats',
    /*  Async getComponent is only invoked when route matches   */
    getComponent (nextState, cb) {
      /*  Webpack - use 'require.ensure' to create a split point
          and embed an async module loader (jsonp) when bundling   */
      require.ensure([], (require) => {
        /*  Webpack - use require callback to define
            dependencies for bundling   */
        const AVAILStats = require('./containers/AVAILStatsContainer').default
        const reducer = require('./modules/AVAILStats').default
  
        /*  Add the reducer to the store on key 'counter'  */
        injectReducer(store, { key: 'AVAILStats', reducer })
  
        /*  Return getComponent   */
        cb(null, AVAILStats)
  
      /* Webpack named bundle   */
      }, 'AVAILStats')
    }
  })
  