{"action":"created","comment":{"url":"https://api.github.com/repos/movementventures/ui-kit/pulls/comments/42800555","id":42800555,"diff_hunk":"@@ -12,17 +12,16 @@ const FB_APP_ID = browser.env.FB_APP_ID\n const BOOMBOX_FB_APP_ID = browser.env.BOOMBOX_FB_APP_ID\n \n var fbAppId = quiz.is_boombox_branded || poll.is_boombox_branded ? BOOMBOX_FB_APP_ID : FB_APP_ID\n-if poll\n-  SocialLinkTemplate()&props(merge(pollSocialAttrs($get, t, poll, fbAppId), props))\n-    = props.children\n-else if list\n-  SocialLinkTemplate()&props(merge(listSocialAttrs($get, t, list, FB_APP_ID), props))\n-    = props.children\n-else if quiz\n-  SocialLinkTemplate()&props(merge(quizSocialAttrs($get, t, quiz, result, fbAppId), props))\n-    = props.children\n+var item = poll || list || quiz\n+var.\n+  socialAttrs = poll\n+    ? pollSocialAttrs\n+    : quiz\n+      ? quizSocialAttrs\n+      : listSocialAttrs\n \n-\n-export var mergeProps = true\n+if item\n+  SocialLinkTemplate()&props(merge(socialAttrs($get, t, item, fbAppId), props))","path":"blocks/el/social-link/index.jade","position":24,"original_position":24,"commit_id":"2621f9e60846f5e53fcf4a115b3e9e5e4500ac5a","original_commit_id":"2621f9e60846f5e53fcf4a115b3e9e5e4500ac5a","user":{"login":"mndvns","id":1271838,"avatar_url":"https://avatars.githubusercontent.com/u/1271838?v=3","gravatar_id":"","url":"https://api.github.com/users/mndvns","html_url":"https://github.com/mndvns","followers_url":"https://api.github.com/users/mndvns/followers","following_url":"https://api.github.com/users/mndvns/following{/other_user}","gists_url":"https://api.github.com/users/mndvns/gists{/gist_id}","starred_url":"https://api.github.com/users/mndvns/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mndvns/subscriptions","organizations_url":"https://api.github.com/users/mndvns/orgs","repos_url":"https://api.github.com/users/mndvns/repos","events_url":"https://api.github.com/users/mndvns/events{/privacy}","received_events_url":"https://api.github.com/users/mndvns/received_events","type":"User","site_admin":false},"body":"ah damnit. _sigh_\r\ni'm going to have to nest the css until we get this resolved. damnit","created_at":"2015-10-22T20:20:31Z","updated_at":"2015-10-22T20:20:31Z","html_url":"https://github.com/movementventures/ui-kit/pull/123#discussion_r42800555","pull_request_url":"https://api.github.com/repos/movementventures/ui-kit/pulls/123","_links":{"self":{"href":"https://api.github.com/repos/movementventures/ui-kit/pulls/comments/42800555"},"html":{"href":"https://github.com/movementventures/ui-kit/pull/123#discussion_r42800555"},"pull_request":{"href":"https://api.github.com/repos/movementventures/ui-kit/pulls/123"}}},"pull_request":{"url":"https://api.github.com/repos/movementventures/ui-kit/pulls/123","id":48505661,"html_url":"https://github.com/movementventures/ui-kit/pull/123","diff_url":"https://github.com/movementventures/ui-kit/pull/123.diff","patch_url":"https://github.com/movementventures/ui-kit/pull/123.patch","issue_url":"https://api.github.com/repos/movementventures/ui-kit/issues/123","number":123,"state":"open","locked":false,"title":"unnest social link markup","user":{"login":"mndvns","id":1271838,"avatar_url":"https://avatars.githubusercontent.com/u/1271838?v=3","gravatar_id":"","url":"https://api.github.com/users/mndvns","html_url":"https://github.com/mndvns","followers_url":"https://api.github.com/users/mndvns/followers","following_url":"https://api.github.com/users/mndvns/following{/other_user}","gists_url":"https://api.github.com/users/mndvns/gists{/gist_id}","starred_url":"https://api.github.com/users/mndvns/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mndvns/subscriptions","organizations_url":"https://api.github.com/users/mndvns/orgs","repos_url":"https://api.github.com/users/mndvns/repos","events_url":"https://api.github.com/users/mndvns/events{/privacy}","received_events_url":"https://api.github.com/users/mndvns/received_events","type":"User","site_admin":false},"body":"@jake this unnests the social links so they aren't wrapped in an extra div. this makes styling much easier. i tested the change in the list-ui app, and it doesn't affect styles in the `SocialList` component.","created_at":"2015-10-22T20:05:06Z","updated_at":"2015-10-22T20:20:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7437278ee67a1cc13ad31c50e5977d4af6cf539d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/movementventures/ui-kit/pulls/123/commits","review_comments_url":"https://api.github.com/repos/movementventures/ui-kit/pulls/123/comments","review_comment_url":"https://api.github.com/repos/movementventures/ui-kit/pulls/comments{/number}","comments_url":"https://api.github.com/repos/movementventures/ui-kit/issues/123/comments","statuses_url":"https://api.github.com/repos/movementventures/ui-kit/statuses/2621f9e60846f5e53fcf4a115b3e9e5e4500ac5a","head":{"label":"movementventures:unnest-social-link","ref":"unnest-social-link","sha":"2621f9e60846f5e53fcf4a115b3e9e5e4500ac5a","user":{"login":"movementventures","id":5686090,"avatar_url":"https://avatars.githubusercontent.com/u/5686090?v=3","gravatar_id":"","url":"https://api.github.com/users/movementventures","html_url":"https://github.com/movementventures","followers_url":"https://api.github.com/users/movementventures/followers","following_url":"https://api.github.com/users/movementventures/following{/other_user}","gists_url":"https://api.github.com/users/movementventures/gists{/gist_id}","starred_url":"https://api.github.com/users/movementventures/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/movementventures/subscriptions","organizations_url":"https://api.github.com/users/movementventures/orgs","repos_url":"https://api.github.com/users/movementventures/repos","events_url":"https://api.github.com/users/movementventures/events{/privacy}","received_events_url":"https://api.github.com/users/movementventures/received_events","type":"Organization","site_admin":false},"repo":{"id":29282066,"name":"ui-kit","full_name":"movementventures/ui-kit","owner":{"login":"movementventures","id":5686090,"avatar_url":"https://avatars.githubusercontent.com/u/5686090?v=3","gravatar_id":"","url":"https://api.github.com/users/movementventures","html_url":"https://github.com/movementventures","followers_url":"https://api.github.com/users/movementventures/followers","following_url":"https://api.github.com/users/movementventures/following{/other_user}","gists_url":"https://api.github.com/users/movementventures/gists{/gist_id}","starred_url":"https://api.github.com/users/movementventures/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/movementventures/subscriptions","organizations_url":"https://api.github.com/users/movementventures/orgs","repos_url":"https://api.github.com/users/movementventures/repos","events_url":"https://api.github.com/users/movementventures/events{/privacy}","received_events_url":"https://api.github.com/users/movementventures/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/movementventures/ui-kit","description":"all the ui components in a nice, little, easy-to-use package","fork":false,"url":"https://api.github.com/repos/movementventures/ui-kit","forks_url":"https://api.github.com/repos/movementventures/ui-kit/forks","keys_url":"https://api.github.com/repos/movementventures/ui-kit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/movementventures/ui-kit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/movementventures/ui-kit/teams","hooks_url":"https://api.github.com/repos/movementventures/ui-kit/hooks","issue_events_url":"https://api.github.com/repos/movementventures/ui-kit/issues/events{/number}","events_url":"https://api.github.com/repos/movementventures/ui-kit/events","assignees_url":"https://api.github.com/repos/movementventures/ui-kit/assignees{/user}","branches_url":"https://api.github.com/repos/movementventures/ui-kit/branches{/branch}","tags_url":"https://api.github.com/repos/movementventures/ui-kit/tags","blobs_url":"https://api.github.com/repos/movementventures/ui-kit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/movementventures/ui-kit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/movementventures/ui-kit/git/refs{/sha}","trees_url":"https://api.github.com/repos/movementventures/ui-kit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/movementventures/ui-kit/statuses/{sha}","languages_url":"https://api.github.com/repos/movementventures/ui-kit/languages","stargazers_url":"https://api.github.com/repos/movementventures/ui-kit/stargazers","contributors_url":"https://api.github.com/repos/movementventures/ui-kit/contributors","subscribers_url":"https://api.github.com/repos/movementventures/ui-kit/subscribers","subscription_url":"https://api.github.com/repos/movementventures/ui-kit/subscription","commits_url":"https://api.github.com/repos/movementventures/ui-kit/commits{/sha}","git_commits_url":"https://api.github.com/repos/movementventures/ui-kit/git/commits{/sha}","comments_url":"https://api.github.com/repos/movementventures/ui-kit/comments{/number}","issue_comment_url":"https://api.github.com/repos/movementventures/ui-kit/issues/comments{/number}","contents_url":"https://api.github.com/repos/movementventures/ui-kit/contents/{+path}","compare_url":"https://api.github.com/repos/movementventures/ui-kit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/movementventures/ui-kit/merges","archive_url":"https://api.github.com/repos/movementventures/ui-kit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/movementventures/ui-kit/downloads","issues_url":"https://api.github.com/repos/movementventures/ui-kit/issues{/number}","pulls_url":"https://api.github.com/repos/movementventures/ui-kit/pulls{/number}","milestones_url":"https://api.github.com/repos/movementventures/ui-kit/milestones{/number}","notifications_url":"https://api.github.com/repos/movementventures/ui-kit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/movementventures/ui-kit/labels{/name}","releases_url":"https://api.github.com/repos/movementventures/ui-kit/releases{/id}","created_at":"2015-01-15T05:18:14Z","updated_at":"2015-05-08T07:38:04Z","pushed_at":"2015-10-22T20:05:08Z","git_url":"git://github.com/movementventures/ui-kit.git","ssh_url":"git@github.com:movementventures/ui-kit.git","clone_url":"https://github.com/movementventures/ui-kit.git","svn_url":"https://github.com/movementventures/ui-kit","homepage":"","size":3295,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"movementventures:master","ref":"master","sha":"7de266b76d297ea4c30d15e2d4ce61a3ca60d307","user":{"login":"movementventures","id":5686090,"avatar_url":"https://avatars.githubusercontent.com/u/5686090?v=3","gravatar_id":"","url":"https://api.github.com/users/movementventures","html_url":"https://github.com/movementventures","followers_url":"https://api.github.com/users/movementventures/followers","following_url":"https://api.github.com/users/movementventures/following{/other_user}","gists_url":"https://api.github.com/users/movementventures/gists{/gist_id}","starred_url":"https://api.github.com/users/movementventures/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/movementventures/subscriptions","organizations_url":"https://api.github.com/users/movementventures/orgs","repos_url":"https://api.github.com/users/movementventures/repos","events_url":"https://api.github.com/users/movementventures/events{/privacy}","received_events_url":"https://api.github.com/users/movementventures/received_events","type":"Organization","site_admin":false},"repo":{"id":29282066,"name":"ui-kit","full_name":"movementventures/ui-kit","owner":{"login":"movementventures","id":5686090,"avatar_url":"https://avatars.githubusercontent.com/u/5686090?v=3","gravatar_id":"","url":"https://api.github.com/users/movementventures","html_url":"https://github.com/movementventures","followers_url":"https://api.github.com/users/movementventures/followers","following_url":"https://api.github.com/users/movementventures/following{/other_user}","gists_url":"https://api.github.com/users/movementventures/gists{/gist_id}","starred_url":"https://api.github.com/users/movementventures/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/movementventures/subscriptions","organizations_url":"https://api.github.com/users/movementventures/orgs","repos_url":"https://api.github.com/users/movementventures/repos","events_url":"https://api.github.com/users/movementventures/events{/privacy}","received_events_url":"https://api.github.com/users/movementventures/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/movementventures/ui-kit","description":"all the ui components in a nice, little, easy-to-use package","fork":false,"url":"https://api.github.com/repos/movementventures/ui-kit","forks_url":"https://api.github.com/repos/movementventures/ui-kit/forks","keys_url":"https://api.github.com/repos/movementventures/ui-kit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/movementventures/ui-kit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/movementventures/ui-kit/teams","hooks_url":"https://api.github.com/repos/movementventures/ui-kit/hooks","issue_events_url":"https://api.github.com/repos/movementventures/ui-kit/issues/events{/number}","events_url":"https://api.github.com/repos/movementventures/ui-kit/events","assignees_url":"https://api.github.com/repos/movementventures/ui-kit/assignees{/user}","branches_url":"https://api.github.com/repos/movementventures/ui-kit/branches{/branch}","tags_url":"https://api.github.com/repos/movementventures/ui-kit/tags","blobs_url":"https://api.github.com/repos/movementventures/ui-kit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/movementventures/ui-kit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/movementventures/ui-kit/git/refs{/sha}","trees_url":"https://api.github.com/repos/movementventures/ui-kit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/movementventures/ui-kit/statuses/{sha}","languages_url":"https://api.github.com/repos/movementventures/ui-kit/languages","stargazers_url":"https://api.github.com/repos/movementventures/ui-kit/stargazers","contributors_url":"https://api.github.com/repos/movementventures/ui-kit/contributors","subscribers_url":"https://api.github.com/repos/movementventures/ui-kit/subscribers","subscription_url":"https://api.github.com/repos/movementventures/ui-kit/subscription","commits_url":"https://api.github.com/repos/movementventures/ui-kit/commits{/sha}","git_commits_url":"https://api.github.com/repos/movementventures/ui-kit/git/commits{/sha}","comments_url":"https://api.github.com/repos/movementventures/ui-kit/comments{/number}","issue_comment_url":"https://api.github.com/repos/movementventures/ui-kit/issues/comments{/number}","contents_url":"https://api.github.com/repos/movementventures/ui-kit/contents/{+path}","compare_url":"https://api.github.com/repos/movementventures/ui-kit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/movementventures/ui-kit/merges","archive_url":"https://api.github.com/repos/movementventures/ui-kit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/movementventures/ui-kit/downloads","issues_url":"https://api.github.com/repos/movementventures/ui-kit/issues{/number}","pulls_url":"https://api.github.com/repos/movementventures/ui-kit/pulls{/number}","milestones_url":"https://api.github.com/repos/movementventures/ui-kit/milestones{/number}","notifications_url":"https://api.github.com/repos/movementventures/ui-kit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/movementventures/ui-kit/labels{/name}","releases_url":"https://api.github.com/repos/movementventures/ui-kit/releases{/id}","created_at":"2015-01-15T05:18:14Z","updated_at":"2015-05-08T07:38:04Z","pushed_at":"2015-10-22T20:05:08Z","git_url":"git://github.com/movementventures/ui-kit.git","ssh_url":"git@github.com:movementventures/ui-kit.git","clone_url":"https://github.com/movementventures/ui-kit.git","svn_url":"https://github.com/movementventures/ui-kit","homepage":"","size":3295,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/movementventures/ui-kit/pulls/123"},"html":{"href":"https://github.com/movementventures/ui-kit/pull/123"},"issue":{"href":"https://api.github.com/repos/movementventures/ui-kit/issues/123"},"comments":{"href":"https://api.github.com/repos/movementventures/ui-kit/issues/123/comments"},"review_comments":{"href":"https://api.github.com/repos/movementventures/ui-kit/pulls/123/comments"},"review_comment":{"href":"https://api.github.com/repos/movementventures/ui-kit/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/movementventures/ui-kit/pulls/123/commits"},"statuses":{"href":"https://api.github.com/repos/movementventures/ui-kit/statuses/2621f9e60846f5e53fcf4a115b3e9e5e4500ac5a"}}}}