{"action":"opened","number":387,"pull_request":{"url":"https://api.github.com/repos/vimperator/vimperator-labs/pulls/387","id":57532990,"html_url":"https://github.com/vimperator/vimperator-labs/pull/387","diff_url":"https://github.com/vimperator/vimperator-labs/pull/387.diff","patch_url":"https://github.com/vimperator/vimperator-labs/pull/387.patch","issue_url":"https://api.github.com/repos/vimperator/vimperator-labs/issues/387","number":387,"state":"open","locked":false,"title":"Expose Command constructor as commands.Command","user":{"login":"eagletmt","id":69755,"avatar_url":"https://avatars.githubusercontent.com/u/69755?v=3","gravatar_id":"","url":"https://api.github.com/users/eagletmt","html_url":"https://github.com/eagletmt","followers_url":"https://api.github.com/users/eagletmt/followers","following_url":"https://api.github.com/users/eagletmt/following{/other_user}","gists_url":"https://api.github.com/users/eagletmt/gists{/gist_id}","starred_url":"https://api.github.com/users/eagletmt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eagletmt/subscriptions","organizations_url":"https://api.github.com/users/eagletmt/orgs","repos_url":"https://api.github.com/users/eagletmt/repos","events_url":"https://api.github.com/users/eagletmt/events{/privacy}","received_events_url":"https://api.github.com/users/eagletmt/received_events","type":"User","site_admin":false},"body":"The semantics of `const` has been changed in Firefox 44.\r\nhttps://blog.mozilla.org/addons/2015/10/14/breaking-changes-let-const-firefox-nightly-44/\r\nThis patch allows user-defined sub-commands in Firefix 44+.\r\n\r\n```js\r\ncommands.addUserCommand(['mycommand'], 'My command', function() {}, {\r\n  subCommands: [\r\n    new commands.Command(['sub'], 'My sub-command', function() { doSomething(); }),\r\n  ],\r\n});\r\n```","created_at":"2016-01-28T17:07:58Z","updated_at":"2016-01-28T17:07:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/vimperator/vimperator-labs/pulls/387/commits","review_comments_url":"https://api.github.com/repos/vimperator/vimperator-labs/pulls/387/comments","review_comment_url":"https://api.github.com/repos/vimperator/vimperator-labs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/vimperator/vimperator-labs/issues/387/comments","statuses_url":"https://api.github.com/repos/vimperator/vimperator-labs/statuses/2357818a51d8f47edb5ac85932773db960ac8921","head":{"label":"eagletmt:expose-command-ctor","ref":"expose-command-ctor","sha":"2357818a51d8f47edb5ac85932773db960ac8921","user":{"login":"eagletmt","id":69755,"avatar_url":"https://avatars.githubusercontent.com/u/69755?v=3","gravatar_id":"","url":"https://api.github.com/users/eagletmt","html_url":"https://github.com/eagletmt","followers_url":"https://api.github.com/users/eagletmt/followers","following_url":"https://api.github.com/users/eagletmt/following{/other_user}","gists_url":"https://api.github.com/users/eagletmt/gists{/gist_id}","starred_url":"https://api.github.com/users/eagletmt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eagletmt/subscriptions","organizations_url":"https://api.github.com/users/eagletmt/orgs","repos_url":"https://api.github.com/users/eagletmt/repos","events_url":"https://api.github.com/users/eagletmt/events{/privacy}","received_events_url":"https://api.github.com/users/eagletmt/received_events","type":"User","site_admin":false},"repo":{"id":29241199,"name":"vimperator-labs","full_name":"eagletmt/vimperator-labs","owner":{"login":"eagletmt","id":69755,"avatar_url":"https://avatars.githubusercontent.com/u/69755?v=3","gravatar_id":"","url":"https://api.github.com/users/eagletmt","html_url":"https://github.com/eagletmt","followers_url":"https://api.github.com/users/eagletmt/followers","following_url":"https://api.github.com/users/eagletmt/following{/other_user}","gists_url":"https://api.github.com/users/eagletmt/gists{/gist_id}","starred_url":"https://api.github.com/users/eagletmt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eagletmt/subscriptions","organizations_url":"https://api.github.com/users/eagletmt/orgs","repos_url":"https://api.github.com/users/eagletmt/repos","events_url":"https://api.github.com/users/eagletmt/events{/privacy}","received_events_url":"https://api.github.com/users/eagletmt/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/eagletmt/vimperator-labs","description":"Vimperator","fork":true,"url":"https://api.github.com/repos/eagletmt/vimperator-labs","forks_url":"https://api.github.com/repos/eagletmt/vimperator-labs/forks","keys_url":"https://api.github.com/repos/eagletmt/vimperator-labs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/eagletmt/vimperator-labs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/eagletmt/vimperator-labs/teams","hooks_url":"https://api.github.com/repos/eagletmt/vimperator-labs/hooks","issue_events_url":"https://api.github.com/repos/eagletmt/vimperator-labs/issues/events{/number}","events_url":"https://api.github.com/repos/eagletmt/vimperator-labs/events","assignees_url":"https://api.github.com/repos/eagletmt/vimperator-labs/assignees{/user}","branches_url":"https://api.github.com/repos/eagletmt/vimperator-labs/branches{/branch}","tags_url":"https://api.github.com/repos/eagletmt/vimperator-labs/tags","blobs_url":"https://api.github.com/repos/eagletmt/vimperator-labs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/eagletmt/vimperator-labs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/eagletmt/vimperator-labs/git/refs{/sha}","trees_url":"https://api.github.com/repos/eagletmt/vimperator-labs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/eagletmt/vimperator-labs/statuses/{sha}","languages_url":"https://api.github.com/repos/eagletmt/vimperator-labs/languages","stargazers_url":"https://api.github.com/repos/eagletmt/vimperator-labs/stargazers","contributors_url":"https://api.github.com/repos/eagletmt/vimperator-labs/contributors","subscribers_url":"https://api.github.com/repos/eagletmt/vimperator-labs/subscribers","subscription_url":"https://api.github.com/repos/eagletmt/vimperator-labs/subscription","commits_url":"https://api.github.com/repos/eagletmt/vimperator-labs/commits{/sha}","git_commits_url":"https://api.github.com/repos/eagletmt/vimperator-labs/git/commits{/sha}","comments_url":"https://api.github.com/repos/eagletmt/vimperator-labs/comments{/number}","issue_comment_url":"https://api.github.com/repos/eagletmt/vimperator-labs/issues/comments{/number}","contents_url":"https://api.github.com/repos/eagletmt/vimperator-labs/contents/{+path}","compare_url":"https://api.github.com/repos/eagletmt/vimperator-labs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/eagletmt/vimperator-labs/merges","archive_url":"https://api.github.com/repos/eagletmt/vimperator-labs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/eagletmt/vimperator-labs/downloads","issues_url":"https://api.github.com/repos/eagletmt/vimperator-labs/issues{/number}","pulls_url":"https://api.github.com/repos/eagletmt/vimperator-labs/pulls{/number}","milestones_url":"https://api.github.com/repos/eagletmt/vimperator-labs/milestones{/number}","notifications_url":"https://api.github.com/repos/eagletmt/vimperator-labs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/eagletmt/vimperator-labs/labels{/name}","releases_url":"https://api.github.com/repos/eagletmt/vimperator-labs/releases{/id}","deployments_url":"https://api.github.com/repos/eagletmt/vimperator-labs/deployments","created_at":"2015-01-14T11:29:22Z","updated_at":"2015-01-14T11:29:23Z","pushed_at":"2016-01-28T17:06:45Z","git_url":"git://github.com/eagletmt/vimperator-labs.git","ssh_url":"git@github.com:eagletmt/vimperator-labs.git","clone_url":"https://github.com/eagletmt/vimperator-labs.git","svn_url":"https://github.com/eagletmt/vimperator-labs","homepage":"http://code.google.com/p/vimperator-labs/","size":7164,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"vimperator:master","ref":"master","sha":"a06afad4835959a348421a1a4da3a036496b1049","user":{"login":"vimperator","id":7980684,"avatar_url":"https://avatars.githubusercontent.com/u/7980684?v=3","gravatar_id":"","url":"https://api.github.com/users/vimperator","html_url":"https://github.com/vimperator","followers_url":"https://api.github.com/users/vimperator/followers","following_url":"https://api.github.com/users/vimperator/following{/other_user}","gists_url":"https://api.github.com/users/vimperator/gists{/gist_id}","starred_url":"https://api.github.com/users/vimperator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vimperator/subscriptions","organizations_url":"https://api.github.com/users/vimperator/orgs","repos_url":"https://api.github.com/users/vimperator/repos","events_url":"https://api.github.com/users/vimperator/events{/privacy}","received_events_url":"https://api.github.com/users/vimperator/received_events","type":"Organization","site_admin":false},"repo":{"id":10753240,"name":"vimperator-labs","full_name":"vimperator/vimperator-labs","owner":{"login":"vimperator","id":7980684,"avatar_url":"https://avatars.githubusercontent.com/u/7980684?v=3","gravatar_id":"","url":"https://api.github.com/users/vimperator","html_url":"https://github.com/vimperator","followers_url":"https://api.github.com/users/vimperator/followers","following_url":"https://api.github.com/users/vimperator/following{/other_user}","gists_url":"https://api.github.com/users/vimperator/gists{/gist_id}","starred_url":"https://api.github.com/users/vimperator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vimperator/subscriptions","organizations_url":"https://api.github.com/users/vimperator/orgs","repos_url":"https://api.github.com/users/vimperator/repos","events_url":"https://api.github.com/users/vimperator/events{/privacy}","received_events_url":"https://api.github.com/users/vimperator/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/vimperator/vimperator-labs","description":"Vimperator","fork":false,"url":"https://api.github.com/repos/vimperator/vimperator-labs","forks_url":"https://api.github.com/repos/vimperator/vimperator-labs/forks","keys_url":"https://api.github.com/repos/vimperator/vimperator-labs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vimperator/vimperator-labs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vimperator/vimperator-labs/teams","hooks_url":"https://api.github.com/repos/vimperator/vimperator-labs/hooks","issue_events_url":"https://api.github.com/repos/vimperator/vimperator-labs/issues/events{/number}","events_url":"https://api.github.com/repos/vimperator/vimperator-labs/events","assignees_url":"https://api.github.com/repos/vimperator/vimperator-labs/assignees{/user}","branches_url":"https://api.github.com/repos/vimperator/vimperator-labs/branches{/branch}","tags_url":"https://api.github.com/repos/vimperator/vimperator-labs/tags","blobs_url":"https://api.github.com/repos/vimperator/vimperator-labs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vimperator/vimperator-labs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vimperator/vimperator-labs/git/refs{/sha}","trees_url":"https://api.github.com/repos/vimperator/vimperator-labs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vimperator/vimperator-labs/statuses/{sha}","languages_url":"https://api.github.com/repos/vimperator/vimperator-labs/languages","stargazers_url":"https://api.github.com/repos/vimperator/vimperator-labs/stargazers","contributors_url":"https://api.github.com/repos/vimperator/vimperator-labs/contributors","subscribers_url":"https://api.github.com/repos/vimperator/vimperator-labs/subscribers","subscription_url":"https://api.github.com/repos/vimperator/vimperator-labs/subscription","commits_url":"https://api.github.com/repos/vimperator/vimperator-labs/commits{/sha}","git_commits_url":"https://api.github.com/repos/vimperator/vimperator-labs/git/commits{/sha}","comments_url":"https://api.github.com/repos/vimperator/vimperator-labs/comments{/number}","issue_comment_url":"https://api.github.com/repos/vimperator/vimperator-labs/issues/comments{/number}","contents_url":"https://api.github.com/repos/vimperator/vimperator-labs/contents/{+path}","compare_url":"https://api.github.com/repos/vimperator/vimperator-labs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vimperator/vimperator-labs/merges","archive_url":"https://api.github.com/repos/vimperator/vimperator-labs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vimperator/vimperator-labs/downloads","issues_url":"https://api.github.com/repos/vimperator/vimperator-labs/issues{/number}","pulls_url":"https://api.github.com/repos/vimperator/vimperator-labs/pulls{/number}","milestones_url":"https://api.github.com/repos/vimperator/vimperator-labs/milestones{/number}","notifications_url":"https://api.github.com/repos/vimperator/vimperator-labs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vimperator/vimperator-labs/labels{/name}","releases_url":"https://api.github.com/repos/vimperator/vimperator-labs/releases{/id}","deployments_url":"https://api.github.com/repos/vimperator/vimperator-labs/deployments","created_at":"2013-06-18T03:46:13Z","updated_at":"2016-01-28T15:56:17Z","pushed_at":"2016-01-28T17:07:58Z","git_url":"git://github.com/vimperator/vimperator-labs.git","ssh_url":"git@github.com:vimperator/vimperator-labs.git","clone_url":"https://github.com/vimperator/vimperator-labs.git","svn_url":"https://github.com/vimperator/vimperator-labs","homepage":"http://code.google.com/p/vimperator-labs/","size":7214,"stargazers_count":518,"watchers_count":518,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":112,"mirror_url":null,"open_issues_count":102,"forks":112,"open_issues":102,"watchers":518,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/vimperator/vimperator-labs/pulls/387"},"html":{"href":"https://github.com/vimperator/vimperator-labs/pull/387"},"issue":{"href":"https://api.github.com/repos/vimperator/vimperator-labs/issues/387"},"comments":{"href":"https://api.github.com/repos/vimperator/vimperator-labs/issues/387/comments"},"review_comments":{"href":"https://api.github.com/repos/vimperator/vimperator-labs/pulls/387/comments"},"review_comment":{"href":"https://api.github.com/repos/vimperator/vimperator-labs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/vimperator/vimperator-labs/pulls/387/commits"},"statuses":{"href":"https://api.github.com/repos/vimperator/vimperator-labs/statuses/2357818a51d8f47edb5ac85932773db960ac8921"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":3,"deletions":0,"changed_files":1}}