{"action":"created","comment":{"url":"https://api.github.com/repos/KissKissBankBank/kitten/pulls/comments/100096581","pull_request_review_id":20791724,"id":100096581,"diff_hunk":"@@ -46,18 +46,16 @@ export const autoTriggerEnhancer = (WrappedComponent, wrappedComponentProps) =>\n       if (!domElementHelper.canUseDom()) { return false }\n       if (!this.props.verifyStorageOnStart) { return true }\n \n-      return !this.hasPlayed()\n+      return this.props.autorun && !this.hasPlayed()\n     }\n \n     start() {\n-      this.setState({\n-        play: true\n-      })\n-\n-      const componentState = JSON.stringify({ hasPlayed: true })\n-      const storeName = this.props.storeName\n+      setTimeout(() => this.setState({ play: true }), 10)","path":"assets/javascripts/kitten/hoc/trigger-enhancer.js","position":26,"original_position":26,"commit_id":"454259d28dc9b02514f47fdd35305fb7f9559570","original_commit_id":"454259d28dc9b02514f47fdd35305fb7f9559570","user":{"login":"sunny","id":132,"avatar_url":"https://avatars.githubusercontent.com/u/132?v=3","gravatar_id":"","url":"https://api.github.com/users/sunny","html_url":"https://github.com/sunny","followers_url":"https://api.github.com/users/sunny/followers","following_url":"https://api.github.com/users/sunny/following{/other_user}","gists_url":"https://api.github.com/users/sunny/gists{/gist_id}","starred_url":"https://api.github.com/users/sunny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sunny/subscriptions","organizations_url":"https://api.github.com/users/sunny/orgs","repos_url":"https://api.github.com/users/sunny/repos","events_url":"https://api.github.com/users/sunny/events{/privacy}","received_events_url":"https://api.github.com/users/sunny/received_events","type":"User","site_admin":false},"body":"Si on mets `0` plutôt que 10, ça marche quand même ? (Pour éviter un \"chiffre magique\".)","created_at":"2017-02-08T15:49:10Z","updated_at":"2017-02-08T16:01:42Z","html_url":"https://github.com/KissKissBankBank/kitten/pull/436#discussion_r100096581","pull_request_url":"https://api.github.com/repos/KissKissBankBank/kitten/pulls/436","_links":{"self":{"href":"https://api.github.com/repos/KissKissBankBank/kitten/pulls/comments/100096581"},"html":{"href":"https://github.com/KissKissBankBank/kitten/pull/436#discussion_r100096581"},"pull_request":{"href":"https://api.github.com/repos/KissKissBankBank/kitten/pulls/436"}}},"pull_request":{"url":"https://api.github.com/repos/KissKissBankBank/kitten/pulls/436","id":105243057,"html_url":"https://github.com/KissKissBankBank/kitten/pull/436","diff_url":"https://github.com/KissKissBankBank/kitten/pull/436.diff","patch_url":"https://github.com/KissKissBankBank/kitten/pull/436.patch","issue_url":"https://api.github.com/repos/KissKissBankBank/kitten/issues/436","number":436,"state":"closed","locked":false,"title":"Update triggerEnhancer","user":{"login":"Ynote","id":548778,"avatar_url":"https://avatars.githubusercontent.com/u/548778?v=3","gravatar_id":"","url":"https://api.github.com/users/Ynote","html_url":"https://github.com/Ynote","followers_url":"https://api.github.com/users/Ynote/followers","following_url":"https://api.github.com/users/Ynote/following{/other_user}","gists_url":"https://api.github.com/users/Ynote/gists{/gist_id}","starred_url":"https://api.github.com/users/Ynote/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ynote/subscriptions","organizations_url":"https://api.github.com/users/Ynote/orgs","repos_url":"https://api.github.com/users/Ynote/repos","events_url":"https://api.github.com/users/Ynote/events{/privacy}","received_events_url":"https://api.github.com/users/Ynote/received_events","type":"User","site_admin":false},"body":"TODO:\r\n\r\n- [x] Changelog\r\n","created_at":"2017-02-08T15:44:05Z","updated_at":"2017-02-08T16:01:42Z","closed_at":"2017-02-08T15:57:04Z","merged_at":"2017-02-08T15:57:04Z","merge_commit_sha":"9089d156408808b6a4178c5a759a433cdbbf51ee","assignee":{"login":"Ynote","id":548778,"avatar_url":"https://avatars.githubusercontent.com/u/548778?v=3","gravatar_id":"","url":"https://api.github.com/users/Ynote","html_url":"https://github.com/Ynote","followers_url":"https://api.github.com/users/Ynote/followers","following_url":"https://api.github.com/users/Ynote/following{/other_user}","gists_url":"https://api.github.com/users/Ynote/gists{/gist_id}","starred_url":"https://api.github.com/users/Ynote/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ynote/subscriptions","organizations_url":"https://api.github.com/users/Ynote/orgs","repos_url":"https://api.github.com/users/Ynote/repos","events_url":"https://api.github.com/users/Ynote/events{/privacy}","received_events_url":"https://api.github.com/users/Ynote/received_events","type":"User","site_admin":false},"assignees":[{"login":"Ynote","id":548778,"avatar_url":"https://avatars.githubusercontent.com/u/548778?v=3","gravatar_id":"","url":"https://api.github.com/users/Ynote","html_url":"https://github.com/Ynote","followers_url":"https://api.github.com/users/Ynote/followers","following_url":"https://api.github.com/users/Ynote/following{/other_user}","gists_url":"https://api.github.com/users/Ynote/gists{/gist_id}","starred_url":"https://api.github.com/users/Ynote/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ynote/subscriptions","organizations_url":"https://api.github.com/users/Ynote/orgs","repos_url":"https://api.github.com/users/Ynote/repos","events_url":"https://api.github.com/users/Ynote/events{/privacy}","received_events_url":"https://api.github.com/users/Ynote/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/KissKissBankBank/kitten/pulls/436/commits","review_comments_url":"https://api.github.com/repos/KissKissBankBank/kitten/pulls/436/comments","review_comment_url":"https://api.github.com/repos/KissKissBankBank/kitten/pulls/comments{/number}","comments_url":"https://api.github.com/repos/KissKissBankBank/kitten/issues/436/comments","statuses_url":"https://api.github.com/repos/KissKissBankBank/kitten/statuses/454259d28dc9b02514f47fdd35305fb7f9559570","head":{"label":"KissKissBankBank:feature/update-auto-trigger-display","ref":"feature/update-auto-trigger-display","sha":"454259d28dc9b02514f47fdd35305fb7f9559570","user":{"login":"KissKissBankBank","id":6039709,"avatar_url":"https://avatars.githubusercontent.com/u/6039709?v=3","gravatar_id":"","url":"https://api.github.com/users/KissKissBankBank","html_url":"https://github.com/KissKissBankBank","followers_url":"https://api.github.com/users/KissKissBankBank/followers","following_url":"https://api.github.com/users/KissKissBankBank/following{/other_user}","gists_url":"https://api.github.com/users/KissKissBankBank/gists{/gist_id}","starred_url":"https://api.github.com/users/KissKissBankBank/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KissKissBankBank/subscriptions","organizations_url":"https://api.github.com/users/KissKissBankBank/orgs","repos_url":"https://api.github.com/users/KissKissBankBank/repos","events_url":"https://api.github.com/users/KissKissBankBank/events{/privacy}","received_events_url":"https://api.github.com/users/KissKissBankBank/received_events","type":"Organization","site_admin":false},"repo":{"id":61292012,"name":"kitten","full_name":"KissKissBankBank/kitten","owner":{"login":"KissKissBankBank","id":6039709,"avatar_url":"https://avatars.githubusercontent.com/u/6039709?v=3","gravatar_id":"","url":"https://api.github.com/users/KissKissBankBank","html_url":"https://github.com/KissKissBankBank","followers_url":"https://api.github.com/users/KissKissBankBank/followers","following_url":"https://api.github.com/users/KissKissBankBank/following{/other_user}","gists_url":"https://api.github.com/users/KissKissBankBank/gists{/gist_id}","starred_url":"https://api.github.com/users/KissKissBankBank/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KissKissBankBank/subscriptions","organizations_url":"https://api.github.com/users/KissKissBankBank/orgs","repos_url":"https://api.github.com/users/KissKissBankBank/repos","events_url":"https://api.github.com/users/KissKissBankBank/events{/privacy}","received_events_url":"https://api.github.com/users/KissKissBankBank/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/KissKissBankBank/kitten","description":"Front-end components library","fork":false,"url":"https://api.github.com/repos/KissKissBankBank/kitten","forks_url":"https://api.github.com/repos/KissKissBankBank/kitten/forks","keys_url":"https://api.github.com/repos/KissKissBankBank/kitten/keys{/key_id}","collaborators_url":"https://api.github.com/repos/KissKissBankBank/kitten/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/KissKissBankBank/kitten/teams","hooks_url":"https://api.github.com/repos/KissKissBankBank/kitten/hooks","issue_events_url":"https://api.github.com/repos/KissKissBankBank/kitten/issues/events{/number}","events_url":"https://api.github.com/repos/KissKissBankBank/kitten/events","assignees_url":"https://api.github.com/repos/KissKissBankBank/kitten/assignees{/user}","branches_url":"https://api.github.com/repos/KissKissBankBank/kitten/branches{/branch}","tags_url":"https://api.github.com/repos/KissKissBankBank/kitten/tags","blobs_url":"https://api.github.com/repos/KissKissBankBank/kitten/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/KissKissBankBank/kitten/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/KissKissBankBank/kitten/git/refs{/sha}","trees_url":"https://api.github.com/repos/KissKissBankBank/kitten/git/trees{/sha}","statuses_url":"https://api.github.com/repos/KissKissBankBank/kitten/statuses/{sha}","languages_url":"https://api.github.com/repos/KissKissBankBank/kitten/languages","stargazers_url":"https://api.github.com/repos/KissKissBankBank/kitten/stargazers","contributors_url":"https://api.github.com/repos/KissKissBankBank/kitten/contributors","subscribers_url":"https://api.github.com/repos/KissKissBankBank/kitten/subscribers","subscription_url":"https://api.github.com/repos/KissKissBankBank/kitten/subscription","commits_url":"https://api.github.com/repos/KissKissBankBank/kitten/commits{/sha}","git_commits_url":"https://api.github.com/repos/KissKissBankBank/kitten/git/commits{/sha}","comments_url":"https://api.github.com/repos/KissKissBankBank/kitten/comments{/number}","issue_comment_url":"https://api.github.com/repos/KissKissBankBank/kitten/issues/comments{/number}","contents_url":"https://api.github.com/repos/KissKissBankBank/kitten/contents/{+path}","compare_url":"https://api.github.com/repos/KissKissBankBank/kitten/compare/{base}...{head}","merges_url":"https://api.github.com/repos/KissKissBankBank/kitten/merges","archive_url":"https://api.github.com/repos/KissKissBankBank/kitten/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/KissKissBankBank/kitten/downloads","issues_url":"https://api.github.com/repos/KissKissBankBank/kitten/issues{/number}","pulls_url":"https://api.github.com/repos/KissKissBankBank/kitten/pulls{/number}","milestones_url":"https://api.github.com/repos/KissKissBankBank/kitten/milestones{/number}","notifications_url":"https://api.github.com/repos/KissKissBankBank/kitten/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/KissKissBankBank/kitten/labels{/name}","releases_url":"https://api.github.com/repos/KissKissBankBank/kitten/releases{/id}","deployments_url":"https://api.github.com/repos/KissKissBankBank/kitten/deployments","created_at":"2016-06-16T12:46:14Z","updated_at":"2016-12-20T09:56:31Z","pushed_at":"2017-02-08T15:59:27Z","git_url":"git://github.com/KissKissBankBank/kitten.git","ssh_url":"git@github.com:KissKissBankBank/kitten.git","clone_url":"https://github.com/KissKissBankBank/kitten.git","svn_url":"https://github.com/KissKissBankBank/kitten","homepage":"","size":71912,"stargazers_count":3,"watchers_count":3,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":34,"forks":0,"open_issues":34,"watchers":3,"default_branch":"master"}},"base":{"label":"KissKissBankBank:master","ref":"master","sha":"839a0c87aab292193ebe21d291a56f2ce48e35dd","user":{"login":"KissKissBankBank","id":6039709,"avatar_url":"https://avatars.githubusercontent.com/u/6039709?v=3","gravatar_id":"","url":"https://api.github.com/users/KissKissBankBank","html_url":"https://github.com/KissKissBankBank","followers_url":"https://api.github.com/users/KissKissBankBank/followers","following_url":"https://api.github.com/users/KissKissBankBank/following{/other_user}","gists_url":"https://api.github.com/users/KissKissBankBank/gists{/gist_id}","starred_url":"https://api.github.com/users/KissKissBankBank/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KissKissBankBank/subscriptions","organizations_url":"https://api.github.com/users/KissKissBankBank/orgs","repos_url":"https://api.github.com/users/KissKissBankBank/repos","events_url":"https://api.github.com/users/KissKissBankBank/events{/privacy}","received_events_url":"https://api.github.com/users/KissKissBankBank/received_events","type":"Organization","site_admin":false},"repo":{"id":61292012,"name":"kitten","full_name":"KissKissBankBank/kitten","owner":{"login":"KissKissBankBank","id":6039709,"avatar_url":"https://avatars.githubusercontent.com/u/6039709?v=3","gravatar_id":"","url":"https://api.github.com/users/KissKissBankBank","html_url":"https://github.com/KissKissBankBank","followers_url":"https://api.github.com/users/KissKissBankBank/followers","following_url":"https://api.github.com/users/KissKissBankBank/following{/other_user}","gists_url":"https://api.github.com/users/KissKissBankBank/gists{/gist_id}","starred_url":"https://api.github.com/users/KissKissBankBank/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KissKissBankBank/subscriptions","organizations_url":"https://api.github.com/users/KissKissBankBank/orgs","repos_url":"https://api.github.com/users/KissKissBankBank/repos","events_url":"https://api.github.com/users/KissKissBankBank/events{/privacy}","received_events_url":"https://api.github.com/users/KissKissBankBank/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/KissKissBankBank/kitten","description":"Front-end components library","fork":false,"url":"https://api.github.com/repos/KissKissBankBank/kitten","forks_url":"https://api.github.com/repos/KissKissBankBank/kitten/forks","keys_url":"https://api.github.com/repos/KissKissBankBank/kitten/keys{/key_id}","collaborators_url":"https://api.github.com/repos/KissKissBankBank/kitten/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/KissKissBankBank/kitten/teams","hooks_url":"https://api.github.com/repos/KissKissBankBank/kitten/hooks","issue_events_url":"https://api.github.com/repos/KissKissBankBank/kitten/issues/events{/number}","events_url":"https://api.github.com/repos/KissKissBankBank/kitten/events","assignees_url":"https://api.github.com/repos/KissKissBankBank/kitten/assignees{/user}","branches_url":"https://api.github.com/repos/KissKissBankBank/kitten/branches{/branch}","tags_url":"https://api.github.com/repos/KissKissBankBank/kitten/tags","blobs_url":"https://api.github.com/repos/KissKissBankBank/kitten/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/KissKissBankBank/kitten/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/KissKissBankBank/kitten/git/refs{/sha}","trees_url":"https://api.github.com/repos/KissKissBankBank/kitten/git/trees{/sha}","statuses_url":"https://api.github.com/repos/KissKissBankBank/kitten/statuses/{sha}","languages_url":"https://api.github.com/repos/KissKissBankBank/kitten/languages","stargazers_url":"https://api.github.com/repos/KissKissBankBank/kitten/stargazers","contributors_url":"https://api.github.com/repos/KissKissBankBank/kitten/contributors","subscribers_url":"https://api.github.com/repos/KissKissBankBank/kitten/subscribers","subscription_url":"https://api.github.com/repos/KissKissBankBank/kitten/subscription","commits_url":"https://api.github.com/repos/KissKissBankBank/kitten/commits{/sha}","git_commits_url":"https://api.github.com/repos/KissKissBankBank/kitten/git/commits{/sha}","comments_url":"https://api.github.com/repos/KissKissBankBank/kitten/comments{/number}","issue_comment_url":"https://api.github.com/repos/KissKissBankBank/kitten/issues/comments{/number}","contents_url":"https://api.github.com/repos/KissKissBankBank/kitten/contents/{+path}","compare_url":"https://api.github.com/repos/KissKissBankBank/kitten/compare/{base}...{head}","merges_url":"https://api.github.com/repos/KissKissBankBank/kitten/merges","archive_url":"https://api.github.com/repos/KissKissBankBank/kitten/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/KissKissBankBank/kitten/downloads","issues_url":"https://api.github.com/repos/KissKissBankBank/kitten/issues{/number}","pulls_url":"https://api.github.com/repos/KissKissBankBank/kitten/pulls{/number}","milestones_url":"https://api.github.com/repos/KissKissBankBank/kitten/milestones{/number}","notifications_url":"https://api.github.com/repos/KissKissBankBank/kitten/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/KissKissBankBank/kitten/labels{/name}","releases_url":"https://api.github.com/repos/KissKissBankBank/kitten/releases{/id}","deployments_url":"https://api.github.com/repos/KissKissBankBank/kitten/deployments","created_at":"2016-06-16T12:46:14Z","updated_at":"2016-12-20T09:56:31Z","pushed_at":"2017-02-08T15:59:27Z","git_url":"git://github.com/KissKissBankBank/kitten.git","ssh_url":"git@github.com:KissKissBankBank/kitten.git","clone_url":"https://github.com/KissKissBankBank/kitten.git","svn_url":"https://github.com/KissKissBankBank/kitten","homepage":"","size":71912,"stargazers_count":3,"watchers_count":3,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":34,"forks":0,"open_issues":34,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/KissKissBankBank/kitten/pulls/436"},"html":{"href":"https://github.com/KissKissBankBank/kitten/pull/436"},"issue":{"href":"https://api.github.com/repos/KissKissBankBank/kitten/issues/436"},"comments":{"href":"https://api.github.com/repos/KissKissBankBank/kitten/issues/436/comments"},"review_comments":{"href":"https://api.github.com/repos/KissKissBankBank/kitten/pulls/436/comments"},"review_comment":{"href":"https://api.github.com/repos/KissKissBankBank/kitten/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/KissKissBankBank/kitten/pulls/436/commits"},"statuses":{"href":"https://api.github.com/repos/KissKissBankBank/kitten/statuses/454259d28dc9b02514f47fdd35305fb7f9559570"}}}}
{"actor":{"display_login":"sunny"}}