 CourseListingActions = flux.createActions [
   'load'
   'loaded'
+  'reset'
 ]
 
 CourseListingStore = flux.createStore

    @_asyncStatus = LOADING
    @emit('load')

  loaded: (list) ->
    @_courses = list
    @_asyncStatus = LOADED
    @emit('loaded')


        true

    allCourses: ->
      return _.map @_course_ids, CourseStore.get

module.exports = {CourseListingActions, CourseListingStore}
