 
   getFullMonthName: ->
     @props.date?.format?('MMMM')
-
-  onTaskDrop: -> #(planId, ev) ->
-    plan = TeacherTaskPlanStore.get(planId)
-    day = ev.target.textContent
 
   onDrop: (item, offset) ->
     return unless @state.hoveredDay

          )}
        </BS.Col>
      </BS.Row>
    </BS.Grid>



module.exports = DropTarget([ItemTypes.NewTask, ItemTypes.CloneTask], TaskDrop, DropInjector)(CourseMonth)
##
#  (props) ->


# )

# module.exports =

      })
      @context.router.transitionTo(url)
    else # is a task plan to clone
      @setState(
        cloningPlan: extend({}, item,
          due_at: @state.hoveredDay
          position: offset
        )
      )

  onCloneLoaded: (newPlanId) ->
    _.defer => # give flux store time to update
      @setState(editingPlanId: newPlanId, cloningPlan: undefined)

  getEditingPlanEl: ->
    return null unless @state.editingPlanId
    ReactDOM.findDOMNode(@).querySelector(
      ".course-plan-#{@state.editingPlanId}"
    )

  onHover: (day) ->
    @setState(hoveredDay: day)

  onSidebarToggle: (isOpen) ->
    @setState(showingSideBar: isOpen)

  render: ->
