{"action":"created","comment":{"url":"https://api.github.com/repos/ampproject/amphtml/pulls/comments/60956323","id":60956323,"diff_hunk":"@@ -0,0 +1,93 @@\n+/**\n+ * Copyright 2015 The AMP HTML Authors. All Rights Reserved.\n+ *\n+ * Licensed under the Apache License, Version 2.0 (the \"License\");\n+ * you may not use this file except in compliance with the License.\n+ * You may obtain a copy of the License at\n+ *\n+ *      http://www.apache.org/licenses/LICENSE-2.0\n+ *\n+ * Unless required by applicable law or agreed to in writing, software\n+ * distributed under the License is distributed on an \"AS-IS\" BASIS,\n+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n+ * See the License for the specific language governing permissions and\n+ * limitations under the License.\n+ */\n+\n+import {loadScript} from '../../src/3p'\n+\n+/**\n+ * Loads the IMA SDK.\n+ *\n+ * @param {!Window} global\n+ * @param {function()} cb\n+ */\n+function getImaSdk(global, cb) {\n+  // video.js player\n+  loadScript(global, '//vjs.zencdn.net/5.3/video.min.js', cb);","path":"ads/google/ima.js","position":27,"original_position":27,"commit_id":"e18d3057fffc25a2293b03f0356a4590d6ebc339","original_commit_id":"e18d3057fffc25a2293b03f0356a4590d6ebc339","user":{"login":"shawnbuso","id":1238504,"avatar_url":"https://avatars.githubusercontent.com/u/1238504?v=3","gravatar_id":"","url":"https://api.github.com/users/shawnbuso","html_url":"https://github.com/shawnbuso","followers_url":"https://api.github.com/users/shawnbuso/followers","following_url":"https://api.github.com/users/shawnbuso/following{/other_user}","gists_url":"https://api.github.com/users/shawnbuso/gists{/gist_id}","starred_url":"https://api.github.com/users/shawnbuso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shawnbuso/subscriptions","organizations_url":"https://api.github.com/users/shawnbuso/orgs","repos_url":"https://api.github.com/users/shawnbuso/repos","events_url":"https://api.github.com/users/shawnbuso/events{/privacy}","received_events_url":"https://api.github.com/users/shawnbuso/received_events","type":"User","site_admin":false},"body":"Done.","created_at":"2016-04-25T17:48:28Z","updated_at":"2016-04-25T17:48:28Z","html_url":"https://github.com/ampproject/amphtml/pull/2990#discussion_r60956323","pull_request_url":"https://api.github.com/repos/ampproject/amphtml/pulls/2990","_links":{"self":{"href":"https://api.github.com/repos/ampproject/amphtml/pulls/comments/60956323"},"html":{"href":"https://github.com/ampproject/amphtml/pull/2990#discussion_r60956323"},"pull_request":{"href":"https://api.github.com/repos/ampproject/amphtml/pulls/2990"}}},"pull_request":{"url":"https://api.github.com/repos/ampproject/amphtml/pulls/2990","id":67726778,"html_url":"https://github.com/ampproject/amphtml/pull/2990","diff_url":"https://github.com/ampproject/amphtml/pull/2990.diff","patch_url":"https://github.com/ampproject/amphtml/pull/2990.patch","issue_url":"https://api.github.com/repos/ampproject/amphtml/issues/2990","number":2990,"state":"open","locked":false,"title":"DO NOT MERGE - IMA plugin v0.1","user":{"login":"shawnbuso","id":1238504,"avatar_url":"https://avatars.githubusercontent.com/u/1238504?v=3","gravatar_id":"","url":"https://api.github.com/users/shawnbuso","html_url":"https://github.com/shawnbuso","followers_url":"https://api.github.com/users/shawnbuso/followers","following_url":"https://api.github.com/users/shawnbuso/following{/other_user}","gists_url":"https://api.github.com/users/shawnbuso/gists{/gist_id}","starred_url":"https://api.github.com/users/shawnbuso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shawnbuso/subscriptions","organizations_url":"https://api.github.com/users/shawnbuso/orgs","repos_url":"https://api.github.com/users/shawnbuso/repos","events_url":"https://api.github.com/users/shawnbuso/events{/privacy}","received_events_url":"https://api.github.com/users/shawnbuso/received_events","type":"User","site_admin":false},"body":"Pull request for debugging help - do not merge :)","created_at":"2016-04-25T14:15:21Z","updated_at":"2016-04-25T17:48:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b846e26a921ca8a4efa404d7e85d694bf77f72b2","assignee":{"login":"mkhatib","id":2647,"avatar_url":"https://avatars.githubusercontent.com/u/2647?v=3","gravatar_id":"","url":"https://api.github.com/users/mkhatib","html_url":"https://github.com/mkhatib","followers_url":"https://api.github.com/users/mkhatib/followers","following_url":"https://api.github.com/users/mkhatib/following{/other_user}","gists_url":"https://api.github.com/users/mkhatib/gists{/gist_id}","starred_url":"https://api.github.com/users/mkhatib/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkhatib/subscriptions","organizations_url":"https://api.github.com/users/mkhatib/orgs","repos_url":"https://api.github.com/users/mkhatib/repos","events_url":"https://api.github.com/users/mkhatib/events{/privacy}","received_events_url":"https://api.github.com/users/mkhatib/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/ampproject/amphtml/pulls/2990/commits","review_comments_url":"https://api.github.com/repos/ampproject/amphtml/pulls/2990/comments","review_comment_url":"https://api.github.com/repos/ampproject/amphtml/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ampproject/amphtml/issues/2990/comments","statuses_url":"https://api.github.com/repos/ampproject/amphtml/statuses/e18d3057fffc25a2293b03f0356a4590d6ebc339","head":{"label":"shawnbuso:ima_0.1","ref":"ima_0.1","sha":"e18d3057fffc25a2293b03f0356a4590d6ebc339","user":{"login":"shawnbuso","id":1238504,"avatar_url":"https://avatars.githubusercontent.com/u/1238504?v=3","gravatar_id":"","url":"https://api.github.com/users/shawnbuso","html_url":"https://github.com/shawnbuso","followers_url":"https://api.github.com/users/shawnbuso/followers","following_url":"https://api.github.com/users/shawnbuso/following{/other_user}","gists_url":"https://api.github.com/users/shawnbuso/gists{/gist_id}","starred_url":"https://api.github.com/users/shawnbuso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shawnbuso/subscriptions","organizations_url":"https://api.github.com/users/shawnbuso/orgs","repos_url":"https://api.github.com/users/shawnbuso/repos","events_url":"https://api.github.com/users/shawnbuso/events{/privacy}","received_events_url":"https://api.github.com/users/shawnbuso/received_events","type":"User","site_admin":false},"repo":{"id":56876713,"name":"amphtml","full_name":"shawnbuso/amphtml","owner":{"login":"shawnbuso","id":1238504,"avatar_url":"https://avatars.githubusercontent.com/u/1238504?v=3","gravatar_id":"","url":"https://api.github.com/users/shawnbuso","html_url":"https://github.com/shawnbuso","followers_url":"https://api.github.com/users/shawnbuso/followers","following_url":"https://api.github.com/users/shawnbuso/following{/other_user}","gists_url":"https://api.github.com/users/shawnbuso/gists{/gist_id}","starred_url":"https://api.github.com/users/shawnbuso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shawnbuso/subscriptions","organizations_url":"https://api.github.com/users/shawnbuso/orgs","repos_url":"https://api.github.com/users/shawnbuso/repos","events_url":"https://api.github.com/users/shawnbuso/events{/privacy}","received_events_url":"https://api.github.com/users/shawnbuso/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/shawnbuso/amphtml","description":"AMP HTML source code, samples, and documentation.  See below for more info.","fork":true,"url":"https://api.github.com/repos/shawnbuso/amphtml","forks_url":"https://api.github.com/repos/shawnbuso/amphtml/forks","keys_url":"https://api.github.com/repos/shawnbuso/amphtml/keys{/key_id}","collaborators_url":"https://api.github.com/repos/shawnbuso/amphtml/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/shawnbuso/amphtml/teams","hooks_url":"https://api.github.com/repos/shawnbuso/amphtml/hooks","issue_events_url":"https://api.github.com/repos/shawnbuso/amphtml/issues/events{/number}","events_url":"https://api.github.com/repos/shawnbuso/amphtml/events","assignees_url":"https://api.github.com/repos/shawnbuso/amphtml/assignees{/user}","branches_url":"https://api.github.com/repos/shawnbuso/amphtml/branches{/branch}","tags_url":"https://api.github.com/repos/shawnbuso/amphtml/tags","blobs_url":"https://api.github.com/repos/shawnbuso/amphtml/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/shawnbuso/amphtml/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/shawnbuso/amphtml/git/refs{/sha}","trees_url":"https://api.github.com/repos/shawnbuso/amphtml/git/trees{/sha}","statuses_url":"https://api.github.com/repos/shawnbuso/amphtml/statuses/{sha}","languages_url":"https://api.github.com/repos/shawnbuso/amphtml/languages","stargazers_url":"https://api.github.com/repos/shawnbuso/amphtml/stargazers","contributors_url":"https://api.github.com/repos/shawnbuso/amphtml/contributors","subscribers_url":"https://api.github.com/repos/shawnbuso/amphtml/subscribers","subscription_url":"https://api.github.com/repos/shawnbuso/amphtml/subscription","commits_url":"https://api.github.com/repos/shawnbuso/amphtml/commits{/sha}","git_commits_url":"https://api.github.com/repos/shawnbuso/amphtml/git/commits{/sha}","comments_url":"https://api.github.com/repos/shawnbuso/amphtml/comments{/number}","issue_comment_url":"https://api.github.com/repos/shawnbuso/amphtml/issues/comments{/number}","contents_url":"https://api.github.com/repos/shawnbuso/amphtml/contents/{+path}","compare_url":"https://api.github.com/repos/shawnbuso/amphtml/compare/{base}...{head}","merges_url":"https://api.github.com/repos/shawnbuso/amphtml/merges","archive_url":"https://api.github.com/repos/shawnbuso/amphtml/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/shawnbuso/amphtml/downloads","issues_url":"https://api.github.com/repos/shawnbuso/amphtml/issues{/number}","pulls_url":"https://api.github.com/repos/shawnbuso/amphtml/pulls{/number}","milestones_url":"https://api.github.com/repos/shawnbuso/amphtml/milestones{/number}","notifications_url":"https://api.github.com/repos/shawnbuso/amphtml/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/shawnbuso/amphtml/labels{/name}","releases_url":"https://api.github.com/repos/shawnbuso/amphtml/releases{/id}","deployments_url":"https://api.github.com/repos/shawnbuso/amphtml/deployments","created_at":"2016-04-22T18:23:59Z","updated_at":"2016-04-22T18:24:03Z","pushed_at":"2016-04-25T14:06:31Z","git_url":"git://github.com/shawnbuso/amphtml.git","ssh_url":"git@github.com:shawnbuso/amphtml.git","clone_url":"https://github.com/shawnbuso/amphtml.git","svn_url":"https://github.com/shawnbuso/amphtml","homepage":"https://ampproject.org","size":37994,"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":"b4d476b0025ca22dad27471e49db87f93419a1f6","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-04-25T14:17:48Z","pushed_at":"2016-04-25T17:47:56Z","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":79625,"stargazers_count":7287,"watchers_count":7287,"language":"JavaScript","has_issues":true,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":940,"mirror_url":null,"open_issues_count":371,"forks":940,"open_issues":371,"watchers":7287,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ampproject/amphtml/pulls/2990"},"html":{"href":"https://github.com/ampproject/amphtml/pull/2990"},"issue":{"href":"https://api.github.com/repos/ampproject/amphtml/issues/2990"},"comments":{"href":"https://api.github.com/repos/ampproject/amphtml/issues/2990/comments"},"review_comments":{"href":"https://api.github.com/repos/ampproject/amphtml/pulls/2990/comments"},"review_comment":{"href":"https://api.github.com/repos/ampproject/amphtml/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ampproject/amphtml/pulls/2990/commits"},"statuses":{"href":"https://api.github.com/repos/ampproject/amphtml/statuses/e18d3057fffc25a2293b03f0356a4590d6ebc339"}}}}