add global for creating ad-hoc CSV reports

This commit is contained in:
Philip Schatz 2016-04-15 13:31:26 -04:00
parent 290c2a6c80
commit 8f55f113f1
1 changed files with 3 additions and 0 deletions

View File

@ -56,6 +56,9 @@ const MergedSince = React.createClass({
// Sort commits by when they were made
prCommits = _.sortBy(prCommits, ({at}) => at.getTime());
// Store this in a global var so we can make ad-hoc CSV reports
window.__PR_COMMITS = prCommits;
const children = _.map(prCommits, ({repoOwner, repoName, number}) => {
if (number) {
// Try and fetch the issue the PR fixed