Files
textmate/Applications/TextMate/about/Contributions.md
2012-11-12 14:49:47 +07:00

2.2 KiB

CSS: css/contributions.css JS: js/contributions.js

Contributions

See commits at GitHub.

<%# this wrapping div prevents Markdown from trying to parse the ERB blocks %>

<% last_group_heading = ''

require 'bin/gen_credits' generate_credits(File.expand_path('~/Library/Caches/com.macromates.TextMate/githubcredits')) do |hash, author, subject, body, userpic, date, github_user| group_heading = date.strftime('%b %e, %Y')

if last_group_heading != group_heading if last_group_heading != '' _erbout << "\n" end %>

<%= group_heading %>

    <% last_group_heading = group_heading end %>
  1. <%= subject %> <% if body != '' %><% end %>

    <% if body != '' %>
    <%= body %>
    <% end %>
    <%= hash[0,10] %> Browse code
    <% if github_user %><% end %><%= author %><% if github_user %><% end %> authored
  2. <% end

    if last_group_heading != '' _erbout << "

\n" end %>