{"action":"created","comment":{"url":"https://api.github.com/repos/JoelRoxell/r-swipeable/pulls/comments/85502146","pull_request_review_id":6214585,"id":85502146,"diff_hunk":"@@ -80,21 +83,27 @@ class Swipeable extends Component {\n   }\n \n   /**\n+   * Calculate total width of child nodes and return negated value as right limit\n+   */\n+  calculateRightLimit() {\n+    const childNodes = this.content.children;\n+    const totalWidth = childNodes[0].offsetWidth * childNodes.length;;","path":"src/swipeable.js","position":25,"original_position":25,"commit_id":"a4d853c5022ec2ae0f47e6ff808f95681a2bd38a","original_commit_id":"a4d853c5022ec2ae0f47e6ff808f95681a2bd38a","user":{"login":"JoelRoxell","id":15216051,"avatar_url":"https://avatars.githubusercontent.com/u/15216051?v=3","gravatar_id":"","url":"https://api.github.com/users/JoelRoxell","html_url":"https://github.com/JoelRoxell","followers_url":"https://api.github.com/users/JoelRoxell/followers","following_url":"https://api.github.com/users/JoelRoxell/following{/other_user}","gists_url":"https://api.github.com/users/JoelRoxell/gists{/gist_id}","starred_url":"https://api.github.com/users/JoelRoxell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JoelRoxell/subscriptions","organizations_url":"https://api.github.com/users/JoelRoxell/orgs","repos_url":"https://api.github.com/users/JoelRoxell/repos","events_url":"https://api.github.com/users/JoelRoxell/events{/privacy}","received_events_url":"https://api.github.com/users/JoelRoxell/received_events","type":"User","site_admin":false},"body":"Missing line break and remove duplication of `;`","created_at":"2016-10-28T09:52:17Z","updated_at":"2016-10-28T10:00:33Z","html_url":"https://github.com/JoelRoxell/r-swipeable/pull/10#discussion_r85502146","pull_request_url":"https://api.github.com/repos/JoelRoxell/r-swipeable/pulls/10","_links":{"self":{"href":"https://api.github.com/repos/JoelRoxell/r-swipeable/pulls/comments/85502146"},"html":{"href":"https://github.com/JoelRoxell/r-swipeable/pull/10#discussion_r85502146"},"pull_request":{"href":"https://api.github.com/repos/JoelRoxell/r-swipeable/pulls/10"}}},"pull_request":{"url":"https://api.github.com/repos/JoelRoxell/r-swipeable/pulls/10","id":91148443,"html_url":"https://github.com/JoelRoxell/r-swipeable/pull/10","diff_url":"https://github.com/JoelRoxell/r-swipeable/pull/10.diff","patch_url":"https://github.com/JoelRoxell/r-swipeable/pull/10.patch","issue_url":"https://api.github.com/repos/JoelRoxell/r-swipeable/issues/10","number":10,"state":"open","locked":false,"title":"[RDY] Make swipeable more dynamic","user":{"login":"widenanders","id":19903703,"avatar_url":"https://avatars.githubusercontent.com/u/19903703?v=3","gravatar_id":"","url":"https://api.github.com/users/widenanders","html_url":"https://github.com/widenanders","followers_url":"https://api.github.com/users/widenanders/followers","following_url":"https://api.github.com/users/widenanders/following{/other_user}","gists_url":"https://api.github.com/users/widenanders/gists{/gist_id}","starred_url":"https://api.github.com/users/widenanders/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/widenanders/subscriptions","organizations_url":"https://api.github.com/users/widenanders/orgs","repos_url":"https://api.github.com/users/widenanders/repos","events_url":"https://api.github.com/users/widenanders/events{/privacy}","received_events_url":"https://api.github.com/users/widenanders/received_events","type":"User","site_admin":false},"body":"Updates babel dependencies, (now uses babel-cli instead of babel).\r\n\r\nAdd support for setting any width of child nodes, with css, and having the swipeable adapt.\r\n\r\nReplaces module 'react-prefixer' with 'inline-style-prefixer' which has support for server side rendering.\r\n\r\nTested, and working, in:\r\n- Chrome\r\n- Firefox\r\n- Safari\r\n- Safari for iOS","created_at":"2016-10-27T07:44:18Z","updated_at":"2016-10-28T10:00:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e776e73351341418c7ae26a3b2a14e7fc97afb25","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/JoelRoxell/r-swipeable/pulls/10/commits","review_comments_url":"https://api.github.com/repos/JoelRoxell/r-swipeable/pulls/10/comments","review_comment_url":"https://api.github.com/repos/JoelRoxell/r-swipeable/pulls/comments{/number}","comments_url":"https://api.github.com/repos/JoelRoxell/r-swipeable/issues/10/comments","statuses_url":"https://api.github.com/repos/JoelRoxell/r-swipeable/statuses/a4d853c5022ec2ae0f47e6ff808f95681a2bd38a","head":{"label":"widenanders:dev","ref":"dev","sha":"a4d853c5022ec2ae0f47e6ff808f95681a2bd38a","user":{"login":"widenanders","id":19903703,"avatar_url":"https://avatars.githubusercontent.com/u/19903703?v=3","gravatar_id":"","url":"https://api.github.com/users/widenanders","html_url":"https://github.com/widenanders","followers_url":"https://api.github.com/users/widenanders/followers","following_url":"https://api.github.com/users/widenanders/following{/other_user}","gists_url":"https://api.github.com/users/widenanders/gists{/gist_id}","starred_url":"https://api.github.com/users/widenanders/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/widenanders/subscriptions","organizations_url":"https://api.github.com/users/widenanders/orgs","repos_url":"https://api.github.com/users/widenanders/repos","events_url":"https://api.github.com/users/widenanders/events{/privacy}","received_events_url":"https://api.github.com/users/widenanders/received_events","type":"User","site_admin":false},"repo":{"id":72077170,"name":"r-swipeable","full_name":"widenanders/r-swipeable","owner":{"login":"widenanders","id":19903703,"avatar_url":"https://avatars.githubusercontent.com/u/19903703?v=3","gravatar_id":"","url":"https://api.github.com/users/widenanders","html_url":"https://github.com/widenanders","followers_url":"https://api.github.com/users/widenanders/followers","following_url":"https://api.github.com/users/widenanders/following{/other_user}","gists_url":"https://api.github.com/users/widenanders/gists{/gist_id}","starred_url":"https://api.github.com/users/widenanders/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/widenanders/subscriptions","organizations_url":"https://api.github.com/users/widenanders/orgs","repos_url":"https://api.github.com/users/widenanders/repos","events_url":"https://api.github.com/users/widenanders/events{/privacy}","received_events_url":"https://api.github.com/users/widenanders/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/widenanders/r-swipeable","description":"Swipeable react wrapper. (web)","fork":true,"url":"https://api.github.com/repos/widenanders/r-swipeable","forks_url":"https://api.github.com/repos/widenanders/r-swipeable/forks","keys_url":"https://api.github.com/repos/widenanders/r-swipeable/keys{/key_id}","collaborators_url":"https://api.github.com/repos/widenanders/r-swipeable/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/widenanders/r-swipeable/teams","hooks_url":"https://api.github.com/repos/widenanders/r-swipeable/hooks","issue_events_url":"https://api.github.com/repos/widenanders/r-swipeable/issues/events{/number}","events_url":"https://api.github.com/repos/widenanders/r-swipeable/events","assignees_url":"https://api.github.com/repos/widenanders/r-swipeable/assignees{/user}","branches_url":"https://api.github.com/repos/widenanders/r-swipeable/branches{/branch}","tags_url":"https://api.github.com/repos/widenanders/r-swipeable/tags","blobs_url":"https://api.github.com/repos/widenanders/r-swipeable/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/widenanders/r-swipeable/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/widenanders/r-swipeable/git/refs{/sha}","trees_url":"https://api.github.com/repos/widenanders/r-swipeable/git/trees{/sha}","statuses_url":"https://api.github.com/repos/widenanders/r-swipeable/statuses/{sha}","languages_url":"https://api.github.com/repos/widenanders/r-swipeable/languages","stargazers_url":"https://api.github.com/repos/widenanders/r-swipeable/stargazers","contributors_url":"https://api.github.com/repos/widenanders/r-swipeable/contributors","subscribers_url":"https://api.github.com/repos/widenanders/r-swipeable/subscribers","subscription_url":"https://api.github.com/repos/widenanders/r-swipeable/subscription","commits_url":"https://api.github.com/repos/widenanders/r-swipeable/commits{/sha}","git_commits_url":"https://api.github.com/repos/widenanders/r-swipeable/git/commits{/sha}","comments_url":"https://api.github.com/repos/widenanders/r-swipeable/comments{/number}","issue_comment_url":"https://api.github.com/repos/widenanders/r-swipeable/issues/comments{/number}","contents_url":"https://api.github.com/repos/widenanders/r-swipeable/contents/{+path}","compare_url":"https://api.github.com/repos/widenanders/r-swipeable/compare/{base}...{head}","merges_url":"https://api.github.com/repos/widenanders/r-swipeable/merges","archive_url":"https://api.github.com/repos/widenanders/r-swipeable/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/widenanders/r-swipeable/downloads","issues_url":"https://api.github.com/repos/widenanders/r-swipeable/issues{/number}","pulls_url":"https://api.github.com/repos/widenanders/r-swipeable/pulls{/number}","milestones_url":"https://api.github.com/repos/widenanders/r-swipeable/milestones{/number}","notifications_url":"https://api.github.com/repos/widenanders/r-swipeable/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/widenanders/r-swipeable/labels{/name}","releases_url":"https://api.github.com/repos/widenanders/r-swipeable/releases{/id}","deployments_url":"https://api.github.com/repos/widenanders/r-swipeable/deployments","created_at":"2016-10-27T06:17:35Z","updated_at":"2016-10-27T06:17:36Z","pushed_at":"2016-10-27T08:39:06Z","git_url":"git://github.com/widenanders/r-swipeable.git","ssh_url":"git@github.com:widenanders/r-swipeable.git","clone_url":"https://github.com/widenanders/r-swipeable.git","svn_url":"https://github.com/widenanders/r-swipeable","homepage":"","size":23,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"JoelRoxell:development","ref":"development","sha":"21f6e3e855ffdaefb9d27c886f1d9f0769428805","user":{"login":"JoelRoxell","id":15216051,"avatar_url":"https://avatars.githubusercontent.com/u/15216051?v=3","gravatar_id":"","url":"https://api.github.com/users/JoelRoxell","html_url":"https://github.com/JoelRoxell","followers_url":"https://api.github.com/users/JoelRoxell/followers","following_url":"https://api.github.com/users/JoelRoxell/following{/other_user}","gists_url":"https://api.github.com/users/JoelRoxell/gists{/gist_id}","starred_url":"https://api.github.com/users/JoelRoxell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JoelRoxell/subscriptions","organizations_url":"https://api.github.com/users/JoelRoxell/orgs","repos_url":"https://api.github.com/users/JoelRoxell/repos","events_url":"https://api.github.com/users/JoelRoxell/events{/privacy}","received_events_url":"https://api.github.com/users/JoelRoxell/received_events","type":"User","site_admin":false},"repo":{"id":67898589,"name":"r-swipeable","full_name":"JoelRoxell/r-swipeable","owner":{"login":"JoelRoxell","id":15216051,"avatar_url":"https://avatars.githubusercontent.com/u/15216051?v=3","gravatar_id":"","url":"https://api.github.com/users/JoelRoxell","html_url":"https://github.com/JoelRoxell","followers_url":"https://api.github.com/users/JoelRoxell/followers","following_url":"https://api.github.com/users/JoelRoxell/following{/other_user}","gists_url":"https://api.github.com/users/JoelRoxell/gists{/gist_id}","starred_url":"https://api.github.com/users/JoelRoxell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JoelRoxell/subscriptions","organizations_url":"https://api.github.com/users/JoelRoxell/orgs","repos_url":"https://api.github.com/users/JoelRoxell/repos","events_url":"https://api.github.com/users/JoelRoxell/events{/privacy}","received_events_url":"https://api.github.com/users/JoelRoxell/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/JoelRoxell/r-swipeable","description":"Swipeable react wrapper. (web)","fork":false,"url":"https://api.github.com/repos/JoelRoxell/r-swipeable","forks_url":"https://api.github.com/repos/JoelRoxell/r-swipeable/forks","keys_url":"https://api.github.com/repos/JoelRoxell/r-swipeable/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JoelRoxell/r-swipeable/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JoelRoxell/r-swipeable/teams","hooks_url":"https://api.github.com/repos/JoelRoxell/r-swipeable/hooks","issue_events_url":"https://api.github.com/repos/JoelRoxell/r-swipeable/issues/events{/number}","events_url":"https://api.github.com/repos/JoelRoxell/r-swipeable/events","assignees_url":"https://api.github.com/repos/JoelRoxell/r-swipeable/assignees{/user}","branches_url":"https://api.github.com/repos/JoelRoxell/r-swipeable/branches{/branch}","tags_url":"https://api.github.com/repos/JoelRoxell/r-swipeable/tags","blobs_url":"https://api.github.com/repos/JoelRoxell/r-swipeable/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JoelRoxell/r-swipeable/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JoelRoxell/r-swipeable/git/refs{/sha}","trees_url":"https://api.github.com/repos/JoelRoxell/r-swipeable/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JoelRoxell/r-swipeable/statuses/{sha}","languages_url":"https://api.github.com/repos/JoelRoxell/r-swipeable/languages","stargazers_url":"https://api.github.com/repos/JoelRoxell/r-swipeable/stargazers","contributors_url":"https://api.github.com/repos/JoelRoxell/r-swipeable/contributors","subscribers_url":"https://api.github.com/repos/JoelRoxell/r-swipeable/subscribers","subscription_url":"https://api.github.com/repos/JoelRoxell/r-swipeable/subscription","commits_url":"https://api.github.com/repos/JoelRoxell/r-swipeable/commits{/sha}","git_commits_url":"https://api.github.com/repos/JoelRoxell/r-swipeable/git/commits{/sha}","comments_url":"https://api.github.com/repos/JoelRoxell/r-swipeable/comments{/number}","issue_comment_url":"https://api.github.com/repos/JoelRoxell/r-swipeable/issues/comments{/number}","contents_url":"https://api.github.com/repos/JoelRoxell/r-swipeable/contents/{+path}","compare_url":"https://api.github.com/repos/JoelRoxell/r-swipeable/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JoelRoxell/r-swipeable/merges","archive_url":"https://api.github.com/repos/JoelRoxell/r-swipeable/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JoelRoxell/r-swipeable/downloads","issues_url":"https://api.github.com/repos/JoelRoxell/r-swipeable/issues{/number}","pulls_url":"https://api.github.com/repos/JoelRoxell/r-swipeable/pulls{/number}","milestones_url":"https://api.github.com/repos/JoelRoxell/r-swipeable/milestones{/number}","notifications_url":"https://api.github.com/repos/JoelRoxell/r-swipeable/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JoelRoxell/r-swipeable/labels{/name}","releases_url":"https://api.github.com/repos/JoelRoxell/r-swipeable/releases{/id}","deployments_url":"https://api.github.com/repos/JoelRoxell/r-swipeable/deployments","created_at":"2016-09-10T22:57:04Z","updated_at":"2016-09-13T21:44:34Z","pushed_at":"2016-10-27T08:39:06Z","git_url":"git://github.com/JoelRoxell/r-swipeable.git","ssh_url":"git@github.com:JoelRoxell/r-swipeable.git","clone_url":"https://github.com/JoelRoxell/r-swipeable.git","svn_url":"https://github.com/JoelRoxell/r-swipeable","homepage":"","size":29,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":7,"forks":1,"open_issues":7,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/JoelRoxell/r-swipeable/pulls/10"},"html":{"href":"https://github.com/JoelRoxell/r-swipeable/pull/10"},"issue":{"href":"https://api.github.com/repos/JoelRoxell/r-swipeable/issues/10"},"comments":{"href":"https://api.github.com/repos/JoelRoxell/r-swipeable/issues/10/comments"},"review_comments":{"href":"https://api.github.com/repos/JoelRoxell/r-swipeable/pulls/10/comments"},"review_comment":{"href":"https://api.github.com/repos/JoelRoxell/r-swipeable/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/JoelRoxell/r-swipeable/pulls/10/commits"},"statuses":{"href":"https://api.github.com/repos/JoelRoxell/r-swipeable/statuses/a4d853c5022ec2ae0f47e6ff808f95681a2bd38a"}}}}
{"actor":{"display_login":"JoelRoxell"}}