GitHub PullRequestReviewCommentEvent at 2014-07-04 23:29:26
Repository: rmc
Actor: JGulbronson
Payload: {"action":"created","comment":{"url":"https://api.github.com/repos/UWFlow/rmc/pulls/comments/14568555","id":14568555,"diff_hunk":"@@ -0,0 +1,65 @@\n+require(\n+['ext/backbone', 'ext/jquery', 'ext/underscore', 'ratings', 'util', 'review',\n+ 'tips', 'sign_in'],\n+function(backbone, $, _, ratings, util, _review, tips, _sign_in) {\n+  var averageRating = new ratings.RatingCollection(\n+    pageData.profRatings.filter(function(r) {\n+      return r.name !== 'overall';\n+    }));\n+\n+  var averageRatingsView = new ratings.RatingsView({\n+    ratings: averageRating,\n+    subject: 'professor'\n+  });\n+\n+  var kittenNum = util.getHashCode(pageData.profName) % pageData.NUM_KITTENS;","path":"server/static/js/prof_page.js","position":15,"original_position":15,"commit_id":"a0244b364d51273bbc4272b13936eee16f1c2f93","original_commit_id":"a0244b364d51273bbc4272b13936eee16f1c2f93","user":{"login":"JGulbronson","id":2644780,"avatar_url":"https://avatars.githubusercontent.com/u/2644780?","gravatar_id":"3076bfceac93247ef71ad9d15df87180","url":"https://api.github.com/users/JGulbronson","html_url":"https://github.com/JGulbronson","followers_url":"https://api.github.com/users/JGulbronson/followers","following_url":"https://api.github.com/users/JGulbronson/following{/other_user}","gists_url":"https://api.github.com/users/JGulbronson/gists{/gist_id}","starred_url":"https://api.github.com/users/JGulbronson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JGulbronson/subscriptions","organizations_url":"https://api.github.com/users/JGulbronson/orgs","repos_url":"https://api.github.com/users/JGulbronson/repos","events_url":"https://api.github.com/users/JGulbronson/events{/privacy}","received_events_url":"https://api.github.com/users/JGulbronson/received_events","type":"User","site_admin":false},"body":"Sure. Right now the same function is being used, so the pictures actually are the same, though I can move it to `util.js` in case it changes in the future.","created_at":"2014-07-04T23:29:26Z","updated_at":"2014-07-04T23:29:26Z","html_url":"https://github.com/UWFlow/rmc/pull/179#discussion_r14568555","pull_request_url":"https://api.github.com/repos/UWFlow/rmc/pulls/179","_links":{"self":{"href":"https://api.github.com/repos/UWFlow/rmc/pulls/comments/14568555"},"html":{"href":"https://github.com/UWFlow/rmc/pull/179#discussion_r14568555"},"pull_request":{"href":"https://api.github.com/repos/UWFlow/rmc/pulls/179"}}},"pull_request":{"url":"https://api.github.com/repos/UWFlow/rmc/pulls/179","id":17567891,"html_url":"https://github.com/UWFlow/rmc/pull/179","diff_url":"https://github.com/UWFlow/rmc/pull/179.diff","patch_url":"https://github.com/UWFlow/rmc/pull/179.patch","issue_url":"https://api.github.com/repos/UWFlow/rmc/issues/179","number":179,"state":"open","title":"Prof pages","user":{"login":"JGulbronson","id":2644780,"avatar_url":"https://avatars.githubusercontent.com/u/2644780?","gravatar_id":"3076bfceac93247ef71ad9d15df87180","url":"https://api.github.com/users/JGulbronson","html_url":"https://github.com/JGulbronson","followers_url":"https://api.github.com/users/JGulbronson/followers","following_url":"https://api.github.com/users/JGulbronson/following{/other_user}","gists_url":"https://api.github.com/users/JGulbronson/gists{/gist_id}","starred_url":"https://api.github.com/users/JGulbronson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JGulbronson/subscriptions","organizations_url":"https://api.github.com/users/JGulbronson/orgs","repos_url":"https://api.github.com/users/JGulbronson/repos","events_url":"https://api.github.com/users/JGulbronson/events{/privacy}","received_events_url":"https://api.github.com/users/JGulbronson/received_events","type":"User","site_admin":false},"body":"Ready for a review, some UI elements may be changed but the core seems good. \r\n\r\nCloses #142","created_at":"2014-06-25T01:36:04Z","updated_at":"2014-07-04T23:29:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e0c886cb16587deff9dc173807b639c614b1ef90","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/UWFlow/rmc/pulls/179/commits","review_comments_url":"https://api.github.com/repos/UWFlow/rmc/pulls/179/comments","review_comment_url":"https://api.github.com/repos/UWFlow/rmc/pulls/comments/{number}","comments_url":"https://api.github.com/repos/UWFlow/rmc/issues/179/comments","statuses_url":"https://api.github.com/repos/UWFlow/rmc/statuses/a0244b364d51273bbc4272b13936eee16f1c2f93","head":{"label":"JGulbronson:prof_pages","ref":"prof_pages","sha":"a0244b364d51273bbc4272b13936eee16f1c2f93","user":{"login":"JGulbronson","id":2644780,"avatar_url":"https://avatars.githubusercontent.com/u/2644780?","gravatar_id":"3076bfceac93247ef71ad9d15df87180","url":"https://api.github.com/users/JGulbronson","html_url":"https://github.com/JGulbronson","followers_url":"https://api.github.com/users/JGulbronson/followers","following_url":"https://api.github.com/users/JGulbronson/following{/other_user}","gists_url":"https://api.github.com/users/JGulbronson/gists{/gist_id}","starred_url":"https://api.github.com/users/JGulbronson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JGulbronson/subscriptions","organizations_url":"https://api.github.com/users/JGulbronson/orgs","repos_url":"https://api.github.com/users/JGulbronson/repos","events_url":"https://api.github.com/users/JGulbronson/events{/privacy}","received_events_url":"https://api.github.com/users/JGulbronson/received_events","type":"User","site_admin":false},"repo":{"id":18198853,"name":"rmc","full_name":"JGulbronson/rmc","owner":{"login":"JGulbronson","id":2644780,"avatar_url":"https://avatars.githubusercontent.com/u/2644780?","gravatar_id":"3076bfceac93247ef71ad9d15df87180","url":"https://api.github.com/users/JGulbronson","html_url":"https://github.com/JGulbronson","followers_url":"https://api.github.com/users/JGulbronson/followers","following_url":"https://api.github.com/users/JGulbronson/following{/other_user}","gists_url":"https://api.github.com/users/JGulbronson/gists{/gist_id}","starred_url":"https://api.github.com/users/JGulbronson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JGulbronson/subscriptions","organizations_url":"https://api.github.com/users/JGulbronson/orgs","repos_url":"https://api.github.com/users/JGulbronson/repos","events_url":"https://api.github.com/users/JGulbronson/events{/privacy}","received_events_url":"https://api.github.com/users/JGulbronson/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/JGulbronson/rmc","description":"Flow is a website that lets you plan courses with friends.","fork":true,"url":"https://api.github.com/repos/JGulbronson/rmc","forks_url":"https://api.github.com/repos/JGulbronson/rmc/forks","keys_url":"https://api.github.com/repos/JGulbronson/rmc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JGulbronson/rmc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JGulbronson/rmc/teams","hooks_url":"https://api.github.com/repos/JGulbronson/rmc/hooks","issue_events_url":"https://api.github.com/repos/JGulbronson/rmc/issues/events{/number}","events_url":"https://api.github.com/repos/JGulbronson/rmc/events","assignees_url":"https://api.github.com/repos/JGulbronson/rmc/assignees{/user}","branches_url":"https://api.github.com/repos/JGulbronson/rmc/branches{/branch}","tags_url":"https://api.github.com/repos/JGulbronson/rmc/tags","blobs_url":"https://api.github.com/repos/JGulbronson/rmc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JGulbronson/rmc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JGulbronson/rmc/git/refs{/sha}","trees_url":"https://api.github.com/repos/JGulbronson/rmc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JGulbronson/rmc/statuses/{sha}","languages_url":"https://api.github.com/repos/JGulbronson/rmc/languages","stargazers_url":"https://api.github.com/repos/JGulbronson/rmc/stargazers","contributors_url":"https://api.github.com/repos/JGulbronson/rmc/contributors","subscribers_url":"https://api.github.com/repos/JGulbronson/rmc/subscribers","subscription_url":"https://api.github.com/repos/JGulbronson/rmc/subscription","commits_url":"https://api.github.com/repos/JGulbronson/rmc/commits{/sha}","git_commits_url":"https://api.github.com/repos/JGulbronson/rmc/git/commits{/sha}","comments_url":"https://api.github.com/repos/JGulbronson/rmc/comments{/number}","issue_comment_url":"https://api.github.com/repos/JGulbronson/rmc/issues/comments/{number}","contents_url":"https://api.github.com/repos/JGulbronson/rmc/contents/{+path}","compare_url":"https://api.github.com/repos/JGulbronson/rmc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JGulbronson/rmc/merges","archive_url":"https://api.github.com/repos/JGulbronson/rmc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JGulbronson/rmc/downloads","issues_url":"https://api.github.com/repos/JGulbronson/rmc/issues{/number}","pulls_url":"https://api.github.com/repos/JGulbronson/rmc/pulls{/number}","milestones_url":"https://api.github.com/repos/JGulbronson/rmc/milestones{/number}","notifications_url":"https://api.github.com/repos/JGulbronson/rmc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JGulbronson/rmc/labels{/name}","releases_url":"https://api.github.com/repos/JGulbronson/rmc/releases{/id}","created_at":"2014-03-28T02:35:56Z","updated_at":"2014-07-03T22:05:40Z","pushed_at":"2014-07-03T22:05:51Z","git_url":"git://github.com/JGulbronson/rmc.git","ssh_url":"git@github.com:JGulbronson/rmc.git","clone_url":"https://github.com/JGulbronson/rmc.git","svn_url":"https://github.com/JGulbronson/rmc","homepage":"http://uwflow.com","size":43709,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"UWFlow:master","ref":"master","sha":"b02203545a0727f4e827c6da5860bcd6f81872fc","user":{"login":"UWFlow","id":6632953,"avatar_url":"https://avatars.githubusercontent.com/u/6632953?","gravatar_id":"6c02851af7f3a9b8795bf1e9ac988118","url":"https://api.github.com/users/UWFlow","html_url":"https://github.com/UWFlow","followers_url":"https://api.github.com/users/UWFlow/followers","following_url":"https://api.github.com/users/UWFlow/following{/other_user}","gists_url":"https://api.github.com/users/UWFlow/gists{/gist_id}","starred_url":"https://api.github.com/users/UWFlow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UWFlow/subscriptions","organizations_url":"https://api.github.com/users/UWFlow/orgs","repos_url":"https://api.github.com/users/UWFlow/repos","events_url":"https://api.github.com/users/UWFlow/events{/privacy}","received_events_url":"https://api.github.com/users/UWFlow/received_events","type":"Organization","site_admin":false},"repo":{"id":5632437,"name":"rmc","full_name":"UWFlow/rmc","owner":{"login":"UWFlow","id":6632953,"avatar_url":"https://avatars.githubusercontent.com/u/6632953?","gravatar_id":"6c02851af7f3a9b8795bf1e9ac988118","url":"https://api.github.com/users/UWFlow","html_url":"https://github.com/UWFlow","followers_url":"https://api.github.com/users/UWFlow/followers","following_url":"https://api.github.com/users/UWFlow/following{/other_user}","gists_url":"https://api.github.com/users/UWFlow/gists{/gist_id}","starred_url":"https://api.github.com/users/UWFlow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UWFlow/subscriptions","organizations_url":"https://api.github.com/users/UWFlow/orgs","repos_url":"https://api.github.com/users/UWFlow/repos","events_url":"https://api.github.com/users/UWFlow/events{/privacy}","received_events_url":"https://api.github.com/users/UWFlow/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/UWFlow/rmc","description":"Flow is a website that lets you plan courses with friends.","fork":false,"url":"https://api.github.com/repos/UWFlow/rmc","forks_url":"https://api.github.com/repos/UWFlow/rmc/forks","keys_url":"https://api.github.com/repos/UWFlow/rmc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/UWFlow/rmc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/UWFlow/rmc/teams","hooks_url":"https://api.github.com/repos/UWFlow/rmc/hooks","issue_events_url":"https://api.github.com/repos/UWFlow/rmc/issues/events{/number}","events_url":"https://api.github.com/repos/UWFlow/rmc/events","assignees_url":"https://api.github.com/repos/UWFlow/rmc/assignees{/user}","branches_url":"https://api.github.com/repos/UWFlow/rmc/branches{/branch}","tags_url":"https://api.github.com/repos/UWFlow/rmc/tags","blobs_url":"https://api.github.com/repos/UWFlow/rmc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/UWFlow/rmc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/UWFlow/rmc/git/refs{/sha}","trees_url":"https://api.github.com/repos/UWFlow/rmc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/UWFlow/rmc/statuses/{sha}","languages_url":"https://api.github.com/repos/UWFlow/rmc/languages","stargazers_url":"https://api.github.com/repos/UWFlow/rmc/stargazers","contributors_url":"https://api.github.com/repos/UWFlow/rmc/contributors","subscribers_url":"https://api.github.com/repos/UWFlow/rmc/subscribers","subscription_url":"https://api.github.com/repos/UWFlow/rmc/subscription","commits_url":"https://api.github.com/repos/UWFlow/rmc/commits{/sha}","git_commits_url":"https://api.github.com/repos/UWFlow/rmc/git/commits{/sha}","comments_url":"https://api.github.com/repos/UWFlow/rmc/comments{/number}","issue_comment_url":"https://api.github.com/repos/UWFlow/rmc/issues/comments/{number}","contents_url":"https://api.github.com/repos/UWFlow/rmc/contents/{+path}","compare_url":"https://api.github.com/repos/UWFlow/rmc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/UWFlow/rmc/merges","archive_url":"https://api.github.com/repos/UWFlow/rmc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/UWFlow/rmc/downloads","issues_url":"https://api.github.com/repos/UWFlow/rmc/issues{/number}","pulls_url":"https://api.github.com/repos/UWFlow/rmc/pulls{/number}","milestones_url":"https://api.github.com/repos/UWFlow/rmc/milestones{/number}","notifications_url":"https://api.github.com/repos/UWFlow/rmc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/UWFlow/rmc/labels{/name}","releases_url":"https://api.github.com/repos/UWFlow/rmc/releases{/id}","created_at":"2012-08-31T18:33:38Z","updated_at":"2014-07-04T18:51:18Z","pushed_at":"2014-07-04T18:53:03Z","git_url":"git://github.com/UWFlow/rmc.git","ssh_url":"git@github.com:UWFlow/rmc.git","clone_url":"https://github.com/UWFlow/rmc.git","svn_url":"https://github.com/UWFlow/rmc","homepage":"https://uwflow.com","size":48039,"stargazers_count":54,"watchers_count":54,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":15,"mirror_url":null,"open_issues_count":31,"forks":15,"open_issues":31,"watchers":54,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/UWFlow/rmc/pulls/179"},"html":{"href":"https://github.com/UWFlow/rmc/pull/179"},"issue":{"href":"https://api.github.com/repos/UWFlow/rmc/issues/179"},"comments":{"href":"https://api.github.com/repos/UWFlow/rmc/issues/179/comments"},"review_comments":{"href":"https://api.github.com/repos/UWFlow/rmc/pulls/179/comments"},"review_comment":{"href":"https://api.github.com/repos/UWFlow/rmc/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/UWFlow/rmc/pulls/179/commits"},"statuses":{"href":"https://api.github.com/repos/UWFlow/rmc/statuses/a0244b364d51273bbc4272b13936eee16f1c2f93"}}}}