{"action":"created","comment":{"url":"https://api.github.com/repos/chute/chute-display-components/pulls/comments/42521880","id":42521880,"diff_hunk":"@@ -1,35 +1,40 @@\n 'use strict'\n \n-import React, { PropTypes, Component } from 'react'\n+import React, { PropTypes } from 'react'\n \n+import Lightbox from './Lightbox'\n import GridAsset from './GridAsset'\n \n import './Grid.scss'\n \n export default React.createClass({\n   propTypes: {\n-    assets: PropTypes.array.isRequired\n+    assets:       PropTypes.array.isRequired,\n+    openLightbox: PropTypes.func\n   },\n \n-  prepareAssets() {\n-    this.props.assets[0].tweet_only = true\n-    this.props.assets[2].size = 'biggest'\n+  render() {\n+    this.prepareAssets()\n \n-    this.props.assets[5].is_captionated = true\n-    this.props.assets[6].size = 'biggest'\n+    return (\n+      <div className=\"grid\">\n+        { this.props.assets.map(this.renderAsset) }\n+      </div>\n+    )\n   },\n \n   renderAsset(asset) {\n-    return <GridAsset key={asset.id} asset={asset} />\n+    return <GridAsset\n+      key={asset.id}\n+      asset={asset}\n+      openLightbox={this.props.openLightbox.bind(null, asset)} />\n   },\n \n-  render() {\n-    this.prepareAssets();\n+  prepareAssets() {\n+    this.props.assets[0].tweet_only = true\n+    this.props.assets[2].size = 'biggest'\n \n-    return (\n-      <div className=\"grid\">\n-        { this.props.assets.map(asset => this.renderAsset(asset)) }\n-      </div>\n-    )\n+    this.props.assets[5].is_captionated = true\n+    this.props.assets[6].size = 'biggest'","path":"src/components/live-displays/Wall/Grid.jsx","position":53,"original_position":53,"commit_id":"d149350ed389b07b111c122aef8ca4d9ea5954cf","original_commit_id":"d149350ed389b07b111c122aef8ca4d9ea5954cf","user":{"login":"chiefGui","id":1330257,"avatar_url":"https://avatars.githubusercontent.com/u/1330257?v=3","gravatar_id":"","url":"https://api.github.com/users/chiefGui","html_url":"https://github.com/chiefGui","followers_url":"https://api.github.com/users/chiefGui/followers","following_url":"https://api.github.com/users/chiefGui/following{/other_user}","gists_url":"https://api.github.com/users/chiefGui/gists{/gist_id}","starred_url":"https://api.github.com/users/chiefGui/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chiefGui/subscriptions","organizations_url":"https://api.github.com/users/chiefGui/orgs","repos_url":"https://api.github.com/users/chiefGui/repos","events_url":"https://api.github.com/users/chiefGui/events{/privacy}","received_events_url":"https://api.github.com/users/chiefGui/received_events","type":"User","site_admin":false},"body":"That's what I am working on.","created_at":"2015-10-20T16:53:00Z","updated_at":"2015-10-20T16:53:00Z","html_url":"https://github.com/chute/chute-display-components/pull/7#discussion_r42521880","pull_request_url":"https://api.github.com/repos/chute/chute-display-components/pulls/7","_links":{"self":{"href":"https://api.github.com/repos/chute/chute-display-components/pulls/comments/42521880"},"html":{"href":"https://github.com/chute/chute-display-components/pull/7#discussion_r42521880"},"pull_request":{"href":"https://api.github.com/repos/chute/chute-display-components/pulls/7"}}},"pull_request":{"url":"https://api.github.com/repos/chute/chute-display-components/pulls/7","id":44821905,"html_url":"https://github.com/chute/chute-display-components/pull/7","diff_url":"https://github.com/chute/chute-display-components/pull/7.diff","patch_url":"https://github.com/chute/chute-display-components/pull/7.patch","issue_url":"https://api.github.com/repos/chute/chute-display-components/issues/7","number":7,"state":"open","locked":false,"title":"Feat/lightbox [Delivers #103225040]","user":{"login":"chiefGui","id":1330257,"avatar_url":"https://avatars.githubusercontent.com/u/1330257?v=3","gravatar_id":"","url":"https://api.github.com/users/chiefGui","html_url":"https://github.com/chiefGui","followers_url":"https://api.github.com/users/chiefGui/followers","following_url":"https://api.github.com/users/chiefGui/following{/other_user}","gists_url":"https://api.github.com/users/chiefGui/gists{/gist_id}","starred_url":"https://api.github.com/users/chiefGui/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chiefGui/subscriptions","organizations_url":"https://api.github.com/users/chiefGui/orgs","repos_url":"https://api.github.com/users/chiefGui/repos","events_url":"https://api.github.com/users/chiefGui/events{/privacy}","received_events_url":"https://api.github.com/users/chiefGui/received_events","type":"User","site_admin":false},"body":"@fosterdill @jonschreiber @evandrodutra @harby ","created_at":"2015-09-11T19:50:46Z","updated_at":"2015-10-20T16:53:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":"fc4eeccb3ffb1767f3fc99d70cca13cab6e966f7","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/chute/chute-display-components/pulls/7/commits","review_comments_url":"https://api.github.com/repos/chute/chute-display-components/pulls/7/comments","review_comment_url":"https://api.github.com/repos/chute/chute-display-components/pulls/comments{/number}","comments_url":"https://api.github.com/repos/chute/chute-display-components/issues/7/comments","statuses_url":"https://api.github.com/repos/chute/chute-display-components/statuses/d149350ed389b07b111c122aef8ca4d9ea5954cf","head":{"label":"chute:feat/lightbox","ref":"feat/lightbox","sha":"d149350ed389b07b111c122aef8ca4d9ea5954cf","user":{"login":"chute","id":846285,"avatar_url":"https://avatars.githubusercontent.com/u/846285?v=3","gravatar_id":"","url":"https://api.github.com/users/chute","html_url":"https://github.com/chute","followers_url":"https://api.github.com/users/chute/followers","following_url":"https://api.github.com/users/chute/following{/other_user}","gists_url":"https://api.github.com/users/chute/gists{/gist_id}","starred_url":"https://api.github.com/users/chute/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chute/subscriptions","organizations_url":"https://api.github.com/users/chute/orgs","repos_url":"https://api.github.com/users/chute/repos","events_url":"https://api.github.com/users/chute/events{/privacy}","received_events_url":"https://api.github.com/users/chute/received_events","type":"Organization","site_admin":false},"repo":{"id":41064248,"name":"chute-display-components","full_name":"chute/chute-display-components","owner":{"login":"chute","id":846285,"avatar_url":"https://avatars.githubusercontent.com/u/846285?v=3","gravatar_id":"","url":"https://api.github.com/users/chute","html_url":"https://github.com/chute","followers_url":"https://api.github.com/users/chute/followers","following_url":"https://api.github.com/users/chute/following{/other_user}","gists_url":"https://api.github.com/users/chute/gists{/gist_id}","starred_url":"https://api.github.com/users/chute/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chute/subscriptions","organizations_url":"https://api.github.com/users/chute/orgs","repos_url":"https://api.github.com/users/chute/repos","events_url":"https://api.github.com/users/chute/events{/privacy}","received_events_url":"https://api.github.com/users/chute/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/chute/chute-display-components","description":"","fork":false,"url":"https://api.github.com/repos/chute/chute-display-components","forks_url":"https://api.github.com/repos/chute/chute-display-components/forks","keys_url":"https://api.github.com/repos/chute/chute-display-components/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chute/chute-display-components/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chute/chute-display-components/teams","hooks_url":"https://api.github.com/repos/chute/chute-display-components/hooks","issue_events_url":"https://api.github.com/repos/chute/chute-display-components/issues/events{/number}","events_url":"https://api.github.com/repos/chute/chute-display-components/events","assignees_url":"https://api.github.com/repos/chute/chute-display-components/assignees{/user}","branches_url":"https://api.github.com/repos/chute/chute-display-components/branches{/branch}","tags_url":"https://api.github.com/repos/chute/chute-display-components/tags","blobs_url":"https://api.github.com/repos/chute/chute-display-components/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chute/chute-display-components/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chute/chute-display-components/git/refs{/sha}","trees_url":"https://api.github.com/repos/chute/chute-display-components/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chute/chute-display-components/statuses/{sha}","languages_url":"https://api.github.com/repos/chute/chute-display-components/languages","stargazers_url":"https://api.github.com/repos/chute/chute-display-components/stargazers","contributors_url":"https://api.github.com/repos/chute/chute-display-components/contributors","subscribers_url":"https://api.github.com/repos/chute/chute-display-components/subscribers","subscription_url":"https://api.github.com/repos/chute/chute-display-components/subscription","commits_url":"https://api.github.com/repos/chute/chute-display-components/commits{/sha}","git_commits_url":"https://api.github.com/repos/chute/chute-display-components/git/commits{/sha}","comments_url":"https://api.github.com/repos/chute/chute-display-components/comments{/number}","issue_comment_url":"https://api.github.com/repos/chute/chute-display-components/issues/comments{/number}","contents_url":"https://api.github.com/repos/chute/chute-display-components/contents/{+path}","compare_url":"https://api.github.com/repos/chute/chute-display-components/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chute/chute-display-components/merges","archive_url":"https://api.github.com/repos/chute/chute-display-components/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chute/chute-display-components/downloads","issues_url":"https://api.github.com/repos/chute/chute-display-components/issues{/number}","pulls_url":"https://api.github.com/repos/chute/chute-display-components/pulls{/number}","milestones_url":"https://api.github.com/repos/chute/chute-display-components/milestones{/number}","notifications_url":"https://api.github.com/repos/chute/chute-display-components/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chute/chute-display-components/labels{/name}","releases_url":"https://api.github.com/repos/chute/chute-display-components/releases{/id}","created_at":"2015-08-19T23:10:06Z","updated_at":"2015-10-20T13:46:58Z","pushed_at":"2015-10-20T13:46:57Z","git_url":"git://github.com/chute/chute-display-components.git","ssh_url":"git@github.com:chute/chute-display-components.git","clone_url":"https://github.com/chute/chute-display-components.git","svn_url":"https://github.com/chute/chute-display-components","homepage":null,"size":740,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":4,"forks":0,"open_issues":4,"watchers":0,"default_branch":"master"}},"base":{"label":"chute:feat/improving-aesthetics","ref":"feat/improving-aesthetics","sha":"23eb0a96d108e4c546fe818c2ffe3dfda19f914e","user":{"login":"chute","id":846285,"avatar_url":"https://avatars.githubusercontent.com/u/846285?v=3","gravatar_id":"","url":"https://api.github.com/users/chute","html_url":"https://github.com/chute","followers_url":"https://api.github.com/users/chute/followers","following_url":"https://api.github.com/users/chute/following{/other_user}","gists_url":"https://api.github.com/users/chute/gists{/gist_id}","starred_url":"https://api.github.com/users/chute/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chute/subscriptions","organizations_url":"https://api.github.com/users/chute/orgs","repos_url":"https://api.github.com/users/chute/repos","events_url":"https://api.github.com/users/chute/events{/privacy}","received_events_url":"https://api.github.com/users/chute/received_events","type":"Organization","site_admin":false},"repo":{"id":41064248,"name":"chute-display-components","full_name":"chute/chute-display-components","owner":{"login":"chute","id":846285,"avatar_url":"https://avatars.githubusercontent.com/u/846285?v=3","gravatar_id":"","url":"https://api.github.com/users/chute","html_url":"https://github.com/chute","followers_url":"https://api.github.com/users/chute/followers","following_url":"https://api.github.com/users/chute/following{/other_user}","gists_url":"https://api.github.com/users/chute/gists{/gist_id}","starred_url":"https://api.github.com/users/chute/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chute/subscriptions","organizations_url":"https://api.github.com/users/chute/orgs","repos_url":"https://api.github.com/users/chute/repos","events_url":"https://api.github.com/users/chute/events{/privacy}","received_events_url":"https://api.github.com/users/chute/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/chute/chute-display-components","description":"","fork":false,"url":"https://api.github.com/repos/chute/chute-display-components","forks_url":"https://api.github.com/repos/chute/chute-display-components/forks","keys_url":"https://api.github.com/repos/chute/chute-display-components/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chute/chute-display-components/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chute/chute-display-components/teams","hooks_url":"https://api.github.com/repos/chute/chute-display-components/hooks","issue_events_url":"https://api.github.com/repos/chute/chute-display-components/issues/events{/number}","events_url":"https://api.github.com/repos/chute/chute-display-components/events","assignees_url":"https://api.github.com/repos/chute/chute-display-components/assignees{/user}","branches_url":"https://api.github.com/repos/chute/chute-display-components/branches{/branch}","tags_url":"https://api.github.com/repos/chute/chute-display-components/tags","blobs_url":"https://api.github.com/repos/chute/chute-display-components/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chute/chute-display-components/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chute/chute-display-components/git/refs{/sha}","trees_url":"https://api.github.com/repos/chute/chute-display-components/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chute/chute-display-components/statuses/{sha}","languages_url":"https://api.github.com/repos/chute/chute-display-components/languages","stargazers_url":"https://api.github.com/repos/chute/chute-display-components/stargazers","contributors_url":"https://api.github.com/repos/chute/chute-display-components/contributors","subscribers_url":"https://api.github.com/repos/chute/chute-display-components/subscribers","subscription_url":"https://api.github.com/repos/chute/chute-display-components/subscription","commits_url":"https://api.github.com/repos/chute/chute-display-components/commits{/sha}","git_commits_url":"https://api.github.com/repos/chute/chute-display-components/git/commits{/sha}","comments_url":"https://api.github.com/repos/chute/chute-display-components/comments{/number}","issue_comment_url":"https://api.github.com/repos/chute/chute-display-components/issues/comments{/number}","contents_url":"https://api.github.com/repos/chute/chute-display-components/contents/{+path}","compare_url":"https://api.github.com/repos/chute/chute-display-components/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chute/chute-display-components/merges","archive_url":"https://api.github.com/repos/chute/chute-display-components/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chute/chute-display-components/downloads","issues_url":"https://api.github.com/repos/chute/chute-display-components/issues{/number}","pulls_url":"https://api.github.com/repos/chute/chute-display-components/pulls{/number}","milestones_url":"https://api.github.com/repos/chute/chute-display-components/milestones{/number}","notifications_url":"https://api.github.com/repos/chute/chute-display-components/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chute/chute-display-components/labels{/name}","releases_url":"https://api.github.com/repos/chute/chute-display-components/releases{/id}","created_at":"2015-08-19T23:10:06Z","updated_at":"2015-10-20T13:46:58Z","pushed_at":"2015-10-20T13:46:57Z","git_url":"git://github.com/chute/chute-display-components.git","ssh_url":"git@github.com:chute/chute-display-components.git","clone_url":"https://github.com/chute/chute-display-components.git","svn_url":"https://github.com/chute/chute-display-components","homepage":null,"size":740,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":4,"forks":0,"open_issues":4,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/chute/chute-display-components/pulls/7"},"html":{"href":"https://github.com/chute/chute-display-components/pull/7"},"issue":{"href":"https://api.github.com/repos/chute/chute-display-components/issues/7"},"comments":{"href":"https://api.github.com/repos/chute/chute-display-components/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/chute/chute-display-components/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/chute/chute-display-components/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/chute/chute-display-components/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/chute/chute-display-components/statuses/d149350ed389b07b111c122aef8ca4d9ea5954cf"}}}}