                        <td>#{minute.title || ""}</td>\
                        <td>#{minute.dtstart || ""}</td>\
                        <td>#{minute.location || ""}</td>\
-                       <td>#{minute.author.name || ""}</td>\
+                       <td>#{minute.author?.name || ""}</td>\
                        <td><a href='/minutes/#{minute.id}'>Show</a></td>\
                        <td><a href='/minutes/#{minute.id}/edit'>Edit</a></td>\
                        <td><a href='/minutes/#{minute.id}' data-method='delete' rel='nofollow' data-confirm='Are you sure?'>Destroy</a></td>\

  repos = []
  for r in res.responseJSON
    repos.push (if full then r.full_name else r.name)
  # alert "REPOS:" + repos.join("\n")
  return repos

# Get User's Github *public* repositories in ORGANIZATION
# https://developer.github.com/v3/repos/#list-organization-repositories
# JSONP should be async
getGithubPublicRepositoriesJSONP = (organization, full, callback) ->
  res = $.ajax
    url: "https://api.github.com/orgs/#{organization}/repos"

displayTitle = (title) ->
  $('#title').val(title)

ready = ->
  repos_list = getGithubAllHomeRepositories()
  setupAutoCompleteEmoji('#minute_content')
  setupAutoCompleteTag('#tag-name')
  setupTabCallback()
