{"action":"created","comment":{"url":"https://api.github.com/repos/perry-mitchell/buttercup-core/pulls/comments/42019494","id":42019494,"diff_hunk":"@@ -0,0 +1,25 @@\n+(function(module) {\n+\n+\t\"use strict\";\n+\n+\tvar searching = require(__dirname + \"/searching.js\");\n+\n+\tmodule.exports = function(obj, parentID, newID) {\n+\t\tobj.groups = obj.groups || [];\n+\t\tvar group = {\n+\t\t\tid: newID,\n+\t\t\ttitle: \"\"\n+\t\t};\n+\t\tif (parseInt(parentID, 10) === 0) {\n+\t\t\tobj.groups.push(group);\n+\t\t} else {\n+\t\t\tvar parentGroup = searching.findGroupByID(obj.groups, parentID);\n+\t\t\tif (!parentID) {","path":"source/classes/commands/command.cgr.js","position":17,"original_position":17,"commit_id":"1814b5e33b1503ad38a8f1928c987777dec7a320","original_commit_id":"1814b5e33b1503ad38a8f1928c987777dec7a320","user":{"login":"sallar","id":768052,"avatar_url":"https://avatars.githubusercontent.com/u/768052?v=3","gravatar_id":"","url":"https://api.github.com/users/sallar","html_url":"https://github.com/sallar","followers_url":"https://api.github.com/users/sallar/followers","following_url":"https://api.github.com/users/sallar/following{/other_user}","gists_url":"https://api.github.com/users/sallar/gists{/gist_id}","starred_url":"https://api.github.com/users/sallar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sallar/subscriptions","organizations_url":"https://api.github.com/users/sallar/orgs","repos_url":"https://api.github.com/users/sallar/repos","events_url":"https://api.github.com/users/sallar/events{/privacy}","received_events_url":"https://api.github.com/users/sallar/received_events","type":"User","site_admin":false},"body":"This comparison is wrong I think. It should be `if (!parentGroup)`, right?","created_at":"2015-10-14T16:48:02Z","updated_at":"2015-10-14T16:48:02Z","html_url":"https://github.com/perry-mitchell/buttercup-core/pull/2#discussion_r42019494","pull_request_url":"https://api.github.com/repos/perry-mitchell/buttercup-core/pulls/2","_links":{"self":{"href":"https://api.github.com/repos/perry-mitchell/buttercup-core/pulls/comments/42019494"},"html":{"href":"https://github.com/perry-mitchell/buttercup-core/pull/2#discussion_r42019494"},"pull_request":{"href":"https://api.github.com/repos/perry-mitchell/buttercup-core/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/perry-mitchell/buttercup-core/pulls/2","id":47684701,"html_url":"https://github.com/perry-mitchell/buttercup-core/pull/2","diff_url":"https://github.com/perry-mitchell/buttercup-core/pull/2.diff","patch_url":"https://github.com/perry-mitchell/buttercup-core/pull/2.patch","issue_url":"https://api.github.com/repos/perry-mitchell/buttercup-core/issues/2","number":2,"state":"closed","locked":false,"title":"Delta usage","user":{"login":"perry-mitchell","id":3869469,"avatar_url":"https://avatars.githubusercontent.com/u/3869469?v=3","gravatar_id":"","url":"https://api.github.com/users/perry-mitchell","html_url":"https://github.com/perry-mitchell","followers_url":"https://api.github.com/users/perry-mitchell/followers","following_url":"https://api.github.com/users/perry-mitchell/following{/other_user}","gists_url":"https://api.github.com/users/perry-mitchell/gists{/gist_id}","starred_url":"https://api.github.com/users/perry-mitchell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/perry-mitchell/subscriptions","organizations_url":"https://api.github.com/users/perry-mitchell/orgs","repos_url":"https://api.github.com/users/perry-mitchell/repos","events_url":"https://api.github.com/users/perry-mitchell/events{/privacy}","received_events_url":"https://api.github.com/users/perry-mitchell/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-10-14T16:46:16Z","updated_at":"2015-10-14T16:48:02Z","closed_at":"2015-10-14T16:46:21Z","merged_at":"2015-10-14T16:46:21Z","merge_commit_sha":"9b790d780cd162e3b666020ae2cec48288776d9c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/perry-mitchell/buttercup-core/pulls/2/commits","review_comments_url":"https://api.github.com/repos/perry-mitchell/buttercup-core/pulls/2/comments","review_comment_url":"https://api.github.com/repos/perry-mitchell/buttercup-core/pulls/comments{/number}","comments_url":"https://api.github.com/repos/perry-mitchell/buttercup-core/issues/2/comments","statuses_url":"https://api.github.com/repos/perry-mitchell/buttercup-core/statuses/1814b5e33b1503ad38a8f1928c987777dec7a320","head":{"label":"perry-mitchell:delta_usage","ref":"delta_usage","sha":"1814b5e33b1503ad38a8f1928c987777dec7a320","user":{"login":"perry-mitchell","id":3869469,"avatar_url":"https://avatars.githubusercontent.com/u/3869469?v=3","gravatar_id":"","url":"https://api.github.com/users/perry-mitchell","html_url":"https://github.com/perry-mitchell","followers_url":"https://api.github.com/users/perry-mitchell/followers","following_url":"https://api.github.com/users/perry-mitchell/following{/other_user}","gists_url":"https://api.github.com/users/perry-mitchell/gists{/gist_id}","starred_url":"https://api.github.com/users/perry-mitchell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/perry-mitchell/subscriptions","organizations_url":"https://api.github.com/users/perry-mitchell/orgs","repos_url":"https://api.github.com/users/perry-mitchell/repos","events_url":"https://api.github.com/users/perry-mitchell/events{/privacy}","received_events_url":"https://api.github.com/users/perry-mitchell/received_events","type":"User","site_admin":false},"repo":{"id":42001175,"name":"buttercup-core","full_name":"perry-mitchell/buttercup-core","owner":{"login":"perry-mitchell","id":3869469,"avatar_url":"https://avatars.githubusercontent.com/u/3869469?v=3","gravatar_id":"","url":"https://api.github.com/users/perry-mitchell","html_url":"https://github.com/perry-mitchell","followers_url":"https://api.github.com/users/perry-mitchell/followers","following_url":"https://api.github.com/users/perry-mitchell/following{/other_user}","gists_url":"https://api.github.com/users/perry-mitchell/gists{/gist_id}","starred_url":"https://api.github.com/users/perry-mitchell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/perry-mitchell/subscriptions","organizations_url":"https://api.github.com/users/perry-mitchell/orgs","repos_url":"https://api.github.com/users/perry-mitchell/repos","events_url":"https://api.github.com/users/perry-mitchell/events{/privacy}","received_events_url":"https://api.github.com/users/perry-mitchell/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/perry-mitchell/buttercup-core","description":"The mighty core of the NodeJS password vault","fork":false,"url":"https://api.github.com/repos/perry-mitchell/buttercup-core","forks_url":"https://api.github.com/repos/perry-mitchell/buttercup-core/forks","keys_url":"https://api.github.com/repos/perry-mitchell/buttercup-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/perry-mitchell/buttercup-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/perry-mitchell/buttercup-core/teams","hooks_url":"https://api.github.com/repos/perry-mitchell/buttercup-core/hooks","issue_events_url":"https://api.github.com/repos/perry-mitchell/buttercup-core/issues/events{/number}","events_url":"https://api.github.com/repos/perry-mitchell/buttercup-core/events","assignees_url":"https://api.github.com/repos/perry-mitchell/buttercup-core/assignees{/user}","branches_url":"https://api.github.com/repos/perry-mitchell/buttercup-core/branches{/branch}","tags_url":"https://api.github.com/repos/perry-mitchell/buttercup-core/tags","blobs_url":"https://api.github.com/repos/perry-mitchell/buttercup-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/perry-mitchell/buttercup-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/perry-mitchell/buttercup-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/perry-mitchell/buttercup-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/perry-mitchell/buttercup-core/statuses/{sha}","languages_url":"https://api.github.com/repos/perry-mitchell/buttercup-core/languages","stargazers_url":"https://api.github.com/repos/perry-mitchell/buttercup-core/stargazers","contributors_url":"https://api.github.com/repos/perry-mitchell/buttercup-core/contributors","subscribers_url":"https://api.github.com/repos/perry-mitchell/buttercup-core/subscribers","subscription_url":"https://api.github.com/repos/perry-mitchell/buttercup-core/subscription","commits_url":"https://api.github.com/repos/perry-mitchell/buttercup-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/perry-mitchell/buttercup-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/perry-mitchell/buttercup-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/perry-mitchell/buttercup-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/perry-mitchell/buttercup-core/contents/{+path}","compare_url":"https://api.github.com/repos/perry-mitchell/buttercup-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/perry-mitchell/buttercup-core/merges","archive_url":"https://api.github.com/repos/perry-mitchell/buttercup-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/perry-mitchell/buttercup-core/downloads","issues_url":"https://api.github.com/repos/perry-mitchell/buttercup-core/issues{/number}","pulls_url":"https://api.github.com/repos/perry-mitchell/buttercup-core/pulls{/number}","milestones_url":"https://api.github.com/repos/perry-mitchell/buttercup-core/milestones{/number}","notifications_url":"https://api.github.com/repos/perry-mitchell/buttercup-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/perry-mitchell/buttercup-core/labels{/name}","releases_url":"https://api.github.com/repos/perry-mitchell/buttercup-core/releases{/id}","created_at":"2015-09-06T12:05:21Z","updated_at":"2015-09-12T20:12:30Z","pushed_at":"2015-10-14T16:46:23Z","git_url":"git://github.com/perry-mitchell/buttercup-core.git","ssh_url":"git@github.com:perry-mitchell/buttercup-core.git","clone_url":"https://github.com/perry-mitchell/buttercup-core.git","svn_url":"https://github.com/perry-mitchell/buttercup-core","homepage":"http://perry-mitchell.github.io/buttercup/","size":180,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"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":"perry-mitchell:master","ref":"master","sha":"942c7d951c7157b0d73fa1372fb9facf41db6593","user":{"login":"perry-mitchell","id":3869469,"avatar_url":"https://avatars.githubusercontent.com/u/3869469?v=3","gravatar_id":"","url":"https://api.github.com/users/perry-mitchell","html_url":"https://github.com/perry-mitchell","followers_url":"https://api.github.com/users/perry-mitchell/followers","following_url":"https://api.github.com/users/perry-mitchell/following{/other_user}","gists_url":"https://api.github.com/users/perry-mitchell/gists{/gist_id}","starred_url":"https://api.github.com/users/perry-mitchell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/perry-mitchell/subscriptions","organizations_url":"https://api.github.com/users/perry-mitchell/orgs","repos_url":"https://api.github.com/users/perry-mitchell/repos","events_url":"https://api.github.com/users/perry-mitchell/events{/privacy}","received_events_url":"https://api.github.com/users/perry-mitchell/received_events","type":"User","site_admin":false},"repo":{"id":42001175,"name":"buttercup-core","full_name":"perry-mitchell/buttercup-core","owner":{"login":"perry-mitchell","id":3869469,"avatar_url":"https://avatars.githubusercontent.com/u/3869469?v=3","gravatar_id":"","url":"https://api.github.com/users/perry-mitchell","html_url":"https://github.com/perry-mitchell","followers_url":"https://api.github.com/users/perry-mitchell/followers","following_url":"https://api.github.com/users/perry-mitchell/following{/other_user}","gists_url":"https://api.github.com/users/perry-mitchell/gists{/gist_id}","starred_url":"https://api.github.com/users/perry-mitchell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/perry-mitchell/subscriptions","organizations_url":"https://api.github.com/users/perry-mitchell/orgs","repos_url":"https://api.github.com/users/perry-mitchell/repos","events_url":"https://api.github.com/users/perry-mitchell/events{/privacy}","received_events_url":"https://api.github.com/users/perry-mitchell/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/perry-mitchell/buttercup-core","description":"The mighty core of the NodeJS password vault","fork":false,"url":"https://api.github.com/repos/perry-mitchell/buttercup-core","forks_url":"https://api.github.com/repos/perry-mitchell/buttercup-core/forks","keys_url":"https://api.github.com/repos/perry-mitchell/buttercup-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/perry-mitchell/buttercup-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/perry-mitchell/buttercup-core/teams","hooks_url":"https://api.github.com/repos/perry-mitchell/buttercup-core/hooks","issue_events_url":"https://api.github.com/repos/perry-mitchell/buttercup-core/issues/events{/number}","events_url":"https://api.github.com/repos/perry-mitchell/buttercup-core/events","assignees_url":"https://api.github.com/repos/perry-mitchell/buttercup-core/assignees{/user}","branches_url":"https://api.github.com/repos/perry-mitchell/buttercup-core/branches{/branch}","tags_url":"https://api.github.com/repos/perry-mitchell/buttercup-core/tags","blobs_url":"https://api.github.com/repos/perry-mitchell/buttercup-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/perry-mitchell/buttercup-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/perry-mitchell/buttercup-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/perry-mitchell/buttercup-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/perry-mitchell/buttercup-core/statuses/{sha}","languages_url":"https://api.github.com/repos/perry-mitchell/buttercup-core/languages","stargazers_url":"https://api.github.com/repos/perry-mitchell/buttercup-core/stargazers","contributors_url":"https://api.github.com/repos/perry-mitchell/buttercup-core/contributors","subscribers_url":"https://api.github.com/repos/perry-mitchell/buttercup-core/subscribers","subscription_url":"https://api.github.com/repos/perry-mitchell/buttercup-core/subscription","commits_url":"https://api.github.com/repos/perry-mitchell/buttercup-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/perry-mitchell/buttercup-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/perry-mitchell/buttercup-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/perry-mitchell/buttercup-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/perry-mitchell/buttercup-core/contents/{+path}","compare_url":"https://api.github.com/repos/perry-mitchell/buttercup-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/perry-mitchell/buttercup-core/merges","archive_url":"https://api.github.com/repos/perry-mitchell/buttercup-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/perry-mitchell/buttercup-core/downloads","issues_url":"https://api.github.com/repos/perry-mitchell/buttercup-core/issues{/number}","pulls_url":"https://api.github.com/repos/perry-mitchell/buttercup-core/pulls{/number}","milestones_url":"https://api.github.com/repos/perry-mitchell/buttercup-core/milestones{/number}","notifications_url":"https://api.github.com/repos/perry-mitchell/buttercup-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/perry-mitchell/buttercup-core/labels{/name}","releases_url":"https://api.github.com/repos/perry-mitchell/buttercup-core/releases{/id}","created_at":"2015-09-06T12:05:21Z","updated_at":"2015-09-12T20:12:30Z","pushed_at":"2015-10-14T16:46:23Z","git_url":"git://github.com/perry-mitchell/buttercup-core.git","ssh_url":"git@github.com:perry-mitchell/buttercup-core.git","clone_url":"https://github.com/perry-mitchell/buttercup-core.git","svn_url":"https://github.com/perry-mitchell/buttercup-core","homepage":"http://perry-mitchell.github.io/buttercup/","size":180,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"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"}},"_links":{"self":{"href":"https://api.github.com/repos/perry-mitchell/buttercup-core/pulls/2"},"html":{"href":"https://github.com/perry-mitchell/buttercup-core/pull/2"},"issue":{"href":"https://api.github.com/repos/perry-mitchell/buttercup-core/issues/2"},"comments":{"href":"https://api.github.com/repos/perry-mitchell/buttercup-core/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/perry-mitchell/buttercup-core/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/perry-mitchell/buttercup-core/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/perry-mitchell/buttercup-core/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/perry-mitchell/buttercup-core/statuses/1814b5e33b1503ad38a8f1928c987777dec7a320"}}}}