{"action":"created","comment":{"url":"https://api.github.com/repos/aframevr/aframe/pulls/comments/73743495","id":73743495,"diff_hunk":"@@ -0,0 +1,52 @@\n+/* global AFRAME */\n+var registerComponent = require('../../core/component').registerComponent;\n+var pkg = require('../../../package');\n+\n+var INSPECTOR_URL = pkg.homepage + 'releases/' + pkg.version + '/aframe-inspector.min.js';\n+\n+module.exports.Component = registerComponent('inspector', {\n+  schema: {\n+    url: {default: INSPECTOR_URL}\n+  },\n+\n+  init: function () {\n+    this.onKeydown = this.onKeydown.bind(this);\n+  },\n+\n+  play: function () {\n+    window.addEventListener('keydown', this.onKeydown);\n+  },\n+\n+  pause: function () {\n+    window.removeEventListener('keydown', this.onKeydown);\n+  },\n+\n+  onKeydown: function (evt) {\n+    // Alt + Ctrl + e","path":"src/components/scene/inspector.js","position":25,"original_position":25,"commit_id":"bf252165fe7dd1b50ad48dd75de5994fb2f0fdfd","original_commit_id":"bf252165fe7dd1b50ad48dd75de5994fb2f0fdfd","user":{"login":"fernandojsg","id":782511,"avatar_url":"https://avatars.githubusercontent.com/u/782511?v=3","gravatar_id":"","url":"https://api.github.com/users/fernandojsg","html_url":"https://github.com/fernandojsg","followers_url":"https://api.github.com/users/fernandojsg/followers","following_url":"https://api.github.com/users/fernandojsg/following{/other_user}","gists_url":"https://api.github.com/users/fernandojsg/gists{/gist_id}","starred_url":"https://api.github.com/users/fernandojsg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fernandojsg/subscriptions","organizations_url":"https://api.github.com/users/fernandojsg/orgs","repos_url":"https://api.github.com/users/fernandojsg/repos","events_url":"https://api.github.com/users/fernandojsg/events{/privacy}","received_events_url":"https://api.github.com/users/fernandojsg/received_events","type":"User","site_admin":false},"body":"Yep probably that will match better for `inspector` as similar as devtools, and leave `e` for the incoming VR-editor","created_at":"2016-08-05T18:59:42Z","updated_at":"2016-08-05T18:59:42Z","html_url":"https://github.com/aframevr/aframe/pull/1599#discussion_r73743495","pull_request_url":"https://api.github.com/repos/aframevr/aframe/pulls/1599","_links":{"self":{"href":"https://api.github.com/repos/aframevr/aframe/pulls/comments/73743495"},"html":{"href":"https://github.com/aframevr/aframe/pull/1599#discussion_r73743495"},"pull_request":{"href":"https://api.github.com/repos/aframevr/aframe/pulls/1599"}}},"pull_request":{"url":"https://api.github.com/repos/aframevr/aframe/pulls/1599","id":76043999,"html_url":"https://github.com/aframevr/aframe/pull/1599","diff_url":"https://github.com/aframevr/aframe/pull/1599.diff","patch_url":"https://github.com/aframevr/aframe/pull/1599.patch","issue_url":"https://api.github.com/repos/aframevr/aframe/issues/1599","number":1599,"state":"open","locked":false,"title":"Shortcut to inject the editor","user":{"login":"dmarcos","id":39342,"avatar_url":"https://avatars.githubusercontent.com/u/39342?v=3","gravatar_id":"","url":"https://api.github.com/users/dmarcos","html_url":"https://github.com/dmarcos","followers_url":"https://api.github.com/users/dmarcos/followers","following_url":"https://api.github.com/users/dmarcos/following{/other_user}","gists_url":"https://api.github.com/users/dmarcos/gists{/gist_id}","starred_url":"https://api.github.com/users/dmarcos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmarcos/subscriptions","organizations_url":"https://api.github.com/users/dmarcos/orgs","repos_url":"https://api.github.com/users/dmarcos/repos","events_url":"https://api.github.com/users/dmarcos/events{/privacy}","received_events_url":"https://api.github.com/users/dmarcos/received_events","type":"User","site_admin":false},"body":"\r\n\r\n","created_at":"2016-07-01T22:27:46Z","updated_at":"2016-08-05T18:59:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":"011bab40410105c9e07fa8c543a5ad88d7f854ff","assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/aframevr/aframe/milestones/2","html_url":"https://github.com/aframevr/aframe/milestones/0.3.0","labels_url":"https://api.github.com/repos/aframevr/aframe/milestones/2/labels","id":1646371,"number":2,"title":"0.3.0","description":"","creator":{"login":"ngokevin","id":674727,"avatar_url":"https://avatars.githubusercontent.com/u/674727?v=3","gravatar_id":"","url":"https://api.github.com/users/ngokevin","html_url":"https://github.com/ngokevin","followers_url":"https://api.github.com/users/ngokevin/followers","following_url":"https://api.github.com/users/ngokevin/following{/other_user}","gists_url":"https://api.github.com/users/ngokevin/gists{/gist_id}","starred_url":"https://api.github.com/users/ngokevin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ngokevin/subscriptions","organizations_url":"https://api.github.com/users/ngokevin/orgs","repos_url":"https://api.github.com/users/ngokevin/repos","events_url":"https://api.github.com/users/ngokevin/events{/privacy}","received_events_url":"https://api.github.com/users/ngokevin/received_events","type":"User","site_admin":false},"open_issues":3,"closed_issues":34,"state":"open","created_at":"2016-03-15T18:39:55Z","updated_at":"2016-08-04T18:34:06Z","due_on":"2016-08-05T07:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/aframevr/aframe/pulls/1599/commits","review_comments_url":"https://api.github.com/repos/aframevr/aframe/pulls/1599/comments","review_comment_url":"https://api.github.com/repos/aframevr/aframe/pulls/comments{/number}","comments_url":"https://api.github.com/repos/aframevr/aframe/issues/1599/comments","statuses_url":"https://api.github.com/repos/aframevr/aframe/statuses/bf252165fe7dd1b50ad48dd75de5994fb2f0fdfd","head":{"label":"dmarcos:editorComponent","ref":"editorComponent","sha":"bf252165fe7dd1b50ad48dd75de5994fb2f0fdfd","user":{"login":"dmarcos","id":39342,"avatar_url":"https://avatars.githubusercontent.com/u/39342?v=3","gravatar_id":"","url":"https://api.github.com/users/dmarcos","html_url":"https://github.com/dmarcos","followers_url":"https://api.github.com/users/dmarcos/followers","following_url":"https://api.github.com/users/dmarcos/following{/other_user}","gists_url":"https://api.github.com/users/dmarcos/gists{/gist_id}","starred_url":"https://api.github.com/users/dmarcos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmarcos/subscriptions","organizations_url":"https://api.github.com/users/dmarcos/orgs","repos_url":"https://api.github.com/users/dmarcos/repos","events_url":"https://api.github.com/users/dmarcos/events{/privacy}","received_events_url":"https://api.github.com/users/dmarcos/received_events","type":"User","site_admin":false},"repo":{"id":49595885,"name":"aframe","full_name":"dmarcos/aframe","owner":{"login":"dmarcos","id":39342,"avatar_url":"https://avatars.githubusercontent.com/u/39342?v=3","gravatar_id":"","url":"https://api.github.com/users/dmarcos","html_url":"https://github.com/dmarcos","followers_url":"https://api.github.com/users/dmarcos/followers","following_url":"https://api.github.com/users/dmarcos/following{/other_user}","gists_url":"https://api.github.com/users/dmarcos/gists{/gist_id}","starred_url":"https://api.github.com/users/dmarcos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmarcos/subscriptions","organizations_url":"https://api.github.com/users/dmarcos/orgs","repos_url":"https://api.github.com/users/dmarcos/repos","events_url":"https://api.github.com/users/dmarcos/events{/privacy}","received_events_url":"https://api.github.com/users/dmarcos/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dmarcos/aframe","description":"Building Blocks for the VR Web","fork":true,"url":"https://api.github.com/repos/dmarcos/aframe","forks_url":"https://api.github.com/repos/dmarcos/aframe/forks","keys_url":"https://api.github.com/repos/dmarcos/aframe/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dmarcos/aframe/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dmarcos/aframe/teams","hooks_url":"https://api.github.com/repos/dmarcos/aframe/hooks","issue_events_url":"https://api.github.com/repos/dmarcos/aframe/issues/events{/number}","events_url":"https://api.github.com/repos/dmarcos/aframe/events","assignees_url":"https://api.github.com/repos/dmarcos/aframe/assignees{/user}","branches_url":"https://api.github.com/repos/dmarcos/aframe/branches{/branch}","tags_url":"https://api.github.com/repos/dmarcos/aframe/tags","blobs_url":"https://api.github.com/repos/dmarcos/aframe/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dmarcos/aframe/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dmarcos/aframe/git/refs{/sha}","trees_url":"https://api.github.com/repos/dmarcos/aframe/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dmarcos/aframe/statuses/{sha}","languages_url":"https://api.github.com/repos/dmarcos/aframe/languages","stargazers_url":"https://api.github.com/repos/dmarcos/aframe/stargazers","contributors_url":"https://api.github.com/repos/dmarcos/aframe/contributors","subscribers_url":"https://api.github.com/repos/dmarcos/aframe/subscribers","subscription_url":"https://api.github.com/repos/dmarcos/aframe/subscription","commits_url":"https://api.github.com/repos/dmarcos/aframe/commits{/sha}","git_commits_url":"https://api.github.com/repos/dmarcos/aframe/git/commits{/sha}","comments_url":"https://api.github.com/repos/dmarcos/aframe/comments{/number}","issue_comment_url":"https://api.github.com/repos/dmarcos/aframe/issues/comments{/number}","contents_url":"https://api.github.com/repos/dmarcos/aframe/contents/{+path}","compare_url":"https://api.github.com/repos/dmarcos/aframe/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dmarcos/aframe/merges","archive_url":"https://api.github.com/repos/dmarcos/aframe/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dmarcos/aframe/downloads","issues_url":"https://api.github.com/repos/dmarcos/aframe/issues{/number}","pulls_url":"https://api.github.com/repos/dmarcos/aframe/pulls{/number}","milestones_url":"https://api.github.com/repos/dmarcos/aframe/milestones{/number}","notifications_url":"https://api.github.com/repos/dmarcos/aframe/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dmarcos/aframe/labels{/name}","releases_url":"https://api.github.com/repos/dmarcos/aframe/releases{/id}","deployments_url":"https://api.github.com/repos/dmarcos/aframe/deployments","created_at":"2016-01-13T19:17:26Z","updated_at":"2016-01-13T19:17:26Z","pushed_at":"2016-08-05T07:25:13Z","git_url":"git://github.com/dmarcos/aframe.git","ssh_url":"git@github.com:dmarcos/aframe.git","clone_url":"https://github.com/dmarcos/aframe.git","svn_url":"https://github.com/dmarcos/aframe","homepage":"https://aframe.io/","size":118384,"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":"aframevr:master","ref":"master","sha":"21b449ba1cda0dfca2ba8dedc4aacb08a0e066ac","user":{"login":"aframevr","id":16024092,"avatar_url":"https://avatars.githubusercontent.com/u/16024092?v=3","gravatar_id":"","url":"https://api.github.com/users/aframevr","html_url":"https://github.com/aframevr","followers_url":"https://api.github.com/users/aframevr/followers","following_url":"https://api.github.com/users/aframevr/following{/other_user}","gists_url":"https://api.github.com/users/aframevr/gists{/gist_id}","starred_url":"https://api.github.com/users/aframevr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aframevr/subscriptions","organizations_url":"https://api.github.com/users/aframevr/orgs","repos_url":"https://api.github.com/users/aframevr/repos","events_url":"https://api.github.com/users/aframevr/events{/privacy}","received_events_url":"https://api.github.com/users/aframevr/received_events","type":"Organization","site_admin":false},"repo":{"id":42488903,"name":"aframe","full_name":"aframevr/aframe","owner":{"login":"aframevr","id":16024092,"avatar_url":"https://avatars.githubusercontent.com/u/16024092?v=3","gravatar_id":"","url":"https://api.github.com/users/aframevr","html_url":"https://github.com/aframevr","followers_url":"https://api.github.com/users/aframevr/followers","following_url":"https://api.github.com/users/aframevr/following{/other_user}","gists_url":"https://api.github.com/users/aframevr/gists{/gist_id}","starred_url":"https://api.github.com/users/aframevr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aframevr/subscriptions","organizations_url":"https://api.github.com/users/aframevr/orgs","repos_url":"https://api.github.com/users/aframevr/repos","events_url":"https://api.github.com/users/aframevr/events{/privacy}","received_events_url":"https://api.github.com/users/aframevr/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/aframevr/aframe","description":"Building Blocks for the VR Web","fork":false,"url":"https://api.github.com/repos/aframevr/aframe","forks_url":"https://api.github.com/repos/aframevr/aframe/forks","keys_url":"https://api.github.com/repos/aframevr/aframe/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aframevr/aframe/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aframevr/aframe/teams","hooks_url":"https://api.github.com/repos/aframevr/aframe/hooks","issue_events_url":"https://api.github.com/repos/aframevr/aframe/issues/events{/number}","events_url":"https://api.github.com/repos/aframevr/aframe/events","assignees_url":"https://api.github.com/repos/aframevr/aframe/assignees{/user}","branches_url":"https://api.github.com/repos/aframevr/aframe/branches{/branch}","tags_url":"https://api.github.com/repos/aframevr/aframe/tags","blobs_url":"https://api.github.com/repos/aframevr/aframe/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aframevr/aframe/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aframevr/aframe/git/refs{/sha}","trees_url":"https://api.github.com/repos/aframevr/aframe/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aframevr/aframe/statuses/{sha}","languages_url":"https://api.github.com/repos/aframevr/aframe/languages","stargazers_url":"https://api.github.com/repos/aframevr/aframe/stargazers","contributors_url":"https://api.github.com/repos/aframevr/aframe/contributors","subscribers_url":"https://api.github.com/repos/aframevr/aframe/subscribers","subscription_url":"https://api.github.com/repos/aframevr/aframe/subscription","commits_url":"https://api.github.com/repos/aframevr/aframe/commits{/sha}","git_commits_url":"https://api.github.com/repos/aframevr/aframe/git/commits{/sha}","comments_url":"https://api.github.com/repos/aframevr/aframe/comments{/number}","issue_comment_url":"https://api.github.com/repos/aframevr/aframe/issues/comments{/number}","contents_url":"https://api.github.com/repos/aframevr/aframe/contents/{+path}","compare_url":"https://api.github.com/repos/aframevr/aframe/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aframevr/aframe/merges","archive_url":"https://api.github.com/repos/aframevr/aframe/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aframevr/aframe/downloads","issues_url":"https://api.github.com/repos/aframevr/aframe/issues{/number}","pulls_url":"https://api.github.com/repos/aframevr/aframe/pulls{/number}","milestones_url":"https://api.github.com/repos/aframevr/aframe/milestones{/number}","notifications_url":"https://api.github.com/repos/aframevr/aframe/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aframevr/aframe/labels{/name}","releases_url":"https://api.github.com/repos/aframevr/aframe/releases{/id}","deployments_url":"https://api.github.com/repos/aframevr/aframe/deployments","created_at":"2015-09-15T02:04:40Z","updated_at":"2016-08-05T15:35:18Z","pushed_at":"2016-08-05T07:25:14Z","git_url":"git://github.com/aframevr/aframe.git","ssh_url":"git@github.com:aframevr/aframe.git","clone_url":"https://github.com/aframevr/aframe.git","svn_url":"https://github.com/aframevr/aframe","homepage":"https://aframe.io/","size":137431,"stargazers_count":2700,"watchers_count":2700,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":492,"mirror_url":null,"open_issues_count":188,"forks":492,"open_issues":188,"watchers":2700,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/aframevr/aframe/pulls/1599"},"html":{"href":"https://github.com/aframevr/aframe/pull/1599"},"issue":{"href":"https://api.github.com/repos/aframevr/aframe/issues/1599"},"comments":{"href":"https://api.github.com/repos/aframevr/aframe/issues/1599/comments"},"review_comments":{"href":"https://api.github.com/repos/aframevr/aframe/pulls/1599/comments"},"review_comment":{"href":"https://api.github.com/repos/aframevr/aframe/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/aframevr/aframe/pulls/1599/commits"},"statuses":{"href":"https://api.github.com/repos/aframevr/aframe/statuses/bf252165fe7dd1b50ad48dd75de5994fb2f0fdfd"}}}}
{"actor":{"display_login":"fernandojsg"}}