       @once "#{eventName}_succeeded", (activities)=>
         @listActivities activities, (sanitizedCache)=>
           callback sanitizedCache
-          @emit "FeaturedActivityCommentRequested", {activityId:activityId, commentId:1}, callback
 
         @emit "FeaturedActivityRequested", {activityId:activityId+1}, callback
       #fetch featured activity

      callback sanitizedCache

  listFeaturedActivities:(callback)->
    @on "FeaturedActivityCommentRequested", @bound "featuredActivityCommentRequested"
    @on "FeaturedActivityRequested", @bound "featuredActivityRequested"

    eventName = "activity_fetch"

      @emit "FeaturedActivityRequested", {activityId:1}, callback
    @fetchFeaturedActivities()

  fetchFeaturedActivities:(activityId=0)->
    activityName = "activity"
    activityName += "_#{activityId}" unless activityId is 0

    $.ajax
      url     : "js/activity/#{activityName}.json"
      success : (json) => @emit "#{activityName}_fetch_succeeded", json
      failure : =>  @emit "#{activityName}_fetch_failed"

  featuredActivityRequested:({activityId}, callback)=>
    unless activityId? then activityId = 0
