{"action":"created","comment":{"url":"https://api.github.com/repos/natgeo/mortar/pulls/comments/68770005","id":68770005,"diff_hunk":"@@ -45,13 +55,22 @@ class MTSlider extends Component {\n     Pestle.PubSub.publish(events.slideChange, slideData);\n   }\n \n+  constructor(props) {\n+    super(props);\n+    this.onSlideChange = this.onSlideChange.bind(this);\n+\n+    this.state = {\n+      currentSlide: 0\n+    };\n+  }\n+\n   render() {\n     const settings = {\n       afterChange: this.onChangeSlide,\n       className: 'mt_slider-container mt_intratio--photo mt_bgcolor-neutral-xxd',\n       nextArrow: <NextButton />,\n       prevArrow: <PrevButton />,\n-      useCSS: this.props.useCSS\n+      useCSS: true","path":"app/modules/slider/scripts/MTSlider.jsx","position":54,"original_position":54,"commit_id":"9743245b60460c19c03b02e45179b4780d09f2ab","original_commit_id":"9743245b60460c19c03b02e45179b4780d09f2ab","user":{"login":"krlospelaez","id":9850818,"avatar_url":"https://avatars.githubusercontent.com/u/9850818?v=3","gravatar_id":"","url":"https://api.github.com/users/krlospelaez","html_url":"https://github.com/krlospelaez","followers_url":"https://api.github.com/users/krlospelaez/followers","following_url":"https://api.github.com/users/krlospelaez/following{/other_user}","gists_url":"https://api.github.com/users/krlospelaez/gists{/gist_id}","starred_url":"https://api.github.com/users/krlospelaez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krlospelaez/subscriptions","organizations_url":"https://api.github.com/users/krlospelaez/orgs","repos_url":"https://api.github.com/users/krlospelaez/repos","events_url":"https://api.github.com/users/krlospelaez/events{/privacy}","received_events_url":"https://api.github.com/users/krlospelaez/received_events","type":"User","site_admin":false},"body":"This brakes the tests. We need a way to disable animations.","created_at":"2016-06-28T14:40:02Z","updated_at":"2016-06-28T14:40:02Z","html_url":"https://github.com/natgeo/mortar/pull/149#discussion_r68770005","pull_request_url":"https://api.github.com/repos/natgeo/mortar/pulls/149","_links":{"self":{"href":"https://api.github.com/repos/natgeo/mortar/pulls/comments/68770005"},"html":{"href":"https://github.com/natgeo/mortar/pull/149#discussion_r68770005"},"pull_request":{"href":"https://api.github.com/repos/natgeo/mortar/pulls/149"}}},"pull_request":{"url":"https://api.github.com/repos/natgeo/mortar/pulls/149","id":75152268,"html_url":"https://github.com/natgeo/mortar/pull/149","diff_url":"https://github.com/natgeo/mortar/pull/149.diff","patch_url":"https://github.com/natgeo/mortar/pull/149.patch","issue_url":"https://api.github.com/repos/natgeo/mortar/issues/149","number":149,"state":"open","locked":false,"title":"add ability to toggle looping/infinte feature, inactive slider button state","user":{"login":"xiwcx","id":2304131,"avatar_url":"https://avatars.githubusercontent.com/u/2304131?v=3","gravatar_id":"","url":"https://api.github.com/users/xiwcx","html_url":"https://github.com/xiwcx","followers_url":"https://api.github.com/users/xiwcx/followers","following_url":"https://api.github.com/users/xiwcx/following{/other_user}","gists_url":"https://api.github.com/users/xiwcx/gists{/gist_id}","starred_url":"https://api.github.com/users/xiwcx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xiwcx/subscriptions","organizations_url":"https://api.github.com/users/xiwcx/orgs","repos_url":"https://api.github.com/users/xiwcx/repos","events_url":"https://api.github.com/users/xiwcx/events{/privacy}","received_events_url":"https://api.github.com/users/xiwcx/received_events","type":"User","site_admin":false},"body":"https://jira.nationalgeographic.com/browse/MORTAR-180\r\n\r\n* check that looping and non-looping galleries work as expected\r\n* check that inactive button state shows up when expected","created_at":"2016-06-24T18:12:49Z","updated_at":"2016-06-28T14:40:02Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7aa290d039545736536862ab505052424909bb79","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/natgeo/mortar/pulls/149/commits","review_comments_url":"https://api.github.com/repos/natgeo/mortar/pulls/149/comments","review_comment_url":"https://api.github.com/repos/natgeo/mortar/pulls/comments{/number}","comments_url":"https://api.github.com/repos/natgeo/mortar/issues/149/comments","statuses_url":"https://api.github.com/repos/natgeo/mortar/statuses/9743245b60460c19c03b02e45179b4780d09f2ab","head":{"label":"natgeo:feature/mortar-180","ref":"feature/mortar-180","sha":"9743245b60460c19c03b02e45179b4780d09f2ab","user":{"login":"natgeo","id":343010,"avatar_url":"https://avatars.githubusercontent.com/u/343010?v=3","gravatar_id":"","url":"https://api.github.com/users/natgeo","html_url":"https://github.com/natgeo","followers_url":"https://api.github.com/users/natgeo/followers","following_url":"https://api.github.com/users/natgeo/following{/other_user}","gists_url":"https://api.github.com/users/natgeo/gists{/gist_id}","starred_url":"https://api.github.com/users/natgeo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/natgeo/subscriptions","organizations_url":"https://api.github.com/users/natgeo/orgs","repos_url":"https://api.github.com/users/natgeo/repos","events_url":"https://api.github.com/users/natgeo/events{/privacy}","received_events_url":"https://api.github.com/users/natgeo/received_events","type":"Organization","site_admin":false},"repo":{"id":13811674,"name":"mortar","full_name":"natgeo/mortar","owner":{"login":"natgeo","id":343010,"avatar_url":"https://avatars.githubusercontent.com/u/343010?v=3","gravatar_id":"","url":"https://api.github.com/users/natgeo","html_url":"https://github.com/natgeo","followers_url":"https://api.github.com/users/natgeo/followers","following_url":"https://api.github.com/users/natgeo/following{/other_user}","gists_url":"https://api.github.com/users/natgeo/gists{/gist_id}","starred_url":"https://api.github.com/users/natgeo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/natgeo/subscriptions","organizations_url":"https://api.github.com/users/natgeo/orgs","repos_url":"https://api.github.com/users/natgeo/repos","events_url":"https://api.github.com/users/natgeo/events{/privacy}","received_events_url":"https://api.github.com/users/natgeo/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/natgeo/mortar","description":"NGS foundational framework","fork":false,"url":"https://api.github.com/repos/natgeo/mortar","forks_url":"https://api.github.com/repos/natgeo/mortar/forks","keys_url":"https://api.github.com/repos/natgeo/mortar/keys{/key_id}","collaborators_url":"https://api.github.com/repos/natgeo/mortar/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/natgeo/mortar/teams","hooks_url":"https://api.github.com/repos/natgeo/mortar/hooks","issue_events_url":"https://api.github.com/repos/natgeo/mortar/issues/events{/number}","events_url":"https://api.github.com/repos/natgeo/mortar/events","assignees_url":"https://api.github.com/repos/natgeo/mortar/assignees{/user}","branches_url":"https://api.github.com/repos/natgeo/mortar/branches{/branch}","tags_url":"https://api.github.com/repos/natgeo/mortar/tags","blobs_url":"https://api.github.com/repos/natgeo/mortar/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/natgeo/mortar/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/natgeo/mortar/git/refs{/sha}","trees_url":"https://api.github.com/repos/natgeo/mortar/git/trees{/sha}","statuses_url":"https://api.github.com/repos/natgeo/mortar/statuses/{sha}","languages_url":"https://api.github.com/repos/natgeo/mortar/languages","stargazers_url":"https://api.github.com/repos/natgeo/mortar/stargazers","contributors_url":"https://api.github.com/repos/natgeo/mortar/contributors","subscribers_url":"https://api.github.com/repos/natgeo/mortar/subscribers","subscription_url":"https://api.github.com/repos/natgeo/mortar/subscription","commits_url":"https://api.github.com/repos/natgeo/mortar/commits{/sha}","git_commits_url":"https://api.github.com/repos/natgeo/mortar/git/commits{/sha}","comments_url":"https://api.github.com/repos/natgeo/mortar/comments{/number}","issue_comment_url":"https://api.github.com/repos/natgeo/mortar/issues/comments{/number}","contents_url":"https://api.github.com/repos/natgeo/mortar/contents/{+path}","compare_url":"https://api.github.com/repos/natgeo/mortar/compare/{base}...{head}","merges_url":"https://api.github.com/repos/natgeo/mortar/merges","archive_url":"https://api.github.com/repos/natgeo/mortar/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/natgeo/mortar/downloads","issues_url":"https://api.github.com/repos/natgeo/mortar/issues{/number}","pulls_url":"https://api.github.com/repos/natgeo/mortar/pulls{/number}","milestones_url":"https://api.github.com/repos/natgeo/mortar/milestones{/number}","notifications_url":"https://api.github.com/repos/natgeo/mortar/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/natgeo/mortar/labels{/name}","releases_url":"https://api.github.com/repos/natgeo/mortar/releases{/id}","deployments_url":"https://api.github.com/repos/natgeo/mortar/deployments","created_at":"2013-10-23T18:53:51Z","updated_at":"2016-05-19T14:38:30Z","pushed_at":"2016-06-28T14:38:47Z","git_url":"git://github.com/natgeo/mortar.git","ssh_url":"git@github.com:natgeo/mortar.git","clone_url":"https://github.com/natgeo/mortar.git","svn_url":"https://github.com/natgeo/mortar","homepage":"http://style-guide.nationalgeographic.com","size":10642,"stargazers_count":17,"watchers_count":17,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":17,"default_branch":"master"}},"base":{"label":"natgeo:master","ref":"master","sha":"4ae05013a1752cacc885708225b4be230c57bef2","user":{"login":"natgeo","id":343010,"avatar_url":"https://avatars.githubusercontent.com/u/343010?v=3","gravatar_id":"","url":"https://api.github.com/users/natgeo","html_url":"https://github.com/natgeo","followers_url":"https://api.github.com/users/natgeo/followers","following_url":"https://api.github.com/users/natgeo/following{/other_user}","gists_url":"https://api.github.com/users/natgeo/gists{/gist_id}","starred_url":"https://api.github.com/users/natgeo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/natgeo/subscriptions","organizations_url":"https://api.github.com/users/natgeo/orgs","repos_url":"https://api.github.com/users/natgeo/repos","events_url":"https://api.github.com/users/natgeo/events{/privacy}","received_events_url":"https://api.github.com/users/natgeo/received_events","type":"Organization","site_admin":false},"repo":{"id":13811674,"name":"mortar","full_name":"natgeo/mortar","owner":{"login":"natgeo","id":343010,"avatar_url":"https://avatars.githubusercontent.com/u/343010?v=3","gravatar_id":"","url":"https://api.github.com/users/natgeo","html_url":"https://github.com/natgeo","followers_url":"https://api.github.com/users/natgeo/followers","following_url":"https://api.github.com/users/natgeo/following{/other_user}","gists_url":"https://api.github.com/users/natgeo/gists{/gist_id}","starred_url":"https://api.github.com/users/natgeo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/natgeo/subscriptions","organizations_url":"https://api.github.com/users/natgeo/orgs","repos_url":"https://api.github.com/users/natgeo/repos","events_url":"https://api.github.com/users/natgeo/events{/privacy}","received_events_url":"https://api.github.com/users/natgeo/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/natgeo/mortar","description":"NGS foundational framework","fork":false,"url":"https://api.github.com/repos/natgeo/mortar","forks_url":"https://api.github.com/repos/natgeo/mortar/forks","keys_url":"https://api.github.com/repos/natgeo/mortar/keys{/key_id}","collaborators_url":"https://api.github.com/repos/natgeo/mortar/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/natgeo/mortar/teams","hooks_url":"https://api.github.com/repos/natgeo/mortar/hooks","issue_events_url":"https://api.github.com/repos/natgeo/mortar/issues/events{/number}","events_url":"https://api.github.com/repos/natgeo/mortar/events","assignees_url":"https://api.github.com/repos/natgeo/mortar/assignees{/user}","branches_url":"https://api.github.com/repos/natgeo/mortar/branches{/branch}","tags_url":"https://api.github.com/repos/natgeo/mortar/tags","blobs_url":"https://api.github.com/repos/natgeo/mortar/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/natgeo/mortar/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/natgeo/mortar/git/refs{/sha}","trees_url":"https://api.github.com/repos/natgeo/mortar/git/trees{/sha}","statuses_url":"https://api.github.com/repos/natgeo/mortar/statuses/{sha}","languages_url":"https://api.github.com/repos/natgeo/mortar/languages","stargazers_url":"https://api.github.com/repos/natgeo/mortar/stargazers","contributors_url":"https://api.github.com/repos/natgeo/mortar/contributors","subscribers_url":"https://api.github.com/repos/natgeo/mortar/subscribers","subscription_url":"https://api.github.com/repos/natgeo/mortar/subscription","commits_url":"https://api.github.com/repos/natgeo/mortar/commits{/sha}","git_commits_url":"https://api.github.com/repos/natgeo/mortar/git/commits{/sha}","comments_url":"https://api.github.com/repos/natgeo/mortar/comments{/number}","issue_comment_url":"https://api.github.com/repos/natgeo/mortar/issues/comments{/number}","contents_url":"https://api.github.com/repos/natgeo/mortar/contents/{+path}","compare_url":"https://api.github.com/repos/natgeo/mortar/compare/{base}...{head}","merges_url":"https://api.github.com/repos/natgeo/mortar/merges","archive_url":"https://api.github.com/repos/natgeo/mortar/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/natgeo/mortar/downloads","issues_url":"https://api.github.com/repos/natgeo/mortar/issues{/number}","pulls_url":"https://api.github.com/repos/natgeo/mortar/pulls{/number}","milestones_url":"https://api.github.com/repos/natgeo/mortar/milestones{/number}","notifications_url":"https://api.github.com/repos/natgeo/mortar/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/natgeo/mortar/labels{/name}","releases_url":"https://api.github.com/repos/natgeo/mortar/releases{/id}","deployments_url":"https://api.github.com/repos/natgeo/mortar/deployments","created_at":"2013-10-23T18:53:51Z","updated_at":"2016-05-19T14:38:30Z","pushed_at":"2016-06-28T14:38:47Z","git_url":"git://github.com/natgeo/mortar.git","ssh_url":"git@github.com:natgeo/mortar.git","clone_url":"https://github.com/natgeo/mortar.git","svn_url":"https://github.com/natgeo/mortar","homepage":"http://style-guide.nationalgeographic.com","size":10642,"stargazers_count":17,"watchers_count":17,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":17,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/natgeo/mortar/pulls/149"},"html":{"href":"https://github.com/natgeo/mortar/pull/149"},"issue":{"href":"https://api.github.com/repos/natgeo/mortar/issues/149"},"comments":{"href":"https://api.github.com/repos/natgeo/mortar/issues/149/comments"},"review_comments":{"href":"https://api.github.com/repos/natgeo/mortar/pulls/149/comments"},"review_comment":{"href":"https://api.github.com/repos/natgeo/mortar/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/natgeo/mortar/pulls/149/commits"},"statuses":{"href":"https://api.github.com/repos/natgeo/mortar/statuses/9743245b60460c19c03b02e45179b4780d09f2ab"}}}}
{"actor":{"display_login":"krlospelaez"}}