{"action":"created","comment":{"url":"https://api.github.com/repos/mozilla/webmaker-core/pulls/comments/33952490","id":33952490,"diff_hunk":"@@ -82,7 +82,11 @@ var Project = React.createClass({\n     // FIXME: TODO: This should be done by preventDefaulting the touch event, not via CSS.\n     document.body.style.overflowY = 'hidden';\n     var mode = this.state.params.mode;\n-    var isPlayOnly = (mode === 'play' || mode === 'link');\n+\n+    var isPlayOnly = mode === 'play';\n+    var isLink = mode === 'link';\n+    var isPlayOrLink = isPlayOnly || isLink;","path":"src/pages/project/project.jsx","position":8,"original_position":8,"commit_id":"8100789cc358713b12de2a29356a11973fcdb5d0","original_commit_id":"8100789cc358713b12de2a29356a11973fcdb5d0","user":{"login":"Pomax","id":177243,"avatar_url":"https://avatars.githubusercontent.com/u/177243?v=3","gravatar_id":"","url":"https://api.github.com/users/Pomax","html_url":"https://github.com/Pomax","followers_url":"https://api.github.com/users/Pomax/followers","following_url":"https://api.github.com/users/Pomax/following{/other_user}","gists_url":"https://api.github.com/users/Pomax/gists{/gist_id}","starred_url":"https://api.github.com/users/Pomax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Pomax/subscriptions","organizations_url":"https://api.github.com/users/Pomax/orgs","repos_url":"https://api.github.com/users/Pomax/repos","events_url":"https://api.github.com/users/Pomax/events{/privacy}","received_events_url":"https://api.github.com/users/Pomax/received_events","type":"User","site_admin":false},"body":"Since we've invented a new variable: is this the right name? Can we name it based on what we're using it for now that it's indicative of multiple aspects?","created_at":"2015-07-06T16:22:12Z","updated_at":"2015-07-06T16:22:12Z","html_url":"https://github.com/mozilla/webmaker-core/pull/13#discussion_r33952490","pull_request_url":"https://api.github.com/repos/mozilla/webmaker-core/pulls/13","_links":{"self":{"href":"https://api.github.com/repos/mozilla/webmaker-core/pulls/comments/33952490"},"html":{"href":"https://github.com/mozilla/webmaker-core/pull/13#discussion_r33952490"},"pull_request":{"href":"https://api.github.com/repos/mozilla/webmaker-core/pulls/13"}}},"pull_request":{"url":"https://api.github.com/repos/mozilla/webmaker-core/pulls/13","id":39135534,"html_url":"https://github.com/mozilla/webmaker-core/pull/13","diff_url":"https://github.com/mozilla/webmaker-core/pull/13.diff","patch_url":"https://github.com/mozilla/webmaker-core/pull/13.patch","issue_url":"https://api.github.com/repos/mozilla/webmaker-core/issues/13","number":13,"state":"open","locked":false,"title":"Allow users to link to new page","user":{"login":"errietta","id":134585,"avatar_url":"https://avatars.githubusercontent.com/u/134585?v=3","gravatar_id":"","url":"https://api.github.com/users/errietta","html_url":"https://github.com/errietta","followers_url":"https://api.github.com/users/errietta/followers","following_url":"https://api.github.com/users/errietta/following{/other_user}","gists_url":"https://api.github.com/users/errietta/gists{/gist_id}","starred_url":"https://api.github.com/users/errietta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/errietta/subscriptions","organizations_url":"https://api.github.com/users/errietta/orgs","repos_url":"https://api.github.com/users/errietta/repos","events_url":"https://api.github.com/users/errietta/events{/privacy}","received_events_url":"https://api.github.com/users/errietta/received_events","type":"User","site_admin":false},"body":"Closes #12","created_at":"2015-07-02T23:35:33Z","updated_at":"2015-07-06T16:22:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8b38c324ebd736c01b8ff02094732bc71ed77e27","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mozilla/webmaker-core/pulls/13/commits","review_comments_url":"https://api.github.com/repos/mozilla/webmaker-core/pulls/13/comments","review_comment_url":"https://api.github.com/repos/mozilla/webmaker-core/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mozilla/webmaker-core/issues/13/comments","statuses_url":"https://api.github.com/repos/mozilla/webmaker-core/statuses/8100789cc358713b12de2a29356a11973fcdb5d0","head":{"label":"errietta:errietta/link-new-page","ref":"errietta/link-new-page","sha":"8100789cc358713b12de2a29356a11973fcdb5d0","user":{"login":"errietta","id":134585,"avatar_url":"https://avatars.githubusercontent.com/u/134585?v=3","gravatar_id":"","url":"https://api.github.com/users/errietta","html_url":"https://github.com/errietta","followers_url":"https://api.github.com/users/errietta/followers","following_url":"https://api.github.com/users/errietta/following{/other_user}","gists_url":"https://api.github.com/users/errietta/gists{/gist_id}","starred_url":"https://api.github.com/users/errietta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/errietta/subscriptions","organizations_url":"https://api.github.com/users/errietta/orgs","repos_url":"https://api.github.com/users/errietta/repos","events_url":"https://api.github.com/users/errietta/events{/privacy}","received_events_url":"https://api.github.com/users/errietta/received_events","type":"User","site_admin":false},"repo":{"id":38406261,"name":"webmaker-core","full_name":"errietta/webmaker-core","owner":{"login":"errietta","id":134585,"avatar_url":"https://avatars.githubusercontent.com/u/134585?v=3","gravatar_id":"","url":"https://api.github.com/users/errietta","html_url":"https://github.com/errietta","followers_url":"https://api.github.com/users/errietta/followers","following_url":"https://api.github.com/users/errietta/following{/other_user}","gists_url":"https://api.github.com/users/errietta/gists{/gist_id}","starred_url":"https://api.github.com/users/errietta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/errietta/subscriptions","organizations_url":"https://api.github.com/users/errietta/orgs","repos_url":"https://api.github.com/users/errietta/repos","events_url":"https://api.github.com/users/errietta/events{/privacy}","received_events_url":"https://api.github.com/users/errietta/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/errietta/webmaker-core","description":"React-based core for Webmaker shared across all platforms","fork":true,"url":"https://api.github.com/repos/errietta/webmaker-core","forks_url":"https://api.github.com/repos/errietta/webmaker-core/forks","keys_url":"https://api.github.com/repos/errietta/webmaker-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/errietta/webmaker-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/errietta/webmaker-core/teams","hooks_url":"https://api.github.com/repos/errietta/webmaker-core/hooks","issue_events_url":"https://api.github.com/repos/errietta/webmaker-core/issues/events{/number}","events_url":"https://api.github.com/repos/errietta/webmaker-core/events","assignees_url":"https://api.github.com/repos/errietta/webmaker-core/assignees{/user}","branches_url":"https://api.github.com/repos/errietta/webmaker-core/branches{/branch}","tags_url":"https://api.github.com/repos/errietta/webmaker-core/tags","blobs_url":"https://api.github.com/repos/errietta/webmaker-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/errietta/webmaker-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/errietta/webmaker-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/errietta/webmaker-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/errietta/webmaker-core/statuses/{sha}","languages_url":"https://api.github.com/repos/errietta/webmaker-core/languages","stargazers_url":"https://api.github.com/repos/errietta/webmaker-core/stargazers","contributors_url":"https://api.github.com/repos/errietta/webmaker-core/contributors","subscribers_url":"https://api.github.com/repos/errietta/webmaker-core/subscribers","subscription_url":"https://api.github.com/repos/errietta/webmaker-core/subscription","commits_url":"https://api.github.com/repos/errietta/webmaker-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/errietta/webmaker-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/errietta/webmaker-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/errietta/webmaker-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/errietta/webmaker-core/contents/{+path}","compare_url":"https://api.github.com/repos/errietta/webmaker-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/errietta/webmaker-core/merges","archive_url":"https://api.github.com/repos/errietta/webmaker-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/errietta/webmaker-core/downloads","issues_url":"https://api.github.com/repos/errietta/webmaker-core/issues{/number}","pulls_url":"https://api.github.com/repos/errietta/webmaker-core/pulls{/number}","milestones_url":"https://api.github.com/repos/errietta/webmaker-core/milestones{/number}","notifications_url":"https://api.github.com/repos/errietta/webmaker-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/errietta/webmaker-core/labels{/name}","releases_url":"https://api.github.com/repos/errietta/webmaker-core/releases{/id}","created_at":"2015-07-02T02:19:30Z","updated_at":"2015-07-02T02:19:31Z","pushed_at":"2015-07-02T23:35:09Z","git_url":"git://github.com/errietta/webmaker-core.git","ssh_url":"git@github.com:errietta/webmaker-core.git","clone_url":"https://github.com/errietta/webmaker-core.git","svn_url":"https://github.com/errietta/webmaker-core","homepage":"","size":0,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"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":"develop"}},"base":{"label":"mozilla:develop","ref":"develop","sha":"40bd8a6ebce6a3ea7c33b497fa9984c6d128bbed","user":{"login":"mozilla","id":131524,"avatar_url":"https://avatars.githubusercontent.com/u/131524?v=3","gravatar_id":"","url":"https://api.github.com/users/mozilla","html_url":"https://github.com/mozilla","followers_url":"https://api.github.com/users/mozilla/followers","following_url":"https://api.github.com/users/mozilla/following{/other_user}","gists_url":"https://api.github.com/users/mozilla/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla/subscriptions","organizations_url":"https://api.github.com/users/mozilla/orgs","repos_url":"https://api.github.com/users/mozilla/repos","events_url":"https://api.github.com/users/mozilla/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla/received_events","type":"Organization","site_admin":false},"repo":{"id":38261575,"name":"webmaker-core","full_name":"mozilla/webmaker-core","owner":{"login":"mozilla","id":131524,"avatar_url":"https://avatars.githubusercontent.com/u/131524?v=3","gravatar_id":"","url":"https://api.github.com/users/mozilla","html_url":"https://github.com/mozilla","followers_url":"https://api.github.com/users/mozilla/followers","following_url":"https://api.github.com/users/mozilla/following{/other_user}","gists_url":"https://api.github.com/users/mozilla/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla/subscriptions","organizations_url":"https://api.github.com/users/mozilla/orgs","repos_url":"https://api.github.com/users/mozilla/repos","events_url":"https://api.github.com/users/mozilla/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mozilla/webmaker-core","description":"React-based core for Webmaker shared across all platforms","fork":false,"url":"https://api.github.com/repos/mozilla/webmaker-core","forks_url":"https://api.github.com/repos/mozilla/webmaker-core/forks","keys_url":"https://api.github.com/repos/mozilla/webmaker-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mozilla/webmaker-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mozilla/webmaker-core/teams","hooks_url":"https://api.github.com/repos/mozilla/webmaker-core/hooks","issue_events_url":"https://api.github.com/repos/mozilla/webmaker-core/issues/events{/number}","events_url":"https://api.github.com/repos/mozilla/webmaker-core/events","assignees_url":"https://api.github.com/repos/mozilla/webmaker-core/assignees{/user}","branches_url":"https://api.github.com/repos/mozilla/webmaker-core/branches{/branch}","tags_url":"https://api.github.com/repos/mozilla/webmaker-core/tags","blobs_url":"https://api.github.com/repos/mozilla/webmaker-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mozilla/webmaker-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mozilla/webmaker-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/mozilla/webmaker-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mozilla/webmaker-core/statuses/{sha}","languages_url":"https://api.github.com/repos/mozilla/webmaker-core/languages","stargazers_url":"https://api.github.com/repos/mozilla/webmaker-core/stargazers","contributors_url":"https://api.github.com/repos/mozilla/webmaker-core/contributors","subscribers_url":"https://api.github.com/repos/mozilla/webmaker-core/subscribers","subscription_url":"https://api.github.com/repos/mozilla/webmaker-core/subscription","commits_url":"https://api.github.com/repos/mozilla/webmaker-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/mozilla/webmaker-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/mozilla/webmaker-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/mozilla/webmaker-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/mozilla/webmaker-core/contents/{+path}","compare_url":"https://api.github.com/repos/mozilla/webmaker-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mozilla/webmaker-core/merges","archive_url":"https://api.github.com/repos/mozilla/webmaker-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mozilla/webmaker-core/downloads","issues_url":"https://api.github.com/repos/mozilla/webmaker-core/issues{/number}","pulls_url":"https://api.github.com/repos/mozilla/webmaker-core/pulls{/number}","milestones_url":"https://api.github.com/repos/mozilla/webmaker-core/milestones{/number}","notifications_url":"https://api.github.com/repos/mozilla/webmaker-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mozilla/webmaker-core/labels{/name}","releases_url":"https://api.github.com/repos/mozilla/webmaker-core/releases{/id}","created_at":"2015-06-29T17:45:15Z","updated_at":"2015-07-01T23:54:30Z","pushed_at":"2015-07-03T17:47:39Z","git_url":"git://github.com/mozilla/webmaker-core.git","ssh_url":"git@github.com:mozilla/webmaker-core.git","clone_url":"https://github.com/mozilla/webmaker-core.git","svn_url":"https://github.com/mozilla/webmaker-core","homepage":"","size":0,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":6,"forks":7,"open_issues":6,"watchers":2,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/mozilla/webmaker-core/pulls/13"},"html":{"href":"https://github.com/mozilla/webmaker-core/pull/13"},"issue":{"href":"https://api.github.com/repos/mozilla/webmaker-core/issues/13"},"comments":{"href":"https://api.github.com/repos/mozilla/webmaker-core/issues/13/comments"},"review_comments":{"href":"https://api.github.com/repos/mozilla/webmaker-core/pulls/13/comments"},"review_comment":{"href":"https://api.github.com/repos/mozilla/webmaker-core/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mozilla/webmaker-core/pulls/13/commits"},"statuses":{"href":"https://api.github.com/repos/mozilla/webmaker-core/statuses/8100789cc358713b12de2a29356a11973fcdb5d0"}}}}