{"action":"created","comment":{"url":"https://api.github.com/repos/jackofseattle/react-modal/pulls/comments/36044869","id":36044869,"diff_hunk":"@@ -14,7 +14,41 @@ Accessible modal dialog component for React.JS\n   <p>Etc.</p>\n </Modal>\n ```\n+## Styles\n+Styles are passed as an object with 2 keys, 'overlay' and 'content' like so\n+```js\n+{\n+  overlay : {\n+    position          : 'fixed',\n+    top               : 0,\n+    left              : 0,\n+    right             : 0,\n+    bottom            : 0,\n+    'backgroundColor' : 'rgba(255, 255, 255, 0.75)'\n+  },\n+  content : {\n+    position                   : 'absolute',\n+    top                        : '40px',\n+    left                       : '40px',\n+    right                      : '40px',\n+    bottom                     : '40px',\n+    border                     : '1px solid #ccc',\n+    background                 : '#fff',\n+    overflow                   : 'auto',\n+    'WebkitOoverflowScrolling' : 'touch',","path":"README.md","position":25,"original_position":25,"commit_id":"0132e301a7039c20c707d7314fdf9b41138037e8","original_commit_id":"0132e301a7039c20c707d7314fdf9b41138037e8","user":{"login":"joshschumacher","id":66679,"avatar_url":"https://avatars.githubusercontent.com/u/66679?v=3","gravatar_id":"","url":"https://api.github.com/users/joshschumacher","html_url":"https://github.com/joshschumacher","followers_url":"https://api.github.com/users/joshschumacher/followers","following_url":"https://api.github.com/users/joshschumacher/following{/other_user}","gists_url":"https://api.github.com/users/joshschumacher/gists{/gist_id}","starred_url":"https://api.github.com/users/joshschumacher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joshschumacher/subscriptions","organizations_url":"https://api.github.com/users/joshschumacher/orgs","repos_url":"https://api.github.com/users/joshschumacher/repos","events_url":"https://api.github.com/users/joshschumacher/events{/privacy}","received_events_url":"https://api.github.com/users/joshschumacher/received_events","type":"User","site_admin":false},"body":"FYI, actually reviewing your PR on the react-modal repo but figured I could leave comments here instead... Just got down to the actual code section and noticed keys aren't quoted there so you can remove the quotes from the sample code.","created_at":"2015-08-02T16:45:55Z","updated_at":"2015-08-02T16:45:55Z","html_url":"https://github.com/jackofseattle/react-modal/pull/1#discussion_r36044869","pull_request_url":"https://api.github.com/repos/jackofseattle/react-modal/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/jackofseattle/react-modal/pulls/comments/36044869"},"html":{"href":"https://github.com/jackofseattle/react-modal/pull/1#discussion_r36044869"},"pull_request":{"href":"https://api.github.com/repos/jackofseattle/react-modal/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/jackofseattle/react-modal/pulls/1","id":41165876,"html_url":"https://github.com/jackofseattle/react-modal/pull/1","diff_url":"https://github.com/jackofseattle/react-modal/pull/1.diff","patch_url":"https://github.com/jackofseattle/react-modal/pull/1.patch","issue_url":"https://api.github.com/repos/jackofseattle/react-modal/issues/1","number":1,"state":"closed","locked":false,"title":"No more inject css, styles are inlined via object properties","user":{"login":"jackofseattle","id":1535387,"avatar_url":"https://avatars.githubusercontent.com/u/1535387?v=3","gravatar_id":"","url":"https://api.github.com/users/jackofseattle","html_url":"https://github.com/jackofseattle","followers_url":"https://api.github.com/users/jackofseattle/followers","following_url":"https://api.github.com/users/jackofseattle/following{/other_user}","gists_url":"https://api.github.com/users/jackofseattle/gists{/gist_id}","starred_url":"https://api.github.com/users/jackofseattle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jackofseattle/subscriptions","organizations_url":"https://api.github.com/users/jackofseattle/orgs","repos_url":"https://api.github.com/users/jackofseattle/repos","events_url":"https://api.github.com/users/jackofseattle/events{/privacy}","received_events_url":"https://api.github.com/users/jackofseattle/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-07-29T20:05:13Z","updated_at":"2015-08-02T16:45:55Z","closed_at":"2015-07-29T20:21:15Z","merged_at":"2015-07-29T20:21:15Z","merge_commit_sha":"3fffbabb8dcb3f8aa8fb83d18aa471995a82380f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/jackofseattle/react-modal/pulls/1/commits","review_comments_url":"https://api.github.com/repos/jackofseattle/react-modal/pulls/1/comments","review_comment_url":"https://api.github.com/repos/jackofseattle/react-modal/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jackofseattle/react-modal/issues/1/comments","statuses_url":"https://api.github.com/repos/jackofseattle/react-modal/statuses/0132e301a7039c20c707d7314fdf9b41138037e8","head":{"label":"jackofseattle:fix/NoMoreInjectCSS","ref":"fix/NoMoreInjectCSS","sha":"0132e301a7039c20c707d7314fdf9b41138037e8","user":{"login":"jackofseattle","id":1535387,"avatar_url":"https://avatars.githubusercontent.com/u/1535387?v=3","gravatar_id":"","url":"https://api.github.com/users/jackofseattle","html_url":"https://github.com/jackofseattle","followers_url":"https://api.github.com/users/jackofseattle/followers","following_url":"https://api.github.com/users/jackofseattle/following{/other_user}","gists_url":"https://api.github.com/users/jackofseattle/gists{/gist_id}","starred_url":"https://api.github.com/users/jackofseattle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jackofseattle/subscriptions","organizations_url":"https://api.github.com/users/jackofseattle/orgs","repos_url":"https://api.github.com/users/jackofseattle/repos","events_url":"https://api.github.com/users/jackofseattle/events{/privacy}","received_events_url":"https://api.github.com/users/jackofseattle/received_events","type":"User","site_admin":false},"repo":{"id":39908392,"name":"react-modal","full_name":"jackofseattle/react-modal","owner":{"login":"jackofseattle","id":1535387,"avatar_url":"https://avatars.githubusercontent.com/u/1535387?v=3","gravatar_id":"","url":"https://api.github.com/users/jackofseattle","html_url":"https://github.com/jackofseattle","followers_url":"https://api.github.com/users/jackofseattle/followers","following_url":"https://api.github.com/users/jackofseattle/following{/other_user}","gists_url":"https://api.github.com/users/jackofseattle/gists{/gist_id}","starred_url":"https://api.github.com/users/jackofseattle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jackofseattle/subscriptions","organizations_url":"https://api.github.com/users/jackofseattle/orgs","repos_url":"https://api.github.com/users/jackofseattle/repos","events_url":"https://api.github.com/users/jackofseattle/events{/privacy}","received_events_url":"https://api.github.com/users/jackofseattle/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jackofseattle/react-modal","description":"","fork":true,"url":"https://api.github.com/repos/jackofseattle/react-modal","forks_url":"https://api.github.com/repos/jackofseattle/react-modal/forks","keys_url":"https://api.github.com/repos/jackofseattle/react-modal/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jackofseattle/react-modal/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jackofseattle/react-modal/teams","hooks_url":"https://api.github.com/repos/jackofseattle/react-modal/hooks","issue_events_url":"https://api.github.com/repos/jackofseattle/react-modal/issues/events{/number}","events_url":"https://api.github.com/repos/jackofseattle/react-modal/events","assignees_url":"https://api.github.com/repos/jackofseattle/react-modal/assignees{/user}","branches_url":"https://api.github.com/repos/jackofseattle/react-modal/branches{/branch}","tags_url":"https://api.github.com/repos/jackofseattle/react-modal/tags","blobs_url":"https://api.github.com/repos/jackofseattle/react-modal/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jackofseattle/react-modal/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jackofseattle/react-modal/git/refs{/sha}","trees_url":"https://api.github.com/repos/jackofseattle/react-modal/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jackofseattle/react-modal/statuses/{sha}","languages_url":"https://api.github.com/repos/jackofseattle/react-modal/languages","stargazers_url":"https://api.github.com/repos/jackofseattle/react-modal/stargazers","contributors_url":"https://api.github.com/repos/jackofseattle/react-modal/contributors","subscribers_url":"https://api.github.com/repos/jackofseattle/react-modal/subscribers","subscription_url":"https://api.github.com/repos/jackofseattle/react-modal/subscription","commits_url":"https://api.github.com/repos/jackofseattle/react-modal/commits{/sha}","git_commits_url":"https://api.github.com/repos/jackofseattle/react-modal/git/commits{/sha}","comments_url":"https://api.github.com/repos/jackofseattle/react-modal/comments{/number}","issue_comment_url":"https://api.github.com/repos/jackofseattle/react-modal/issues/comments{/number}","contents_url":"https://api.github.com/repos/jackofseattle/react-modal/contents/{+path}","compare_url":"https://api.github.com/repos/jackofseattle/react-modal/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jackofseattle/react-modal/merges","archive_url":"https://api.github.com/repos/jackofseattle/react-modal/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jackofseattle/react-modal/downloads","issues_url":"https://api.github.com/repos/jackofseattle/react-modal/issues{/number}","pulls_url":"https://api.github.com/repos/jackofseattle/react-modal/pulls{/number}","milestones_url":"https://api.github.com/repos/jackofseattle/react-modal/milestones{/number}","notifications_url":"https://api.github.com/repos/jackofseattle/react-modal/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jackofseattle/react-modal/labels{/name}","releases_url":"https://api.github.com/repos/jackofseattle/react-modal/releases{/id}","created_at":"2015-07-29T18:03:25Z","updated_at":"2015-07-29T18:03:26Z","pushed_at":"2015-07-30T16:42:01Z","git_url":"git://github.com/jackofseattle/react-modal.git","ssh_url":"git@github.com:jackofseattle/react-modal.git","clone_url":"https://github.com/jackofseattle/react-modal.git","svn_url":"https://github.com/jackofseattle/react-modal","homepage":null,"size":891,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"jackofseattle:master","ref":"master","sha":"0d5e76a1bd9dd214aac63e4e6ed0d486997a6b5a","user":{"login":"jackofseattle","id":1535387,"avatar_url":"https://avatars.githubusercontent.com/u/1535387?v=3","gravatar_id":"","url":"https://api.github.com/users/jackofseattle","html_url":"https://github.com/jackofseattle","followers_url":"https://api.github.com/users/jackofseattle/followers","following_url":"https://api.github.com/users/jackofseattle/following{/other_user}","gists_url":"https://api.github.com/users/jackofseattle/gists{/gist_id}","starred_url":"https://api.github.com/users/jackofseattle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jackofseattle/subscriptions","organizations_url":"https://api.github.com/users/jackofseattle/orgs","repos_url":"https://api.github.com/users/jackofseattle/repos","events_url":"https://api.github.com/users/jackofseattle/events{/privacy}","received_events_url":"https://api.github.com/users/jackofseattle/received_events","type":"User","site_admin":false},"repo":{"id":39908392,"name":"react-modal","full_name":"jackofseattle/react-modal","owner":{"login":"jackofseattle","id":1535387,"avatar_url":"https://avatars.githubusercontent.com/u/1535387?v=3","gravatar_id":"","url":"https://api.github.com/users/jackofseattle","html_url":"https://github.com/jackofseattle","followers_url":"https://api.github.com/users/jackofseattle/followers","following_url":"https://api.github.com/users/jackofseattle/following{/other_user}","gists_url":"https://api.github.com/users/jackofseattle/gists{/gist_id}","starred_url":"https://api.github.com/users/jackofseattle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jackofseattle/subscriptions","organizations_url":"https://api.github.com/users/jackofseattle/orgs","repos_url":"https://api.github.com/users/jackofseattle/repos","events_url":"https://api.github.com/users/jackofseattle/events{/privacy}","received_events_url":"https://api.github.com/users/jackofseattle/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jackofseattle/react-modal","description":"","fork":true,"url":"https://api.github.com/repos/jackofseattle/react-modal","forks_url":"https://api.github.com/repos/jackofseattle/react-modal/forks","keys_url":"https://api.github.com/repos/jackofseattle/react-modal/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jackofseattle/react-modal/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jackofseattle/react-modal/teams","hooks_url":"https://api.github.com/repos/jackofseattle/react-modal/hooks","issue_events_url":"https://api.github.com/repos/jackofseattle/react-modal/issues/events{/number}","events_url":"https://api.github.com/repos/jackofseattle/react-modal/events","assignees_url":"https://api.github.com/repos/jackofseattle/react-modal/assignees{/user}","branches_url":"https://api.github.com/repos/jackofseattle/react-modal/branches{/branch}","tags_url":"https://api.github.com/repos/jackofseattle/react-modal/tags","blobs_url":"https://api.github.com/repos/jackofseattle/react-modal/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jackofseattle/react-modal/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jackofseattle/react-modal/git/refs{/sha}","trees_url":"https://api.github.com/repos/jackofseattle/react-modal/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jackofseattle/react-modal/statuses/{sha}","languages_url":"https://api.github.com/repos/jackofseattle/react-modal/languages","stargazers_url":"https://api.github.com/repos/jackofseattle/react-modal/stargazers","contributors_url":"https://api.github.com/repos/jackofseattle/react-modal/contributors","subscribers_url":"https://api.github.com/repos/jackofseattle/react-modal/subscribers","subscription_url":"https://api.github.com/repos/jackofseattle/react-modal/subscription","commits_url":"https://api.github.com/repos/jackofseattle/react-modal/commits{/sha}","git_commits_url":"https://api.github.com/repos/jackofseattle/react-modal/git/commits{/sha}","comments_url":"https://api.github.com/repos/jackofseattle/react-modal/comments{/number}","issue_comment_url":"https://api.github.com/repos/jackofseattle/react-modal/issues/comments{/number}","contents_url":"https://api.github.com/repos/jackofseattle/react-modal/contents/{+path}","compare_url":"https://api.github.com/repos/jackofseattle/react-modal/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jackofseattle/react-modal/merges","archive_url":"https://api.github.com/repos/jackofseattle/react-modal/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jackofseattle/react-modal/downloads","issues_url":"https://api.github.com/repos/jackofseattle/react-modal/issues{/number}","pulls_url":"https://api.github.com/repos/jackofseattle/react-modal/pulls{/number}","milestones_url":"https://api.github.com/repos/jackofseattle/react-modal/milestones{/number}","notifications_url":"https://api.github.com/repos/jackofseattle/react-modal/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jackofseattle/react-modal/labels{/name}","releases_url":"https://api.github.com/repos/jackofseattle/react-modal/releases{/id}","created_at":"2015-07-29T18:03:25Z","updated_at":"2015-07-29T18:03:26Z","pushed_at":"2015-07-30T16:42:01Z","git_url":"git://github.com/jackofseattle/react-modal.git","ssh_url":"git@github.com:jackofseattle/react-modal.git","clone_url":"https://github.com/jackofseattle/react-modal.git","svn_url":"https://github.com/jackofseattle/react-modal","homepage":null,"size":891,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jackofseattle/react-modal/pulls/1"},"html":{"href":"https://github.com/jackofseattle/react-modal/pull/1"},"issue":{"href":"https://api.github.com/repos/jackofseattle/react-modal/issues/1"},"comments":{"href":"https://api.github.com/repos/jackofseattle/react-modal/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/jackofseattle/react-modal/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/jackofseattle/react-modal/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jackofseattle/react-modal/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/jackofseattle/react-modal/statuses/0132e301a7039c20c707d7314fdf9b41138037e8"}}}}