{"action":"created","comment":{"url":"https://api.github.com/repos/vtex-apps/render-runtime/pulls/comments/210907669","pull_request_review_id":147223468,"id":210907669,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxMDkwNzY2OQ==","diff_hunk":"@@ -80,6 +84,15 @@ class RenderProvider extends Component<Props, RenderProviderState> {\n     runtime: PropTypes.object,\n   }\n \n+  public sendInfoFromIframe = debounce(() => {\n+    const context = this.getChildContext()\n+    if (window.top !== window.self) {","path":"react/components/RenderProvider.tsx","position":34,"original_position":34,"commit_id":"3d95e4eac47e0043dc12971d59f3605acde7e5ad","original_commit_id":"3d95e4eac47e0043dc12971d59f3605acde7e5ad","user":{"login":"firstdoit","id":1633518,"node_id":"MDQ6VXNlcjE2MzM1MTg=","avatar_url":"https://avatars1.githubusercontent.com/u/1633518?v=4","gravatar_id":"","url":"https://api.github.com/users/firstdoit","html_url":"https://github.com/firstdoit","followers_url":"https://api.github.com/users/firstdoit/followers","following_url":"https://api.github.com/users/firstdoit/following{/other_user}","gists_url":"https://api.github.com/users/firstdoit/gists{/gist_id}","starred_url":"https://api.github.com/users/firstdoit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/firstdoit/subscriptions","organizations_url":"https://api.github.com/users/firstdoit/orgs","repos_url":"https://api.github.com/users/firstdoit/repos","events_url":"https://api.github.com/users/firstdoit/events{/privacy}","received_events_url":"https://api.github.com/users/firstdoit/received_events","type":"User","site_admin":false},"body":"Oh, and we should also check for the existence of `window.top.__provideRuntime`","created_at":"2018-08-17T13:24:58Z","updated_at":"2018-08-17T13:26:06Z","html_url":"https://github.com/vtex-apps/render-runtime/pull/116#discussion_r210907669","pull_request_url":"https://api.github.com/repos/vtex-apps/render-runtime/pulls/116","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/vtex-apps/render-runtime/pulls/comments/210907669"},"html":{"href":"https://github.com/vtex-apps/render-runtime/pull/116#discussion_r210907669"},"pull_request":{"href":"https://api.github.com/repos/vtex-apps/render-runtime/pulls/116"}},"in_reply_to_id":210907540},"pull_request":{"url":"https://api.github.com/repos/vtex-apps/render-runtime/pulls/116","id":209002826,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA5MDAyODI2","html_url":"https://github.com/vtex-apps/render-runtime/pull/116","diff_url":"https://github.com/vtex-apps/render-runtime/pull/116.diff","patch_url":"https://github.com/vtex-apps/render-runtime/pull/116.patch","issue_url":"https://api.github.com/repos/vtex-apps/render-runtime/issues/116","number":116,"state":"open","locked":false,"title":"Handling rendering inside iframe","user":{"login":"pedroteosousa","id":8344321,"node_id":"MDQ6VXNlcjgzNDQzMjE=","avatar_url":"https://avatars1.githubusercontent.com/u/8344321?v=4","gravatar_id":"","url":"https://api.github.com/users/pedroteosousa","html_url":"https://github.com/pedroteosousa","followers_url":"https://api.github.com/users/pedroteosousa/followers","following_url":"https://api.github.com/users/pedroteosousa/following{/other_user}","gists_url":"https://api.github.com/users/pedroteosousa/gists{/gist_id}","starred_url":"https://api.github.com/users/pedroteosousa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pedroteosousa/subscriptions","organizations_url":"https://api.github.com/users/pedroteosousa/orgs","repos_url":"https://api.github.com/users/pedroteosousa/repos","events_url":"https://api.github.com/users/pedroteosousa/events{/privacy}","received_events_url":"https://api.github.com/users/pedroteosousa/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-08-16T22:35:39Z","updated_at":"2018-08-17T13:26:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":"be35fa9f3a1c9554c2a1c42476842c3f18bffc9b","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/vtex-apps/render-runtime/pulls/116/commits","review_comments_url":"https://api.github.com/repos/vtex-apps/render-runtime/pulls/116/comments","review_comment_url":"https://api.github.com/repos/vtex-apps/render-runtime/pulls/comments{/number}","comments_url":"https://api.github.com/repos/vtex-apps/render-runtime/issues/116/comments","statuses_url":"https://api.github.com/repos/vtex-apps/render-runtime/statuses/3d95e4eac47e0043dc12971d59f3605acde7e5ad","head":{"label":"vtex-apps:feature/adieu-editor","ref":"feature/adieu-editor","sha":"3d95e4eac47e0043dc12971d59f3605acde7e5ad","user":{"login":"vtex-apps","id":12614072,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEyNjE0MDcy","avatar_url":"https://avatars0.githubusercontent.com/u/12614072?v=4","gravatar_id":"","url":"https://api.github.com/users/vtex-apps","html_url":"https://github.com/vtex-apps","followers_url":"https://api.github.com/users/vtex-apps/followers","following_url":"https://api.github.com/users/vtex-apps/following{/other_user}","gists_url":"https://api.github.com/users/vtex-apps/gists{/gist_id}","starred_url":"https://api.github.com/users/vtex-apps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vtex-apps/subscriptions","organizations_url":"https://api.github.com/users/vtex-apps/orgs","repos_url":"https://api.github.com/users/vtex-apps/repos","events_url":"https://api.github.com/users/vtex-apps/events{/privacy}","received_events_url":"https://api.github.com/users/vtex-apps/received_events","type":"Organization","site_admin":false},"repo":{"id":118648558,"node_id":"MDEwOlJlcG9zaXRvcnkxMTg2NDg1NTg=","name":"render-runtime","full_name":"vtex-apps/render-runtime","owner":{"login":"vtex-apps","id":12614072,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEyNjE0MDcy","avatar_url":"https://avatars0.githubusercontent.com/u/12614072?v=4","gravatar_id":"","url":"https://api.github.com/users/vtex-apps","html_url":"https://github.com/vtex-apps","followers_url":"https://api.github.com/users/vtex-apps/followers","following_url":"https://api.github.com/users/vtex-apps/following{/other_user}","gists_url":"https://api.github.com/users/vtex-apps/gists{/gist_id}","starred_url":"https://api.github.com/users/vtex-apps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vtex-apps/subscriptions","organizations_url":"https://api.github.com/users/vtex-apps/orgs","repos_url":"https://api.github.com/users/vtex-apps/repos","events_url":"https://api.github.com/users/vtex-apps/events{/privacy}","received_events_url":"https://api.github.com/users/vtex-apps/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/vtex-apps/render-runtime","description":"The VTEX Render framework runtime","fork":false,"url":"https://api.github.com/repos/vtex-apps/render-runtime","forks_url":"https://api.github.com/repos/vtex-apps/render-runtime/forks","keys_url":"https://api.github.com/repos/vtex-apps/render-runtime/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vtex-apps/render-runtime/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vtex-apps/render-runtime/teams","hooks_url":"https://api.github.com/repos/vtex-apps/render-runtime/hooks","issue_events_url":"https://api.github.com/repos/vtex-apps/render-runtime/issues/events{/number}","events_url":"https://api.github.com/repos/vtex-apps/render-runtime/events","assignees_url":"https://api.github.com/repos/vtex-apps/render-runtime/assignees{/user}","branches_url":"https://api.github.com/repos/vtex-apps/render-runtime/branches{/branch}","tags_url":"https://api.github.com/repos/vtex-apps/render-runtime/tags","blobs_url":"https://api.github.com/repos/vtex-apps/render-runtime/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vtex-apps/render-runtime/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vtex-apps/render-runtime/git/refs{/sha}","trees_url":"https://api.github.com/repos/vtex-apps/render-runtime/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vtex-apps/render-runtime/statuses/{sha}","languages_url":"https://api.github.com/repos/vtex-apps/render-runtime/languages","stargazers_url":"https://api.github.com/repos/vtex-apps/render-runtime/stargazers","contributors_url":"https://api.github.com/repos/vtex-apps/render-runtime/contributors","subscribers_url":"https://api.github.com/repos/vtex-apps/render-runtime/subscribers","subscription_url":"https://api.github.com/repos/vtex-apps/render-runtime/subscription","commits_url":"https://api.github.com/repos/vtex-apps/render-runtime/commits{/sha}","git_commits_url":"https://api.github.com/repos/vtex-apps/render-runtime/git/commits{/sha}","comments_url":"https://api.github.com/repos/vtex-apps/render-runtime/comments{/number}","issue_comment_url":"https://api.github.com/repos/vtex-apps/render-runtime/issues/comments{/number}","contents_url":"https://api.github.com/repos/vtex-apps/render-runtime/contents/{+path}","compare_url":"https://api.github.com/repos/vtex-apps/render-runtime/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vtex-apps/render-runtime/merges","archive_url":"https://api.github.com/repos/vtex-apps/render-runtime/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vtex-apps/render-runtime/downloads","issues_url":"https://api.github.com/repos/vtex-apps/render-runtime/issues{/number}","pulls_url":"https://api.github.com/repos/vtex-apps/render-runtime/pulls{/number}","milestones_url":"https://api.github.com/repos/vtex-apps/render-runtime/milestones{/number}","notifications_url":"https://api.github.com/repos/vtex-apps/render-runtime/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vtex-apps/render-runtime/labels{/name}","releases_url":"https://api.github.com/repos/vtex-apps/render-runtime/releases{/id}","deployments_url":"https://api.github.com/repos/vtex-apps/render-runtime/deployments","created_at":"2018-01-23T18:02:25Z","updated_at":"2018-08-15T20:30:07Z","pushed_at":"2018-08-17T12:35:59Z","git_url":"git://github.com/vtex-apps/render-runtime.git","ssh_url":"git@github.com:vtex-apps/render-runtime.git","clone_url":"https://github.com/vtex-apps/render-runtime.git","svn_url":"https://github.com/vtex-apps/render-runtime","homepage":null,"size":539,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":12,"license":null,"forks":3,"open_issues":12,"watchers":0,"default_branch":"master"}},"base":{"label":"vtex-apps:master","ref":"master","sha":"b64b49e253307d4218d8eadc55d4ced278a955e6","user":{"login":"vtex-apps","id":12614072,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEyNjE0MDcy","avatar_url":"https://avatars0.githubusercontent.com/u/12614072?v=4","gravatar_id":"","url":"https://api.github.com/users/vtex-apps","html_url":"https://github.com/vtex-apps","followers_url":"https://api.github.com/users/vtex-apps/followers","following_url":"https://api.github.com/users/vtex-apps/following{/other_user}","gists_url":"https://api.github.com/users/vtex-apps/gists{/gist_id}","starred_url":"https://api.github.com/users/vtex-apps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vtex-apps/subscriptions","organizations_url":"https://api.github.com/users/vtex-apps/orgs","repos_url":"https://api.github.com/users/vtex-apps/repos","events_url":"https://api.github.com/users/vtex-apps/events{/privacy}","received_events_url":"https://api.github.com/users/vtex-apps/received_events","type":"Organization","site_admin":false},"repo":{"id":118648558,"node_id":"MDEwOlJlcG9zaXRvcnkxMTg2NDg1NTg=","name":"render-runtime","full_name":"vtex-apps/render-runtime","owner":{"login":"vtex-apps","id":12614072,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEyNjE0MDcy","avatar_url":"https://avatars0.githubusercontent.com/u/12614072?v=4","gravatar_id":"","url":"https://api.github.com/users/vtex-apps","html_url":"https://github.com/vtex-apps","followers_url":"https://api.github.com/users/vtex-apps/followers","following_url":"https://api.github.com/users/vtex-apps/following{/other_user}","gists_url":"https://api.github.com/users/vtex-apps/gists{/gist_id}","starred_url":"https://api.github.com/users/vtex-apps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vtex-apps/subscriptions","organizations_url":"https://api.github.com/users/vtex-apps/orgs","repos_url":"https://api.github.com/users/vtex-apps/repos","events_url":"https://api.github.com/users/vtex-apps/events{/privacy}","received_events_url":"https://api.github.com/users/vtex-apps/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/vtex-apps/render-runtime","description":"The VTEX Render framework runtime","fork":false,"url":"https://api.github.com/repos/vtex-apps/render-runtime","forks_url":"https://api.github.com/repos/vtex-apps/render-runtime/forks","keys_url":"https://api.github.com/repos/vtex-apps/render-runtime/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vtex-apps/render-runtime/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vtex-apps/render-runtime/teams","hooks_url":"https://api.github.com/repos/vtex-apps/render-runtime/hooks","issue_events_url":"https://api.github.com/repos/vtex-apps/render-runtime/issues/events{/number}","events_url":"https://api.github.com/repos/vtex-apps/render-runtime/events","assignees_url":"https://api.github.com/repos/vtex-apps/render-runtime/assignees{/user}","branches_url":"https://api.github.com/repos/vtex-apps/render-runtime/branches{/branch}","tags_url":"https://api.github.com/repos/vtex-apps/render-runtime/tags","blobs_url":"https://api.github.com/repos/vtex-apps/render-runtime/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vtex-apps/render-runtime/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vtex-apps/render-runtime/git/refs{/sha}","trees_url":"https://api.github.com/repos/vtex-apps/render-runtime/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vtex-apps/render-runtime/statuses/{sha}","languages_url":"https://api.github.com/repos/vtex-apps/render-runtime/languages","stargazers_url":"https://api.github.com/repos/vtex-apps/render-runtime/stargazers","contributors_url":"https://api.github.com/repos/vtex-apps/render-runtime/contributors","subscribers_url":"https://api.github.com/repos/vtex-apps/render-runtime/subscribers","subscription_url":"https://api.github.com/repos/vtex-apps/render-runtime/subscription","commits_url":"https://api.github.com/repos/vtex-apps/render-runtime/commits{/sha}","git_commits_url":"https://api.github.com/repos/vtex-apps/render-runtime/git/commits{/sha}","comments_url":"https://api.github.com/repos/vtex-apps/render-runtime/comments{/number}","issue_comment_url":"https://api.github.com/repos/vtex-apps/render-runtime/issues/comments{/number}","contents_url":"https://api.github.com/repos/vtex-apps/render-runtime/contents/{+path}","compare_url":"https://api.github.com/repos/vtex-apps/render-runtime/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vtex-apps/render-runtime/merges","archive_url":"https://api.github.com/repos/vtex-apps/render-runtime/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vtex-apps/render-runtime/downloads","issues_url":"https://api.github.com/repos/vtex-apps/render-runtime/issues{/number}","pulls_url":"https://api.github.com/repos/vtex-apps/render-runtime/pulls{/number}","milestones_url":"https://api.github.com/repos/vtex-apps/render-runtime/milestones{/number}","notifications_url":"https://api.github.com/repos/vtex-apps/render-runtime/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vtex-apps/render-runtime/labels{/name}","releases_url":"https://api.github.com/repos/vtex-apps/render-runtime/releases{/id}","deployments_url":"https://api.github.com/repos/vtex-apps/render-runtime/deployments","created_at":"2018-01-23T18:02:25Z","updated_at":"2018-08-15T20:30:07Z","pushed_at":"2018-08-17T12:35:59Z","git_url":"git://github.com/vtex-apps/render-runtime.git","ssh_url":"git@github.com:vtex-apps/render-runtime.git","clone_url":"https://github.com/vtex-apps/render-runtime.git","svn_url":"https://github.com/vtex-apps/render-runtime","homepage":null,"size":539,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":12,"license":null,"forks":3,"open_issues":12,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/vtex-apps/render-runtime/pulls/116"},"html":{"href":"https://github.com/vtex-apps/render-runtime/pull/116"},"issue":{"href":"https://api.github.com/repos/vtex-apps/render-runtime/issues/116"},"comments":{"href":"https://api.github.com/repos/vtex-apps/render-runtime/issues/116/comments"},"review_comments":{"href":"https://api.github.com/repos/vtex-apps/render-runtime/pulls/116/comments"},"review_comment":{"href":"https://api.github.com/repos/vtex-apps/render-runtime/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/vtex-apps/render-runtime/pulls/116/commits"},"statuses":{"href":"https://api.github.com/repos/vtex-apps/render-runtime/statuses/3d95e4eac47e0043dc12971d59f3605acde7e5ad"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"firstdoit"}}