{"size": 770, "ext": "js", "max_stars_repo_path": "apps/calendar/js/templates/day.js", "max_stars_repo_name": "hsinyi/gaia", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "apps/calendar/js/templates/day.js", "max_issues_repo_name": "hsinyi/gaia", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "apps/calendar/js/templates/day.js", "max_forks_repo_name": "hsinyi/gaia", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 23.3333333333, "max_line_length": 69, "alphanum_fraction": 0.4545454545}
(function(window) {
  var Day = Calendar.Template.create({
    hour: [
      '<section class="hour-{hour} {classes} calendar-display">',
        '<h4>',
          '<span class="calendar-color"></span>',
          '{displayHour}',
        '</h4>',
        '<ol class="events">',
          '{items|s}',
        '</ol>',
      '</section>'
    ].join(''),

    attendee: '<span class="attendee">{value}</span>',

    event: [
      '<li class="event calendar-id-{calendarId} calendar-display">',
        '<h5>{title}</h5>',
        '<span class="details">',
          '<span class="location">',
            '{location}',
          '</span>',
          '{attendees|s}',
        '</span>',
      '</li>'
    ].join('')
  });

  Calendar.ns('Templates').Day = Day;
}(this));

