{"action":"created","comment":{"url":"https://api.github.com/repos/TechnologyAdvice/stardust/pulls/comments/45881953","id":45881953,"diff_hunk":"@@ -0,0 +1,46 @@\n+import React, {Children, Component, PropTypes} from 'react';\n+import _ from 'lodash';\n+import invariant from 'fbjs/lib/invariant';\n+import classNames from 'classnames';\n+import META from 'src/utils/Meta';\n+import Segment from './Segment';\n+\n+export default class Segments extends Component {\n+  static propTypes = {\n+    children: PropTypes.node,\n+    className: PropTypes.string,\n+  };\n+\n+  componentDidMount() {\n+    const {children} = this.props;\n+\n+    invariant(\n+      !_.any( Children.map(children, child => child.type !== Segment) ),\n+      'May only contain children of type Segment.',\n+    );\n+  }\n+\n+  static _meta = {\n+    library: META.library.semanticUI,\n+    name: 'Segments',\n+    type: META.type.element,\n+    parent: 'Segment'\n+  };","path":"src/elements/Segment/Segments.js","position":26,"original_position":28,"commit_id":"ee66f1fb1219f4fc2274bc3401f070a1af80762b","original_commit_id":"0405e82a84ca6a569b3f85f71f394127d9d81386","user":{"login":"levithomason","id":5067638,"avatar_url":"https://avatars.githubusercontent.com/u/5067638?v=3","gravatar_id":"","url":"https://api.github.com/users/levithomason","html_url":"https://github.com/levithomason","followers_url":"https://api.github.com/users/levithomason/followers","following_url":"https://api.github.com/users/levithomason/following{/other_user}","gists_url":"https://api.github.com/users/levithomason/gists{/gist_id}","starred_url":"https://api.github.com/users/levithomason/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/levithomason/subscriptions","organizations_url":"https://api.github.com/users/levithomason/orgs","repos_url":"https://api.github.com/users/levithomason/repos","events_url":"https://api.github.com/users/levithomason/events{/privacy}","received_events_url":"https://api.github.com/users/levithomason/received_events","type":"User","site_admin":false},"body":"+1 to linter updates for sanity.  Could you add this to the Pivotal story for our organization lint update?  You should have access very soon :)","created_at":"2015-11-25T15:47:08Z","updated_at":"2015-11-25T15:47:08Z","html_url":"https://github.com/TechnologyAdvice/stardust/pull/113#discussion_r45881953","pull_request_url":"https://api.github.com/repos/TechnologyAdvice/stardust/pulls/113","_links":{"self":{"href":"https://api.github.com/repos/TechnologyAdvice/stardust/pulls/comments/45881953"},"html":{"href":"https://github.com/TechnologyAdvice/stardust/pull/113#discussion_r45881953"},"pull_request":{"href":"https://api.github.com/repos/TechnologyAdvice/stardust/pulls/113"}}},"pull_request":{"url":"https://api.github.com/repos/TechnologyAdvice/stardust/pulls/113","id":51139083,"html_url":"https://github.com/TechnologyAdvice/stardust/pull/113","diff_url":"https://github.com/TechnologyAdvice/stardust/pull/113.diff","patch_url":"https://github.com/TechnologyAdvice/stardust/pull/113.patch","issue_url":"https://api.github.com/repos/TechnologyAdvice/stardust/issues/113","number":113,"state":"open","locked":false,"title":"Segment Examples","user":{"login":"jhabdas","id":440298,"avatar_url":"https://avatars.githubusercontent.com/u/440298?v=3","gravatar_id":"","url":"https://api.github.com/users/jhabdas","html_url":"https://github.com/jhabdas","followers_url":"https://api.github.com/users/jhabdas/followers","following_url":"https://api.github.com/users/jhabdas/following{/other_user}","gists_url":"https://api.github.com/users/jhabdas/gists{/gist_id}","starred_url":"https://api.github.com/users/jhabdas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhabdas/subscriptions","organizations_url":"https://api.github.com/users/jhabdas/orgs","repos_url":"https://api.github.com/users/jhabdas/repos","events_url":"https://api.github.com/users/jhabdas/events{/privacy}","received_events_url":"https://api.github.com/users/jhabdas/received_events","type":"User","site_admin":false},"body":"Adds Semantic UI `Segment` examples to the Stardust repo. Also creates a `Segments` component which works in concert with `Segment` to provide grouping behavior. `Segments` component is considered a child of `Segment` from a documentation purpose and so it does not appear in the list of components, but will appear in the examples.\r\n\r\n<img width=\"366\" alt=\"screen shot 2015-11-24 at 2 44 56 pm\" src=\"https://cloud.githubusercontent.com/assets/440298/11380290/be97d40a-92ba-11e5-8b50-e91577eedf40.png\">\r\n\r\n\r\nResolves #112 and closes #114. Discovers #116 and #120. ","created_at":"2015-11-18T20:41:58Z","updated_at":"2015-11-25T15:47:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2d8a236e1fcdcd26df57709ced74ba773610ff78","assignee":{"login":"jhabdas","id":440298,"avatar_url":"https://avatars.githubusercontent.com/u/440298?v=3","gravatar_id":"","url":"https://api.github.com/users/jhabdas","html_url":"https://github.com/jhabdas","followers_url":"https://api.github.com/users/jhabdas/followers","following_url":"https://api.github.com/users/jhabdas/following{/other_user}","gists_url":"https://api.github.com/users/jhabdas/gists{/gist_id}","starred_url":"https://api.github.com/users/jhabdas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhabdas/subscriptions","organizations_url":"https://api.github.com/users/jhabdas/orgs","repos_url":"https://api.github.com/users/jhabdas/repos","events_url":"https://api.github.com/users/jhabdas/events{/privacy}","received_events_url":"https://api.github.com/users/jhabdas/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/TechnologyAdvice/stardust/pulls/113/commits","review_comments_url":"https://api.github.com/repos/TechnologyAdvice/stardust/pulls/113/comments","review_comment_url":"https://api.github.com/repos/TechnologyAdvice/stardust/pulls/comments{/number}","comments_url":"https://api.github.com/repos/TechnologyAdvice/stardust/issues/113/comments","statuses_url":"https://api.github.com/repos/TechnologyAdvice/stardust/statuses/ee66f1fb1219f4fc2274bc3401f070a1af80762b","head":{"label":"TechnologyAdvice:segment-examples","ref":"segment-examples","sha":"ee66f1fb1219f4fc2274bc3401f070a1af80762b","user":{"login":"TechnologyAdvice","id":6045188,"avatar_url":"https://avatars.githubusercontent.com/u/6045188?v=3","gravatar_id":"","url":"https://api.github.com/users/TechnologyAdvice","html_url":"https://github.com/TechnologyAdvice","followers_url":"https://api.github.com/users/TechnologyAdvice/followers","following_url":"https://api.github.com/users/TechnologyAdvice/following{/other_user}","gists_url":"https://api.github.com/users/TechnologyAdvice/gists{/gist_id}","starred_url":"https://api.github.com/users/TechnologyAdvice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TechnologyAdvice/subscriptions","organizations_url":"https://api.github.com/users/TechnologyAdvice/orgs","repos_url":"https://api.github.com/users/TechnologyAdvice/repos","events_url":"https://api.github.com/users/TechnologyAdvice/events{/privacy}","received_events_url":"https://api.github.com/users/TechnologyAdvice/received_events","type":"Organization","site_admin":false},"repo":{"id":37734226,"name":"stardust","full_name":"TechnologyAdvice/stardust","owner":{"login":"TechnologyAdvice","id":6045188,"avatar_url":"https://avatars.githubusercontent.com/u/6045188?v=3","gravatar_id":"","url":"https://api.github.com/users/TechnologyAdvice","html_url":"https://github.com/TechnologyAdvice","followers_url":"https://api.github.com/users/TechnologyAdvice/followers","following_url":"https://api.github.com/users/TechnologyAdvice/following{/other_user}","gists_url":"https://api.github.com/users/TechnologyAdvice/gists{/gist_id}","starred_url":"https://api.github.com/users/TechnologyAdvice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TechnologyAdvice/subscriptions","organizations_url":"https://api.github.com/users/TechnologyAdvice/orgs","repos_url":"https://api.github.com/users/TechnologyAdvice/repos","events_url":"https://api.github.com/users/TechnologyAdvice/events{/privacy}","received_events_url":"https://api.github.com/users/TechnologyAdvice/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/TechnologyAdvice/stardust","description":"React component library based on Semantic UI","fork":false,"url":"https://api.github.com/repos/TechnologyAdvice/stardust","forks_url":"https://api.github.com/repos/TechnologyAdvice/stardust/forks","keys_url":"https://api.github.com/repos/TechnologyAdvice/stardust/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TechnologyAdvice/stardust/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TechnologyAdvice/stardust/teams","hooks_url":"https://api.github.com/repos/TechnologyAdvice/stardust/hooks","issue_events_url":"https://api.github.com/repos/TechnologyAdvice/stardust/issues/events{/number}","events_url":"https://api.github.com/repos/TechnologyAdvice/stardust/events","assignees_url":"https://api.github.com/repos/TechnologyAdvice/stardust/assignees{/user}","branches_url":"https://api.github.com/repos/TechnologyAdvice/stardust/branches{/branch}","tags_url":"https://api.github.com/repos/TechnologyAdvice/stardust/tags","blobs_url":"https://api.github.com/repos/TechnologyAdvice/stardust/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TechnologyAdvice/stardust/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TechnologyAdvice/stardust/git/refs{/sha}","trees_url":"https://api.github.com/repos/TechnologyAdvice/stardust/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TechnologyAdvice/stardust/statuses/{sha}","languages_url":"https://api.github.com/repos/TechnologyAdvice/stardust/languages","stargazers_url":"https://api.github.com/repos/TechnologyAdvice/stardust/stargazers","contributors_url":"https://api.github.com/repos/TechnologyAdvice/stardust/contributors","subscribers_url":"https://api.github.com/repos/TechnologyAdvice/stardust/subscribers","subscription_url":"https://api.github.com/repos/TechnologyAdvice/stardust/subscription","commits_url":"https://api.github.com/repos/TechnologyAdvice/stardust/commits{/sha}","git_commits_url":"https://api.github.com/repos/TechnologyAdvice/stardust/git/commits{/sha}","comments_url":"https://api.github.com/repos/TechnologyAdvice/stardust/comments{/number}","issue_comment_url":"https://api.github.com/repos/TechnologyAdvice/stardust/issues/comments{/number}","contents_url":"https://api.github.com/repos/TechnologyAdvice/stardust/contents/{+path}","compare_url":"https://api.github.com/repos/TechnologyAdvice/stardust/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TechnologyAdvice/stardust/merges","archive_url":"https://api.github.com/repos/TechnologyAdvice/stardust/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TechnologyAdvice/stardust/downloads","issues_url":"https://api.github.com/repos/TechnologyAdvice/stardust/issues{/number}","pulls_url":"https://api.github.com/repos/TechnologyAdvice/stardust/pulls{/number}","milestones_url":"https://api.github.com/repos/TechnologyAdvice/stardust/milestones{/number}","notifications_url":"https://api.github.com/repos/TechnologyAdvice/stardust/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TechnologyAdvice/stardust/labels{/name}","releases_url":"https://api.github.com/repos/TechnologyAdvice/stardust/releases{/id}","created_at":"2015-06-19T16:47:19Z","updated_at":"2015-11-25T12:56:50Z","pushed_at":"2015-11-25T15:33:09Z","git_url":"git://github.com/TechnologyAdvice/stardust.git","ssh_url":"git@github.com:TechnologyAdvice/stardust.git","clone_url":"https://github.com/TechnologyAdvice/stardust.git","svn_url":"https://github.com/TechnologyAdvice/stardust","homepage":"https://technologyadvice.github.io/stardust","size":2467,"stargazers_count":22,"watchers_count":22,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":28,"forks":0,"open_issues":28,"watchers":22,"default_branch":"master"}},"base":{"label":"TechnologyAdvice:master","ref":"master","sha":"bed2a79d6420351224df1f51497bd35620eacb58","user":{"login":"TechnologyAdvice","id":6045188,"avatar_url":"https://avatars.githubusercontent.com/u/6045188?v=3","gravatar_id":"","url":"https://api.github.com/users/TechnologyAdvice","html_url":"https://github.com/TechnologyAdvice","followers_url":"https://api.github.com/users/TechnologyAdvice/followers","following_url":"https://api.github.com/users/TechnologyAdvice/following{/other_user}","gists_url":"https://api.github.com/users/TechnologyAdvice/gists{/gist_id}","starred_url":"https://api.github.com/users/TechnologyAdvice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TechnologyAdvice/subscriptions","organizations_url":"https://api.github.com/users/TechnologyAdvice/orgs","repos_url":"https://api.github.com/users/TechnologyAdvice/repos","events_url":"https://api.github.com/users/TechnologyAdvice/events{/privacy}","received_events_url":"https://api.github.com/users/TechnologyAdvice/received_events","type":"Organization","site_admin":false},"repo":{"id":37734226,"name":"stardust","full_name":"TechnologyAdvice/stardust","owner":{"login":"TechnologyAdvice","id":6045188,"avatar_url":"https://avatars.githubusercontent.com/u/6045188?v=3","gravatar_id":"","url":"https://api.github.com/users/TechnologyAdvice","html_url":"https://github.com/TechnologyAdvice","followers_url":"https://api.github.com/users/TechnologyAdvice/followers","following_url":"https://api.github.com/users/TechnologyAdvice/following{/other_user}","gists_url":"https://api.github.com/users/TechnologyAdvice/gists{/gist_id}","starred_url":"https://api.github.com/users/TechnologyAdvice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TechnologyAdvice/subscriptions","organizations_url":"https://api.github.com/users/TechnologyAdvice/orgs","repos_url":"https://api.github.com/users/TechnologyAdvice/repos","events_url":"https://api.github.com/users/TechnologyAdvice/events{/privacy}","received_events_url":"https://api.github.com/users/TechnologyAdvice/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/TechnologyAdvice/stardust","description":"React component library based on Semantic UI","fork":false,"url":"https://api.github.com/repos/TechnologyAdvice/stardust","forks_url":"https://api.github.com/repos/TechnologyAdvice/stardust/forks","keys_url":"https://api.github.com/repos/TechnologyAdvice/stardust/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TechnologyAdvice/stardust/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TechnologyAdvice/stardust/teams","hooks_url":"https://api.github.com/repos/TechnologyAdvice/stardust/hooks","issue_events_url":"https://api.github.com/repos/TechnologyAdvice/stardust/issues/events{/number}","events_url":"https://api.github.com/repos/TechnologyAdvice/stardust/events","assignees_url":"https://api.github.com/repos/TechnologyAdvice/stardust/assignees{/user}","branches_url":"https://api.github.com/repos/TechnologyAdvice/stardust/branches{/branch}","tags_url":"https://api.github.com/repos/TechnologyAdvice/stardust/tags","blobs_url":"https://api.github.com/repos/TechnologyAdvice/stardust/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TechnologyAdvice/stardust/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TechnologyAdvice/stardust/git/refs{/sha}","trees_url":"https://api.github.com/repos/TechnologyAdvice/stardust/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TechnologyAdvice/stardust/statuses/{sha}","languages_url":"https://api.github.com/repos/TechnologyAdvice/stardust/languages","stargazers_url":"https://api.github.com/repos/TechnologyAdvice/stardust/stargazers","contributors_url":"https://api.github.com/repos/TechnologyAdvice/stardust/contributors","subscribers_url":"https://api.github.com/repos/TechnologyAdvice/stardust/subscribers","subscription_url":"https://api.github.com/repos/TechnologyAdvice/stardust/subscription","commits_url":"https://api.github.com/repos/TechnologyAdvice/stardust/commits{/sha}","git_commits_url":"https://api.github.com/repos/TechnologyAdvice/stardust/git/commits{/sha}","comments_url":"https://api.github.com/repos/TechnologyAdvice/stardust/comments{/number}","issue_comment_url":"https://api.github.com/repos/TechnologyAdvice/stardust/issues/comments{/number}","contents_url":"https://api.github.com/repos/TechnologyAdvice/stardust/contents/{+path}","compare_url":"https://api.github.com/repos/TechnologyAdvice/stardust/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TechnologyAdvice/stardust/merges","archive_url":"https://api.github.com/repos/TechnologyAdvice/stardust/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TechnologyAdvice/stardust/downloads","issues_url":"https://api.github.com/repos/TechnologyAdvice/stardust/issues{/number}","pulls_url":"https://api.github.com/repos/TechnologyAdvice/stardust/pulls{/number}","milestones_url":"https://api.github.com/repos/TechnologyAdvice/stardust/milestones{/number}","notifications_url":"https://api.github.com/repos/TechnologyAdvice/stardust/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TechnologyAdvice/stardust/labels{/name}","releases_url":"https://api.github.com/repos/TechnologyAdvice/stardust/releases{/id}","created_at":"2015-06-19T16:47:19Z","updated_at":"2015-11-25T12:56:50Z","pushed_at":"2015-11-25T15:33:09Z","git_url":"git://github.com/TechnologyAdvice/stardust.git","ssh_url":"git@github.com:TechnologyAdvice/stardust.git","clone_url":"https://github.com/TechnologyAdvice/stardust.git","svn_url":"https://github.com/TechnologyAdvice/stardust","homepage":"https://technologyadvice.github.io/stardust","size":2467,"stargazers_count":22,"watchers_count":22,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":28,"forks":0,"open_issues":28,"watchers":22,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/TechnologyAdvice/stardust/pulls/113"},"html":{"href":"https://github.com/TechnologyAdvice/stardust/pull/113"},"issue":{"href":"https://api.github.com/repos/TechnologyAdvice/stardust/issues/113"},"comments":{"href":"https://api.github.com/repos/TechnologyAdvice/stardust/issues/113/comments"},"review_comments":{"href":"https://api.github.com/repos/TechnologyAdvice/stardust/pulls/113/comments"},"review_comment":{"href":"https://api.github.com/repos/TechnologyAdvice/stardust/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/TechnologyAdvice/stardust/pulls/113/commits"},"statuses":{"href":"https://api.github.com/repos/TechnologyAdvice/stardust/statuses/ee66f1fb1219f4fc2274bc3401f070a1af80762b"}}}}