{"action":"created","comment":{"url":"https://api.github.com/repos/codecombat/codecombat/pulls/comments/60982944","id":60982944,"diff_hunk":"@@ -102,6 +102,9 @@ module.exports = class LevelGuideView extends CocoView\n     Backbone.Mediator.publish 'level:docs-shown', {}\n \n   onHidden: ->\n+    if @vimeoListenerAttached\n+      player = $('#help-video-player')[0]","path":"app/views/play/menu/GuideView.coffee","position":5,"original_position":5,"commit_id":"fb15c0bf9499940099dd64f36830d6cf86e87f0a","original_commit_id":"fb15c0bf9499940099dd64f36830d6cf86e87f0a","user":{"login":"sderickson","id":204723,"avatar_url":"https://avatars.githubusercontent.com/u/204723?v=3","gravatar_id":"","url":"https://api.github.com/users/sderickson","html_url":"https://github.com/sderickson","followers_url":"https://api.github.com/users/sderickson/followers","following_url":"https://api.github.com/users/sderickson/following{/other_user}","gists_url":"https://api.github.com/users/sderickson/gists{/gist_id}","starred_url":"https://api.github.com/users/sderickson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sderickson/subscriptions","organizations_url":"https://api.github.com/users/sderickson/orgs","repos_url":"https://api.github.com/users/sderickson/repos","events_url":"https://api.github.com/users/sderickson/events{/privacy}","received_events_url":"https://api.github.com/users/sderickson/received_events","type":"User","site_admin":false},"body":"Use view-specific `@$` instead of global `$`.","created_at":"2016-04-25T20:29:27Z","updated_at":"2016-04-25T20:29:27Z","html_url":"https://github.com/codecombat/codecombat/pull/3562#discussion_r60982944","pull_request_url":"https://api.github.com/repos/codecombat/codecombat/pulls/3562","_links":{"self":{"href":"https://api.github.com/repos/codecombat/codecombat/pulls/comments/60982944"},"html":{"href":"https://github.com/codecombat/codecombat/pull/3562#discussion_r60982944"},"pull_request":{"href":"https://api.github.com/repos/codecombat/codecombat/pulls/3562"}}},"pull_request":{"url":"https://api.github.com/repos/codecombat/codecombat/pulls/3562","id":67107920,"html_url":"https://github.com/codecombat/codecombat/pull/3562","diff_url":"https://github.com/codecombat/codecombat/pull/3562.diff","patch_url":"https://github.com/codecombat/codecombat/pull/3562.patch","issue_url":"https://api.github.com/repos/codecombat/codecombat/issues/3562","number":3562,"state":"open","locked":false,"title":"Pause help videos when guide modal is not visible","user":{"login":"edtrist","id":6654758,"avatar_url":"https://avatars.githubusercontent.com/u/6654758?v=3","gravatar_id":"","url":"https://api.github.com/users/edtrist","html_url":"https://github.com/edtrist","followers_url":"https://api.github.com/users/edtrist/followers","following_url":"https://api.github.com/users/edtrist/following{/other_user}","gists_url":"https://api.github.com/users/edtrist/gists{/gist_id}","starred_url":"https://api.github.com/users/edtrist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edtrist/subscriptions","organizations_url":"https://api.github.com/users/edtrist/orgs","repos_url":"https://api.github.com/users/edtrist/repos","events_url":"https://api.github.com/users/edtrist/events{/privacy}","received_events_url":"https://api.github.com/users/edtrist/received_events","type":"User","site_admin":false},"body":"Fixes #2159. Use the Vimeo postMessage API to pause the help video when the guide view is hidden.","created_at":"2016-04-19T23:41:25Z","updated_at":"2016-04-25T20:29:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f818255062fb07e3b9fd78784f9f1dd581f09622","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/codecombat/codecombat/pulls/3562/commits","review_comments_url":"https://api.github.com/repos/codecombat/codecombat/pulls/3562/comments","review_comment_url":"https://api.github.com/repos/codecombat/codecombat/pulls/comments{/number}","comments_url":"https://api.github.com/repos/codecombat/codecombat/issues/3562/comments","statuses_url":"https://api.github.com/repos/codecombat/codecombat/statuses/fb15c0bf9499940099dd64f36830d6cf86e87f0a","head":{"label":"edtrist:PauseModalVideo","ref":"PauseModalVideo","sha":"fb15c0bf9499940099dd64f36830d6cf86e87f0a","user":{"login":"edtrist","id":6654758,"avatar_url":"https://avatars.githubusercontent.com/u/6654758?v=3","gravatar_id":"","url":"https://api.github.com/users/edtrist","html_url":"https://github.com/edtrist","followers_url":"https://api.github.com/users/edtrist/followers","following_url":"https://api.github.com/users/edtrist/following{/other_user}","gists_url":"https://api.github.com/users/edtrist/gists{/gist_id}","starred_url":"https://api.github.com/users/edtrist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edtrist/subscriptions","organizations_url":"https://api.github.com/users/edtrist/orgs","repos_url":"https://api.github.com/users/edtrist/repos","events_url":"https://api.github.com/users/edtrist/events{/privacy}","received_events_url":"https://api.github.com/users/edtrist/received_events","type":"User","site_admin":false},"repo":{"id":18811600,"name":"codecombat","full_name":"edtrist/codecombat","owner":{"login":"edtrist","id":6654758,"avatar_url":"https://avatars.githubusercontent.com/u/6654758?v=3","gravatar_id":"","url":"https://api.github.com/users/edtrist","html_url":"https://github.com/edtrist","followers_url":"https://api.github.com/users/edtrist/followers","following_url":"https://api.github.com/users/edtrist/following{/other_user}","gists_url":"https://api.github.com/users/edtrist/gists{/gist_id}","starred_url":"https://api.github.com/users/edtrist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edtrist/subscriptions","organizations_url":"https://api.github.com/users/edtrist/orgs","repos_url":"https://api.github.com/users/edtrist/repos","events_url":"https://api.github.com/users/edtrist/events{/privacy}","received_events_url":"https://api.github.com/users/edtrist/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/edtrist/codecombat","description":"Multiplayer programming game for learning how to code.","fork":true,"url":"https://api.github.com/repos/edtrist/codecombat","forks_url":"https://api.github.com/repos/edtrist/codecombat/forks","keys_url":"https://api.github.com/repos/edtrist/codecombat/keys{/key_id}","collaborators_url":"https://api.github.com/repos/edtrist/codecombat/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/edtrist/codecombat/teams","hooks_url":"https://api.github.com/repos/edtrist/codecombat/hooks","issue_events_url":"https://api.github.com/repos/edtrist/codecombat/issues/events{/number}","events_url":"https://api.github.com/repos/edtrist/codecombat/events","assignees_url":"https://api.github.com/repos/edtrist/codecombat/assignees{/user}","branches_url":"https://api.github.com/repos/edtrist/codecombat/branches{/branch}","tags_url":"https://api.github.com/repos/edtrist/codecombat/tags","blobs_url":"https://api.github.com/repos/edtrist/codecombat/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/edtrist/codecombat/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/edtrist/codecombat/git/refs{/sha}","trees_url":"https://api.github.com/repos/edtrist/codecombat/git/trees{/sha}","statuses_url":"https://api.github.com/repos/edtrist/codecombat/statuses/{sha}","languages_url":"https://api.github.com/repos/edtrist/codecombat/languages","stargazers_url":"https://api.github.com/repos/edtrist/codecombat/stargazers","contributors_url":"https://api.github.com/repos/edtrist/codecombat/contributors","subscribers_url":"https://api.github.com/repos/edtrist/codecombat/subscribers","subscription_url":"https://api.github.com/repos/edtrist/codecombat/subscription","commits_url":"https://api.github.com/repos/edtrist/codecombat/commits{/sha}","git_commits_url":"https://api.github.com/repos/edtrist/codecombat/git/commits{/sha}","comments_url":"https://api.github.com/repos/edtrist/codecombat/comments{/number}","issue_comment_url":"https://api.github.com/repos/edtrist/codecombat/issues/comments{/number}","contents_url":"https://api.github.com/repos/edtrist/codecombat/contents/{+path}","compare_url":"https://api.github.com/repos/edtrist/codecombat/compare/{base}...{head}","merges_url":"https://api.github.com/repos/edtrist/codecombat/merges","archive_url":"https://api.github.com/repos/edtrist/codecombat/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/edtrist/codecombat/downloads","issues_url":"https://api.github.com/repos/edtrist/codecombat/issues{/number}","pulls_url":"https://api.github.com/repos/edtrist/codecombat/pulls{/number}","milestones_url":"https://api.github.com/repos/edtrist/codecombat/milestones{/number}","notifications_url":"https://api.github.com/repos/edtrist/codecombat/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/edtrist/codecombat/labels{/name}","releases_url":"https://api.github.com/repos/edtrist/codecombat/releases{/id}","deployments_url":"https://api.github.com/repos/edtrist/codecombat/deployments","created_at":"2014-04-15T18:44:32Z","updated_at":"2016-04-17T17:52:12Z","pushed_at":"2016-04-19T23:38:53Z","git_url":"git://github.com/edtrist/codecombat.git","ssh_url":"git@github.com:edtrist/codecombat.git","clone_url":"https://github.com/edtrist/codecombat.git","svn_url":"https://github.com/edtrist/codecombat","homepage":"http://codecombat.com","size":122886,"stargazers_count":0,"watchers_count":0,"language":"CoffeeScript","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"codecombat:master","ref":"master","sha":"b4b435283b2bca865207c8d5cc51c9107ecb7c65","user":{"login":"codecombat","id":5795842,"avatar_url":"https://avatars.githubusercontent.com/u/5795842?v=3","gravatar_id":"","url":"https://api.github.com/users/codecombat","html_url":"https://github.com/codecombat","followers_url":"https://api.github.com/users/codecombat/followers","following_url":"https://api.github.com/users/codecombat/following{/other_user}","gists_url":"https://api.github.com/users/codecombat/gists{/gist_id}","starred_url":"https://api.github.com/users/codecombat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codecombat/subscriptions","organizations_url":"https://api.github.com/users/codecombat/orgs","repos_url":"https://api.github.com/users/codecombat/repos","events_url":"https://api.github.com/users/codecombat/events{/privacy}","received_events_url":"https://api.github.com/users/codecombat/received_events","type":"Organization","site_admin":false},"repo":{"id":15193430,"name":"codecombat","full_name":"codecombat/codecombat","owner":{"login":"codecombat","id":5795842,"avatar_url":"https://avatars.githubusercontent.com/u/5795842?v=3","gravatar_id":"","url":"https://api.github.com/users/codecombat","html_url":"https://github.com/codecombat","followers_url":"https://api.github.com/users/codecombat/followers","following_url":"https://api.github.com/users/codecombat/following{/other_user}","gists_url":"https://api.github.com/users/codecombat/gists{/gist_id}","starred_url":"https://api.github.com/users/codecombat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codecombat/subscriptions","organizations_url":"https://api.github.com/users/codecombat/orgs","repos_url":"https://api.github.com/users/codecombat/repos","events_url":"https://api.github.com/users/codecombat/events{/privacy}","received_events_url":"https://api.github.com/users/codecombat/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/codecombat/codecombat","description":"Game for learning how to code.","fork":false,"url":"https://api.github.com/repos/codecombat/codecombat","forks_url":"https://api.github.com/repos/codecombat/codecombat/forks","keys_url":"https://api.github.com/repos/codecombat/codecombat/keys{/key_id}","collaborators_url":"https://api.github.com/repos/codecombat/codecombat/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/codecombat/codecombat/teams","hooks_url":"https://api.github.com/repos/codecombat/codecombat/hooks","issue_events_url":"https://api.github.com/repos/codecombat/codecombat/issues/events{/number}","events_url":"https://api.github.com/repos/codecombat/codecombat/events","assignees_url":"https://api.github.com/repos/codecombat/codecombat/assignees{/user}","branches_url":"https://api.github.com/repos/codecombat/codecombat/branches{/branch}","tags_url":"https://api.github.com/repos/codecombat/codecombat/tags","blobs_url":"https://api.github.com/repos/codecombat/codecombat/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/codecombat/codecombat/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/codecombat/codecombat/git/refs{/sha}","trees_url":"https://api.github.com/repos/codecombat/codecombat/git/trees{/sha}","statuses_url":"https://api.github.com/repos/codecombat/codecombat/statuses/{sha}","languages_url":"https://api.github.com/repos/codecombat/codecombat/languages","stargazers_url":"https://api.github.com/repos/codecombat/codecombat/stargazers","contributors_url":"https://api.github.com/repos/codecombat/codecombat/contributors","subscribers_url":"https://api.github.com/repos/codecombat/codecombat/subscribers","subscription_url":"https://api.github.com/repos/codecombat/codecombat/subscription","commits_url":"https://api.github.com/repos/codecombat/codecombat/commits{/sha}","git_commits_url":"https://api.github.com/repos/codecombat/codecombat/git/commits{/sha}","comments_url":"https://api.github.com/repos/codecombat/codecombat/comments{/number}","issue_comment_url":"https://api.github.com/repos/codecombat/codecombat/issues/comments{/number}","contents_url":"https://api.github.com/repos/codecombat/codecombat/contents/{+path}","compare_url":"https://api.github.com/repos/codecombat/codecombat/compare/{base}...{head}","merges_url":"https://api.github.com/repos/codecombat/codecombat/merges","archive_url":"https://api.github.com/repos/codecombat/codecombat/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/codecombat/codecombat/downloads","issues_url":"https://api.github.com/repos/codecombat/codecombat/issues{/number}","pulls_url":"https://api.github.com/repos/codecombat/codecombat/pulls{/number}","milestones_url":"https://api.github.com/repos/codecombat/codecombat/milestones{/number}","notifications_url":"https://api.github.com/repos/codecombat/codecombat/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/codecombat/codecombat/labels{/name}","releases_url":"https://api.github.com/repos/codecombat/codecombat/releases{/id}","deployments_url":"https://api.github.com/repos/codecombat/codecombat/deployments","created_at":"2013-12-14T21:47:37Z","updated_at":"2016-04-25T18:12:53Z","pushed_at":"2016-04-25T20:22:19Z","git_url":"git://github.com/codecombat/codecombat.git","ssh_url":"git@github.com:codecombat/codecombat.git","clone_url":"https://github.com/codecombat/codecombat.git","svn_url":"https://github.com/codecombat/codecombat","homepage":"http://codecombat.com","size":140206,"stargazers_count":4983,"watchers_count":4983,"language":"CoffeeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2363,"mirror_url":null,"open_issues_count":398,"forks":2363,"open_issues":398,"watchers":4983,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/codecombat/codecombat/pulls/3562"},"html":{"href":"https://github.com/codecombat/codecombat/pull/3562"},"issue":{"href":"https://api.github.com/repos/codecombat/codecombat/issues/3562"},"comments":{"href":"https://api.github.com/repos/codecombat/codecombat/issues/3562/comments"},"review_comments":{"href":"https://api.github.com/repos/codecombat/codecombat/pulls/3562/comments"},"review_comment":{"href":"https://api.github.com/repos/codecombat/codecombat/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/codecombat/codecombat/pulls/3562/commits"},"statuses":{"href":"https://api.github.com/repos/codecombat/codecombat/statuses/fb15c0bf9499940099dd64f36830d6cf86e87f0a"}}}}