{"action":"created","comment":{"url":"https://api.github.com/repos/ampproject/amphtml/pulls/comments/92289717","pull_request_review_id":12802735,"id":92289717,"diff_hunk":"@@ -25,6 +25,8 @@ export class IframeMessagingClient {\n   constructor(win) {\n     /** @private {!Window} */\n     this.win_ = win;\n+    /** @private {?string} */\n+    this.rtvVersion_ = (win.AMP_CONFIG && win.AMP_CONFIG.v) || null;","path":"3p/iframe-messaging-client.js","position":5,"original_position":5,"commit_id":"7c4d49412f21e6e85467dd81c7e9c385caa0e45a","original_commit_id":"7c4d49412f21e6e85467dd81c7e9c385caa0e45a","user":{"login":"jridgewell","id":112982,"avatar_url":"https://avatars.githubusercontent.com/u/112982?v=3","gravatar_id":"","url":"https://api.github.com/users/jridgewell","html_url":"https://github.com/jridgewell","followers_url":"https://api.github.com/users/jridgewell/followers","following_url":"https://api.github.com/users/jridgewell/following{/other_user}","gists_url":"https://api.github.com/users/jridgewell/gists{/gist_id}","starred_url":"https://api.github.com/users/jridgewell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jridgewell/subscriptions","organizations_url":"https://api.github.com/users/jridgewell/orgs","repos_url":"https://api.github.com/users/jridgewell/repos","events_url":"https://api.github.com/users/jridgewell/events{/privacy}","received_events_url":"https://api.github.com/users/jridgewell/received_events","type":"User","site_admin":false},"body":"`|| ''`?","created_at":"2016-12-13T23:18:10Z","updated_at":"2016-12-13T23:18:10Z","html_url":"https://github.com/ampproject/amphtml/pull/6645#discussion_r92289717","pull_request_url":"https://api.github.com/repos/ampproject/amphtml/pulls/6645","_links":{"self":{"href":"https://api.github.com/repos/ampproject/amphtml/pulls/comments/92289717"},"html":{"href":"https://github.com/ampproject/amphtml/pull/6645#discussion_r92289717"},"pull_request":{"href":"https://api.github.com/repos/ampproject/amphtml/pulls/6645"}}},"pull_request":{"url":"https://api.github.com/repos/ampproject/amphtml/pulls/6645","id":97855211,"html_url":"https://github.com/ampproject/amphtml/pull/6645","diff_url":"https://github.com/ampproject/amphtml/pull/6645.diff","patch_url":"https://github.com/ampproject/amphtml/pull/6645.patch","issue_url":"https://api.github.com/repos/ampproject/amphtml/issues/6645","number":6645,"state":"open","locked":false,"title":"Add runtime RTV version to post message","user":{"login":"lannka","id":8496897,"avatar_url":"https://avatars.githubusercontent.com/u/8496897?v=3","gravatar_id":"","url":"https://api.github.com/users/lannka","html_url":"https://github.com/lannka","followers_url":"https://api.github.com/users/lannka/followers","following_url":"https://api.github.com/users/lannka/following{/other_user}","gists_url":"https://api.github.com/users/lannka/gists{/gist_id}","starred_url":"https://api.github.com/users/lannka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lannka/subscriptions","organizations_url":"https://api.github.com/users/lannka/orgs","repos_url":"https://api.github.com/users/lannka/repos","events_url":"https://api.github.com/users/lannka/events{/privacy}","received_events_url":"https://api.github.com/users/lannka/received_events","type":"User","site_admin":false},"body":"The message format:\r\n`amp-[rtvVersion]$(stringifiedJsonPayload)`\r\n\r\nNote the rtvVersion is a string, and is optional. \r\n\r\n```\r\namp-12345{\"type\":\"position\",\"sentinel\"...}   // rtv = \"12345\"\r\namp-abc123{\"type\":\"position\",\"sentinel\"...}  // rtv = \"abc123\"\r\namp-{\"type\":\"position\",\"sentinel\"...}  // rtv = null\r\n```\r\n\r\nFor #5700\r\n\r\n","created_at":"2016-12-13T23:08:17Z","updated_at":"2016-12-13T23:18:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d2d58f999aa308f5e705cbb73108d062f9ae1b3c","assignee":{"login":"keithwrightbos","id":1766447,"avatar_url":"https://avatars.githubusercontent.com/u/1766447?v=3","gravatar_id":"","url":"https://api.github.com/users/keithwrightbos","html_url":"https://github.com/keithwrightbos","followers_url":"https://api.github.com/users/keithwrightbos/followers","following_url":"https://api.github.com/users/keithwrightbos/following{/other_user}","gists_url":"https://api.github.com/users/keithwrightbos/gists{/gist_id}","starred_url":"https://api.github.com/users/keithwrightbos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keithwrightbos/subscriptions","organizations_url":"https://api.github.com/users/keithwrightbos/orgs","repos_url":"https://api.github.com/users/keithwrightbos/repos","events_url":"https://api.github.com/users/keithwrightbos/events{/privacy}","received_events_url":"https://api.github.com/users/keithwrightbos/received_events","type":"User","site_admin":false},"assignees":[{"login":"keithwrightbos","id":1766447,"avatar_url":"https://avatars.githubusercontent.com/u/1766447?v=3","gravatar_id":"","url":"https://api.github.com/users/keithwrightbos","html_url":"https://github.com/keithwrightbos","followers_url":"https://api.github.com/users/keithwrightbos/followers","following_url":"https://api.github.com/users/keithwrightbos/following{/other_user}","gists_url":"https://api.github.com/users/keithwrightbos/gists{/gist_id}","starred_url":"https://api.github.com/users/keithwrightbos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keithwrightbos/subscriptions","organizations_url":"https://api.github.com/users/keithwrightbos/orgs","repos_url":"https://api.github.com/users/keithwrightbos/repos","events_url":"https://api.github.com/users/keithwrightbos/events{/privacy}","received_events_url":"https://api.github.com/users/keithwrightbos/received_events","type":"User","site_admin":false},{"login":"bradfrizzell","id":4276992,"avatar_url":"https://avatars.githubusercontent.com/u/4276992?v=3","gravatar_id":"","url":"https://api.github.com/users/bradfrizzell","html_url":"https://github.com/bradfrizzell","followers_url":"https://api.github.com/users/bradfrizzell/followers","following_url":"https://api.github.com/users/bradfrizzell/following{/other_user}","gists_url":"https://api.github.com/users/bradfrizzell/gists{/gist_id}","starred_url":"https://api.github.com/users/bradfrizzell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bradfrizzell/subscriptions","organizations_url":"https://api.github.com/users/bradfrizzell/orgs","repos_url":"https://api.github.com/users/bradfrizzell/repos","events_url":"https://api.github.com/users/bradfrizzell/events{/privacy}","received_events_url":"https://api.github.com/users/bradfrizzell/received_events","type":"User","site_admin":false},{"login":"zhouyx","id":5419904,"avatar_url":"https://avatars.githubusercontent.com/u/5419904?v=3","gravatar_id":"","url":"https://api.github.com/users/zhouyx","html_url":"https://github.com/zhouyx","followers_url":"https://api.github.com/users/zhouyx/followers","following_url":"https://api.github.com/users/zhouyx/following{/other_user}","gists_url":"https://api.github.com/users/zhouyx/gists{/gist_id}","starred_url":"https://api.github.com/users/zhouyx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhouyx/subscriptions","organizations_url":"https://api.github.com/users/zhouyx/orgs","repos_url":"https://api.github.com/users/zhouyx/repos","events_url":"https://api.github.com/users/zhouyx/events{/privacy}","received_events_url":"https://api.github.com/users/zhouyx/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/ampproject/amphtml/pulls/6645/commits","review_comments_url":"https://api.github.com/repos/ampproject/amphtml/pulls/6645/comments","review_comment_url":"https://api.github.com/repos/ampproject/amphtml/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ampproject/amphtml/issues/6645/comments","statuses_url":"https://api.github.com/repos/ampproject/amphtml/statuses/7c4d49412f21e6e85467dd81c7e9c385caa0e45a","head":{"label":"lannka:rtv-in-message","ref":"rtv-in-message","sha":"7c4d49412f21e6e85467dd81c7e9c385caa0e45a","user":{"login":"lannka","id":8496897,"avatar_url":"https://avatars.githubusercontent.com/u/8496897?v=3","gravatar_id":"","url":"https://api.github.com/users/lannka","html_url":"https://github.com/lannka","followers_url":"https://api.github.com/users/lannka/followers","following_url":"https://api.github.com/users/lannka/following{/other_user}","gists_url":"https://api.github.com/users/lannka/gists{/gist_id}","starred_url":"https://api.github.com/users/lannka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lannka/subscriptions","organizations_url":"https://api.github.com/users/lannka/orgs","repos_url":"https://api.github.com/users/lannka/repos","events_url":"https://api.github.com/users/lannka/events{/privacy}","received_events_url":"https://api.github.com/users/lannka/received_events","type":"User","site_admin":false},"repo":{"id":60651806,"name":"amphtml","full_name":"lannka/amphtml","owner":{"login":"lannka","id":8496897,"avatar_url":"https://avatars.githubusercontent.com/u/8496897?v=3","gravatar_id":"","url":"https://api.github.com/users/lannka","html_url":"https://github.com/lannka","followers_url":"https://api.github.com/users/lannka/followers","following_url":"https://api.github.com/users/lannka/following{/other_user}","gists_url":"https://api.github.com/users/lannka/gists{/gist_id}","starred_url":"https://api.github.com/users/lannka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lannka/subscriptions","organizations_url":"https://api.github.com/users/lannka/orgs","repos_url":"https://api.github.com/users/lannka/repos","events_url":"https://api.github.com/users/lannka/events{/privacy}","received_events_url":"https://api.github.com/users/lannka/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lannka/amphtml","description":"AMP HTML source code, samples, and documentation.  See below for more info.","fork":true,"url":"https://api.github.com/repos/lannka/amphtml","forks_url":"https://api.github.com/repos/lannka/amphtml/forks","keys_url":"https://api.github.com/repos/lannka/amphtml/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lannka/amphtml/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lannka/amphtml/teams","hooks_url":"https://api.github.com/repos/lannka/amphtml/hooks","issue_events_url":"https://api.github.com/repos/lannka/amphtml/issues/events{/number}","events_url":"https://api.github.com/repos/lannka/amphtml/events","assignees_url":"https://api.github.com/repos/lannka/amphtml/assignees{/user}","branches_url":"https://api.github.com/repos/lannka/amphtml/branches{/branch}","tags_url":"https://api.github.com/repos/lannka/amphtml/tags","blobs_url":"https://api.github.com/repos/lannka/amphtml/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lannka/amphtml/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lannka/amphtml/git/refs{/sha}","trees_url":"https://api.github.com/repos/lannka/amphtml/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lannka/amphtml/statuses/{sha}","languages_url":"https://api.github.com/repos/lannka/amphtml/languages","stargazers_url":"https://api.github.com/repos/lannka/amphtml/stargazers","contributors_url":"https://api.github.com/repos/lannka/amphtml/contributors","subscribers_url":"https://api.github.com/repos/lannka/amphtml/subscribers","subscription_url":"https://api.github.com/repos/lannka/amphtml/subscription","commits_url":"https://api.github.com/repos/lannka/amphtml/commits{/sha}","git_commits_url":"https://api.github.com/repos/lannka/amphtml/git/commits{/sha}","comments_url":"https://api.github.com/repos/lannka/amphtml/comments{/number}","issue_comment_url":"https://api.github.com/repos/lannka/amphtml/issues/comments{/number}","contents_url":"https://api.github.com/repos/lannka/amphtml/contents/{+path}","compare_url":"https://api.github.com/repos/lannka/amphtml/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lannka/amphtml/merges","archive_url":"https://api.github.com/repos/lannka/amphtml/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lannka/amphtml/downloads","issues_url":"https://api.github.com/repos/lannka/amphtml/issues{/number}","pulls_url":"https://api.github.com/repos/lannka/amphtml/pulls{/number}","milestones_url":"https://api.github.com/repos/lannka/amphtml/milestones{/number}","notifications_url":"https://api.github.com/repos/lannka/amphtml/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lannka/amphtml/labels{/name}","releases_url":"https://api.github.com/repos/lannka/amphtml/releases{/id}","deployments_url":"https://api.github.com/repos/lannka/amphtml/deployments","created_at":"2016-06-07T22:50:13Z","updated_at":"2016-06-07T22:50:18Z","pushed_at":"2016-12-13T23:02:08Z","git_url":"git://github.com/lannka/amphtml.git","ssh_url":"git@github.com:lannka/amphtml.git","clone_url":"https://github.com/lannka/amphtml.git","svn_url":"https://github.com/lannka/amphtml","homepage":"https://ampproject.org","size":219789,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":false,"has_wiki":false,"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":"ampproject:master","ref":"master","sha":"7a7a229fe368c1fa2ff68a55918569651cdc69f4","user":{"login":"ampproject","id":14114390,"avatar_url":"https://avatars.githubusercontent.com/u/14114390?v=3","gravatar_id":"","url":"https://api.github.com/users/ampproject","html_url":"https://github.com/ampproject","followers_url":"https://api.github.com/users/ampproject/followers","following_url":"https://api.github.com/users/ampproject/following{/other_user}","gists_url":"https://api.github.com/users/ampproject/gists{/gist_id}","starred_url":"https://api.github.com/users/ampproject/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ampproject/subscriptions","organizations_url":"https://api.github.com/users/ampproject/orgs","repos_url":"https://api.github.com/users/ampproject/repos","events_url":"https://api.github.com/users/ampproject/events{/privacy}","received_events_url":"https://api.github.com/users/ampproject/received_events","type":"Organization","site_admin":false},"repo":{"id":41766002,"name":"amphtml","full_name":"ampproject/amphtml","owner":{"login":"ampproject","id":14114390,"avatar_url":"https://avatars.githubusercontent.com/u/14114390?v=3","gravatar_id":"","url":"https://api.github.com/users/ampproject","html_url":"https://github.com/ampproject","followers_url":"https://api.github.com/users/ampproject/followers","following_url":"https://api.github.com/users/ampproject/following{/other_user}","gists_url":"https://api.github.com/users/ampproject/gists{/gist_id}","starred_url":"https://api.github.com/users/ampproject/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ampproject/subscriptions","organizations_url":"https://api.github.com/users/ampproject/orgs","repos_url":"https://api.github.com/users/ampproject/repos","events_url":"https://api.github.com/users/ampproject/events{/privacy}","received_events_url":"https://api.github.com/users/ampproject/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ampproject/amphtml","description":"AMP HTML source code, samples, and documentation.  See below for more info.","fork":false,"url":"https://api.github.com/repos/ampproject/amphtml","forks_url":"https://api.github.com/repos/ampproject/amphtml/forks","keys_url":"https://api.github.com/repos/ampproject/amphtml/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ampproject/amphtml/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ampproject/amphtml/teams","hooks_url":"https://api.github.com/repos/ampproject/amphtml/hooks","issue_events_url":"https://api.github.com/repos/ampproject/amphtml/issues/events{/number}","events_url":"https://api.github.com/repos/ampproject/amphtml/events","assignees_url":"https://api.github.com/repos/ampproject/amphtml/assignees{/user}","branches_url":"https://api.github.com/repos/ampproject/amphtml/branches{/branch}","tags_url":"https://api.github.com/repos/ampproject/amphtml/tags","blobs_url":"https://api.github.com/repos/ampproject/amphtml/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ampproject/amphtml/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ampproject/amphtml/git/refs{/sha}","trees_url":"https://api.github.com/repos/ampproject/amphtml/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ampproject/amphtml/statuses/{sha}","languages_url":"https://api.github.com/repos/ampproject/amphtml/languages","stargazers_url":"https://api.github.com/repos/ampproject/amphtml/stargazers","contributors_url":"https://api.github.com/repos/ampproject/amphtml/contributors","subscribers_url":"https://api.github.com/repos/ampproject/amphtml/subscribers","subscription_url":"https://api.github.com/repos/ampproject/amphtml/subscription","commits_url":"https://api.github.com/repos/ampproject/amphtml/commits{/sha}","git_commits_url":"https://api.github.com/repos/ampproject/amphtml/git/commits{/sha}","comments_url":"https://api.github.com/repos/ampproject/amphtml/comments{/number}","issue_comment_url":"https://api.github.com/repos/ampproject/amphtml/issues/comments{/number}","contents_url":"https://api.github.com/repos/ampproject/amphtml/contents/{+path}","compare_url":"https://api.github.com/repos/ampproject/amphtml/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ampproject/amphtml/merges","archive_url":"https://api.github.com/repos/ampproject/amphtml/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ampproject/amphtml/downloads","issues_url":"https://api.github.com/repos/ampproject/amphtml/issues{/number}","pulls_url":"https://api.github.com/repos/ampproject/amphtml/pulls{/number}","milestones_url":"https://api.github.com/repos/ampproject/amphtml/milestones{/number}","notifications_url":"https://api.github.com/repos/ampproject/amphtml/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ampproject/amphtml/labels{/name}","releases_url":"https://api.github.com/repos/ampproject/amphtml/releases{/id}","deployments_url":"https://api.github.com/repos/ampproject/amphtml/deployments","created_at":"2015-09-01T22:10:53Z","updated_at":"2016-12-13T20:35:11Z","pushed_at":"2016-12-13T23:08:18Z","git_url":"git://github.com/ampproject/amphtml.git","ssh_url":"git@github.com:ampproject/amphtml.git","clone_url":"https://github.com/ampproject/amphtml.git","svn_url":"https://github.com/ampproject/amphtml","homepage":"https://ampproject.org","size":220015,"stargazers_count":9218,"watchers_count":9218,"language":"JavaScript","has_issues":true,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":1436,"mirror_url":null,"open_issues_count":1039,"forks":1436,"open_issues":1039,"watchers":9218,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ampproject/amphtml/pulls/6645"},"html":{"href":"https://github.com/ampproject/amphtml/pull/6645"},"issue":{"href":"https://api.github.com/repos/ampproject/amphtml/issues/6645"},"comments":{"href":"https://api.github.com/repos/ampproject/amphtml/issues/6645/comments"},"review_comments":{"href":"https://api.github.com/repos/ampproject/amphtml/pulls/6645/comments"},"review_comment":{"href":"https://api.github.com/repos/ampproject/amphtml/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ampproject/amphtml/pulls/6645/commits"},"statuses":{"href":"https://api.github.com/repos/ampproject/amphtml/statuses/7c4d49412f21e6e85467dd81c7e9c385caa0e45a"}}}}
{"actor":{"display_login":"jridgewell"}}