{"action":"created","comment":{"url":"https://api.github.com/repos/borismus/webvr-boilerplate/pulls/comments/24196405","id":24196405,"diff_hunk":"@@ -63,6 +68,11 @@ var Modes = {\n   IMMERSED: 3,\n };\n \n+var ButtonVisibility = {","path":"js/webvr-manager.js","position":18,"original_position":18,"commit_id":"1f9e0c8a5da18bc3f3ae91a69257ee3ccc8c35a1","original_commit_id":"1f9e0c8a5da18bc3f3ae91a69257ee3ccc8c35a1","user":{"login":"borismus","id":277632,"avatar_url":"https://avatars.githubusercontent.com/u/277632?v=3","gravatar_id":"","url":"https://api.github.com/users/borismus","html_url":"https://github.com/borismus","followers_url":"https://api.github.com/users/borismus/followers","following_url":"https://api.github.com/users/borismus/following{/other_user}","gists_url":"https://api.github.com/users/borismus/gists{/gist_id}","starred_url":"https://api.github.com/users/borismus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/borismus/subscriptions","organizations_url":"https://api.github.com/users/borismus/orgs","repos_url":"https://api.github.com/users/borismus/repos","events_url":"https://api.github.com/users/borismus/events{/privacy}","received_events_url":"https://api.github.com/users/borismus/received_events","type":"User","site_admin":false},"body":"Do we need this structure? Isn't a boolean enough?","created_at":"2015-02-05T20:27:21Z","updated_at":"2015-02-05T20:27:21Z","html_url":"https://github.com/borismus/webvr-boilerplate/pull/3#discussion_r24196405","pull_request_url":"https://api.github.com/repos/borismus/webvr-boilerplate/pulls/3","_links":{"self":{"href":"https://api.github.com/repos/borismus/webvr-boilerplate/pulls/comments/24196405"},"html":{"href":"https://github.com/borismus/webvr-boilerplate/pull/3#discussion_r24196405"},"pull_request":{"href":"https://api.github.com/repos/borismus/webvr-boilerplate/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/borismus/webvr-boilerplate/pulls/3","id":28634709,"html_url":"https://github.com/borismus/webvr-boilerplate/pull/3","diff_url":"https://github.com/borismus/webvr-boilerplate/pull/3.diff","patch_url":"https://github.com/borismus/webvr-boilerplate/pull/3.patch","issue_url":"https://api.github.com/repos/borismus/webvr-boilerplate/issues/3","number":3,"state":"open","locked":false,"title":"added option to toggle button","user":{"login":"caseyyee","id":1560884,"avatar_url":"https://avatars.githubusercontent.com/u/1560884?v=3","gravatar_id":"","url":"https://api.github.com/users/caseyyee","html_url":"https://github.com/caseyyee","followers_url":"https://api.github.com/users/caseyyee/followers","following_url":"https://api.github.com/users/caseyyee/following{/other_user}","gists_url":"https://api.github.com/users/caseyyee/gists{/gist_id}","starred_url":"https://api.github.com/users/caseyyee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caseyyee/subscriptions","organizations_url":"https://api.github.com/users/caseyyee/orgs","repos_url":"https://api.github.com/users/caseyyee/repos","events_url":"https://api.github.com/users/caseyyee/events{/privacy}","received_events_url":"https://api.github.com/users/caseyyee/received_events","type":"User","site_admin":false},"body":"Use by adding hideButton option when initializing new instance of WebVRManager:\r\n`var vrmanager = new WebVRManager(effect, { hideButton: true })`\r\n","created_at":"2015-02-04T12:30:17Z","updated_at":"2015-02-05T20:27:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7f4763c4483376f015b74ff0b4560348310c1361","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/borismus/webvr-boilerplate/pulls/3/commits","review_comments_url":"https://api.github.com/repos/borismus/webvr-boilerplate/pulls/3/comments","review_comment_url":"https://api.github.com/repos/borismus/webvr-boilerplate/pulls/comments/{number}","comments_url":"https://api.github.com/repos/borismus/webvr-boilerplate/issues/3/comments","statuses_url":"https://api.github.com/repos/borismus/webvr-boilerplate/statuses/1f9e0c8a5da18bc3f3ae91a69257ee3ccc8c35a1","head":{"label":"caseyyee:master","ref":"master","sha":"1f9e0c8a5da18bc3f3ae91a69257ee3ccc8c35a1","user":{"login":"caseyyee","id":1560884,"avatar_url":"https://avatars.githubusercontent.com/u/1560884?v=3","gravatar_id":"","url":"https://api.github.com/users/caseyyee","html_url":"https://github.com/caseyyee","followers_url":"https://api.github.com/users/caseyyee/followers","following_url":"https://api.github.com/users/caseyyee/following{/other_user}","gists_url":"https://api.github.com/users/caseyyee/gists{/gist_id}","starred_url":"https://api.github.com/users/caseyyee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caseyyee/subscriptions","organizations_url":"https://api.github.com/users/caseyyee/orgs","repos_url":"https://api.github.com/users/caseyyee/repos","events_url":"https://api.github.com/users/caseyyee/events{/privacy}","received_events_url":"https://api.github.com/users/caseyyee/received_events","type":"User","site_admin":false},"repo":{"id":30296796,"name":"webvr-boilerplate","full_name":"caseyyee/webvr-boilerplate","owner":{"login":"caseyyee","id":1560884,"avatar_url":"https://avatars.githubusercontent.com/u/1560884?v=3","gravatar_id":"","url":"https://api.github.com/users/caseyyee","html_url":"https://github.com/caseyyee","followers_url":"https://api.github.com/users/caseyyee/followers","following_url":"https://api.github.com/users/caseyyee/following{/other_user}","gists_url":"https://api.github.com/users/caseyyee/gists{/gist_id}","starred_url":"https://api.github.com/users/caseyyee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caseyyee/subscriptions","organizations_url":"https://api.github.com/users/caseyyee/orgs","repos_url":"https://api.github.com/users/caseyyee/repos","events_url":"https://api.github.com/users/caseyyee/events{/privacy}","received_events_url":"https://api.github.com/users/caseyyee/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/caseyyee/webvr-boilerplate","description":"A starting point for web-based VR experiences that work in both Cardboard and Oculus.","fork":true,"url":"https://api.github.com/repos/caseyyee/webvr-boilerplate","forks_url":"https://api.github.com/repos/caseyyee/webvr-boilerplate/forks","keys_url":"https://api.github.com/repos/caseyyee/webvr-boilerplate/keys{/key_id}","collaborators_url":"https://api.github.com/repos/caseyyee/webvr-boilerplate/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/caseyyee/webvr-boilerplate/teams","hooks_url":"https://api.github.com/repos/caseyyee/webvr-boilerplate/hooks","issue_events_url":"https://api.github.com/repos/caseyyee/webvr-boilerplate/issues/events{/number}","events_url":"https://api.github.com/repos/caseyyee/webvr-boilerplate/events","assignees_url":"https://api.github.com/repos/caseyyee/webvr-boilerplate/assignees{/user}","branches_url":"https://api.github.com/repos/caseyyee/webvr-boilerplate/branches{/branch}","tags_url":"https://api.github.com/repos/caseyyee/webvr-boilerplate/tags","blobs_url":"https://api.github.com/repos/caseyyee/webvr-boilerplate/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/caseyyee/webvr-boilerplate/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/caseyyee/webvr-boilerplate/git/refs{/sha}","trees_url":"https://api.github.com/repos/caseyyee/webvr-boilerplate/git/trees{/sha}","statuses_url":"https://api.github.com/repos/caseyyee/webvr-boilerplate/statuses/{sha}","languages_url":"https://api.github.com/repos/caseyyee/webvr-boilerplate/languages","stargazers_url":"https://api.github.com/repos/caseyyee/webvr-boilerplate/stargazers","contributors_url":"https://api.github.com/repos/caseyyee/webvr-boilerplate/contributors","subscribers_url":"https://api.github.com/repos/caseyyee/webvr-boilerplate/subscribers","subscription_url":"https://api.github.com/repos/caseyyee/webvr-boilerplate/subscription","commits_url":"https://api.github.com/repos/caseyyee/webvr-boilerplate/commits{/sha}","git_commits_url":"https://api.github.com/repos/caseyyee/webvr-boilerplate/git/commits{/sha}","comments_url":"https://api.github.com/repos/caseyyee/webvr-boilerplate/comments{/number}","issue_comment_url":"https://api.github.com/repos/caseyyee/webvr-boilerplate/issues/comments/{number}","contents_url":"https://api.github.com/repos/caseyyee/webvr-boilerplate/contents/{+path}","compare_url":"https://api.github.com/repos/caseyyee/webvr-boilerplate/compare/{base}...{head}","merges_url":"https://api.github.com/repos/caseyyee/webvr-boilerplate/merges","archive_url":"https://api.github.com/repos/caseyyee/webvr-boilerplate/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/caseyyee/webvr-boilerplate/downloads","issues_url":"https://api.github.com/repos/caseyyee/webvr-boilerplate/issues{/number}","pulls_url":"https://api.github.com/repos/caseyyee/webvr-boilerplate/pulls{/number}","milestones_url":"https://api.github.com/repos/caseyyee/webvr-boilerplate/milestones{/number}","notifications_url":"https://api.github.com/repos/caseyyee/webvr-boilerplate/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/caseyyee/webvr-boilerplate/labels{/name}","releases_url":"https://api.github.com/repos/caseyyee/webvr-boilerplate/releases{/id}","created_at":"2015-02-04T11:59:59Z","updated_at":"2015-02-04T12:29:34Z","pushed_at":"2015-02-04T12:29:34Z","git_url":"git://github.com/caseyyee/webvr-boilerplate.git","ssh_url":"git@github.com:caseyyee/webvr-boilerplate.git","clone_url":"https://github.com/caseyyee/webvr-boilerplate.git","svn_url":"https://github.com/caseyyee/webvr-boilerplate","homepage":"http://smus.com/responsive-vr/","size":490,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"borismus:master","ref":"master","sha":"fe03101b9234679cbfba85fbc5e82c76111e9979","user":{"login":"borismus","id":277632,"avatar_url":"https://avatars.githubusercontent.com/u/277632?v=3","gravatar_id":"","url":"https://api.github.com/users/borismus","html_url":"https://github.com/borismus","followers_url":"https://api.github.com/users/borismus/followers","following_url":"https://api.github.com/users/borismus/following{/other_user}","gists_url":"https://api.github.com/users/borismus/gists{/gist_id}","starred_url":"https://api.github.com/users/borismus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/borismus/subscriptions","organizations_url":"https://api.github.com/users/borismus/orgs","repos_url":"https://api.github.com/users/borismus/repos","events_url":"https://api.github.com/users/borismus/events{/privacy}","received_events_url":"https://api.github.com/users/borismus/received_events","type":"User","site_admin":false},"repo":{"id":29567351,"name":"webvr-boilerplate","full_name":"borismus/webvr-boilerplate","owner":{"login":"borismus","id":277632,"avatar_url":"https://avatars.githubusercontent.com/u/277632?v=3","gravatar_id":"","url":"https://api.github.com/users/borismus","html_url":"https://github.com/borismus","followers_url":"https://api.github.com/users/borismus/followers","following_url":"https://api.github.com/users/borismus/following{/other_user}","gists_url":"https://api.github.com/users/borismus/gists{/gist_id}","starred_url":"https://api.github.com/users/borismus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/borismus/subscriptions","organizations_url":"https://api.github.com/users/borismus/orgs","repos_url":"https://api.github.com/users/borismus/repos","events_url":"https://api.github.com/users/borismus/events{/privacy}","received_events_url":"https://api.github.com/users/borismus/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/borismus/webvr-boilerplate","description":"A starting point for web-based VR experiences that work in both Cardboard and Oculus.","fork":false,"url":"https://api.github.com/repos/borismus/webvr-boilerplate","forks_url":"https://api.github.com/repos/borismus/webvr-boilerplate/forks","keys_url":"https://api.github.com/repos/borismus/webvr-boilerplate/keys{/key_id}","collaborators_url":"https://api.github.com/repos/borismus/webvr-boilerplate/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/borismus/webvr-boilerplate/teams","hooks_url":"https://api.github.com/repos/borismus/webvr-boilerplate/hooks","issue_events_url":"https://api.github.com/repos/borismus/webvr-boilerplate/issues/events{/number}","events_url":"https://api.github.com/repos/borismus/webvr-boilerplate/events","assignees_url":"https://api.github.com/repos/borismus/webvr-boilerplate/assignees{/user}","branches_url":"https://api.github.com/repos/borismus/webvr-boilerplate/branches{/branch}","tags_url":"https://api.github.com/repos/borismus/webvr-boilerplate/tags","blobs_url":"https://api.github.com/repos/borismus/webvr-boilerplate/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/borismus/webvr-boilerplate/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/borismus/webvr-boilerplate/git/refs{/sha}","trees_url":"https://api.github.com/repos/borismus/webvr-boilerplate/git/trees{/sha}","statuses_url":"https://api.github.com/repos/borismus/webvr-boilerplate/statuses/{sha}","languages_url":"https://api.github.com/repos/borismus/webvr-boilerplate/languages","stargazers_url":"https://api.github.com/repos/borismus/webvr-boilerplate/stargazers","contributors_url":"https://api.github.com/repos/borismus/webvr-boilerplate/contributors","subscribers_url":"https://api.github.com/repos/borismus/webvr-boilerplate/subscribers","subscription_url":"https://api.github.com/repos/borismus/webvr-boilerplate/subscription","commits_url":"https://api.github.com/repos/borismus/webvr-boilerplate/commits{/sha}","git_commits_url":"https://api.github.com/repos/borismus/webvr-boilerplate/git/commits{/sha}","comments_url":"https://api.github.com/repos/borismus/webvr-boilerplate/comments{/number}","issue_comment_url":"https://api.github.com/repos/borismus/webvr-boilerplate/issues/comments/{number}","contents_url":"https://api.github.com/repos/borismus/webvr-boilerplate/contents/{+path}","compare_url":"https://api.github.com/repos/borismus/webvr-boilerplate/compare/{base}...{head}","merges_url":"https://api.github.com/repos/borismus/webvr-boilerplate/merges","archive_url":"https://api.github.com/repos/borismus/webvr-boilerplate/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/borismus/webvr-boilerplate/downloads","issues_url":"https://api.github.com/repos/borismus/webvr-boilerplate/issues{/number}","pulls_url":"https://api.github.com/repos/borismus/webvr-boilerplate/pulls{/number}","milestones_url":"https://api.github.com/repos/borismus/webvr-boilerplate/milestones{/number}","notifications_url":"https://api.github.com/repos/borismus/webvr-boilerplate/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/borismus/webvr-boilerplate/labels{/name}","releases_url":"https://api.github.com/repos/borismus/webvr-boilerplate/releases{/id}","created_at":"2015-01-21T02:40:06Z","updated_at":"2015-02-05T19:51:03Z","pushed_at":"2015-02-02T07:11:47Z","git_url":"git://github.com/borismus/webvr-boilerplate.git","ssh_url":"git@github.com:borismus/webvr-boilerplate.git","clone_url":"https://github.com/borismus/webvr-boilerplate.git","svn_url":"https://github.com/borismus/webvr-boilerplate","homepage":"http://smus.com/responsive-vr/","size":490,"stargazers_count":59,"watchers_count":59,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":8,"mirror_url":null,"open_issues_count":3,"forks":8,"open_issues":3,"watchers":59,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/borismus/webvr-boilerplate/pulls/3"},"html":{"href":"https://github.com/borismus/webvr-boilerplate/pull/3"},"issue":{"href":"https://api.github.com/repos/borismus/webvr-boilerplate/issues/3"},"comments":{"href":"https://api.github.com/repos/borismus/webvr-boilerplate/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/borismus/webvr-boilerplate/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/borismus/webvr-boilerplate/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/borismus/webvr-boilerplate/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/borismus/webvr-boilerplate/statuses/1f9e0c8a5da18bc3f3ae91a69257ee3ccc8c35a1"}}}}