GitHub PullRequestEvent at 2014-01-10 20:42:10
Repository: brackets
Actor: jasonsanjose
Payload: {"action":"closed","number":6467,"pull_request":{"url":"https://api.github.com/repos/adobe/brackets/pulls/6467","id":11413985,"html_url":"https://github.com/adobe/brackets/pull/6467","diff_url":"https://github.com/adobe/brackets/pull/6467.diff","patch_url":"https://github.com/adobe/brackets/pull/6467.patch","issue_url":"https://github.com/adobe/brackets/pull/6467","number":6467,"state":"closed","title":"Ensure that the parents of deleted tree nodes remain directories in the file tree","user":{"login":"iwehrman","id":1075154,"avatar_url":"https://gravatar.com/avatar/3909b15216f0cc0df91b85b5008ab392?d=https%3A%2F%2Fidenticons.github.com%2F947252f36201ff4b46e681ba456270fa.png&r=x","gravatar_id":"3909b15216f0cc0df91b85b5008ab392","url":"https://api.github.com/users/iwehrman","html_url":"https://github.com/iwehrman","followers_url":"https://api.github.com/users/iwehrman/followers","following_url":"https://api.github.com/users/iwehrman/following{/other_user}","gists_url":"https://api.github.com/users/iwehrman/gists{/gist_id}","starred_url":"https://api.github.com/users/iwehrman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iwehrman/subscriptions","organizations_url":"https://api.github.com/users/iwehrman/orgs","repos_url":"https://api.github.com/users/iwehrman/repos","events_url":"https://api.github.com/users/iwehrman/events{/privacy}","received_events_url":"https://api.github.com/users/iwehrman/received_events","type":"User","site_admin":false},"body":"There is apparently a bug in jsTree in which deleting an entry can cause its parent to be rendered as a leaf instead of as a directory. A workaround already existed for this in Brackets, but it relied on an assumption that the deleted item would always be selected. This is no longer the case because items in the tree can be deleted as a result of filesystem events. This pull request fixes this by manually setting the class of the node that corresponds to the parent entry when it has no children.","created_at":"2014-01-10T19:57:12Z","updated_at":"2014-01-10T20:42:09Z","closed_at":"2014-01-10T20:42:09Z","merged_at":"2014-01-10T20:42:09Z","merge_commit_sha":"0f4684f1c13ece620d21edf6369ace1a65f2642c","assignee":{"login":"jasonsanjose","id":1148713,"avatar_url":"https://gravatar.com/avatar/4544d44dbacf43bf0fec172884bcafe2?d=https%3A%2F%2Fidenticons.github.com%2Fbb9568819bd38fe102b3ceda04428317.png&r=x","gravatar_id":"4544d44dbacf43bf0fec172884bcafe2","url":"https://api.github.com/users/jasonsanjose","html_url":"https://github.com/jasonsanjose","followers_url":"https://api.github.com/users/jasonsanjose/followers","following_url":"https://api.github.com/users/jasonsanjose/following{/other_user}","gists_url":"https://api.github.com/users/jasonsanjose/gists{/gist_id}","starred_url":"https://api.github.com/users/jasonsanjose/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jasonsanjose/subscriptions","organizations_url":"https://api.github.com/users/jasonsanjose/orgs","repos_url":"https://api.github.com/users/jasonsanjose/repos","events_url":"https://api.github.com/users/jasonsanjose/events{/privacy}","received_events_url":"https://api.github.com/users/jasonsanjose/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://github.com/adobe/brackets/pull/6467/commits","review_comments_url":"https://github.com/adobe/brackets/pull/6467/comments","review_comment_url":"/repos/adobe/brackets/pulls/comments/{number}","comments_url":"https://api.github.com/repos/adobe/brackets/issues/6467/comments","statuses_url":"https://api.github.com/repos/adobe/brackets/statuses/c6bd6437cf10d28d01625c23662b89a754838b0b","head":{"label":"adobe:iwehrman/issue-6436","ref":"iwehrman/issue-6436","sha":"c6bd6437cf10d28d01625c23662b89a754838b0b","user":{"login":"adobe","id":476009,"avatar_url":"https://gravatar.com/avatar/cc40327f6f93a7b75207a152962d8dbe?d=https%3A%2F%2Fidenticons.github.com%2Fb388f007cd411941d8225ac4d11766a3.png&r=x","gravatar_id":"cc40327f6f93a7b75207a152962d8dbe","url":"https://api.github.com/users/adobe","html_url":"https://github.com/adobe","followers_url":"https://api.github.com/users/adobe/followers","following_url":"https://api.github.com/users/adobe/following{/other_user}","gists_url":"https://api.github.com/users/adobe/gists{/gist_id}","starred_url":"https://api.github.com/users/adobe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adobe/subscriptions","organizations_url":"https://api.github.com/users/adobe/orgs","repos_url":"https://api.github.com/users/adobe/repos","events_url":"https://api.github.com/users/adobe/events{/privacy}","received_events_url":"https://api.github.com/users/adobe/received_events","type":"Organization","site_admin":false},"repo":{"id":2935735,"name":"brackets","full_name":"adobe/brackets","owner":{"login":"adobe","id":476009,"avatar_url":"https://gravatar.com/avatar/cc40327f6f93a7b75207a152962d8dbe?d=https%3A%2F%2Fidenticons.github.com%2Fb388f007cd411941d8225ac4d11766a3.png&r=x","gravatar_id":"cc40327f6f93a7b75207a152962d8dbe","url":"https://api.github.com/users/adobe","html_url":"https://github.com/adobe","followers_url":"https://api.github.com/users/adobe/followers","following_url":"https://api.github.com/users/adobe/following{/other_user}","gists_url":"https://api.github.com/users/adobe/gists{/gist_id}","starred_url":"https://api.github.com/users/adobe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adobe/subscriptions","organizations_url":"https://api.github.com/users/adobe/orgs","repos_url":"https://api.github.com/users/adobe/repos","events_url":"https://api.github.com/users/adobe/events{/privacy}","received_events_url":"https://api.github.com/users/adobe/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/adobe/brackets","description":"An open source code editor for the web, written in JavaScript, HTML and CSS.","fork":false,"url":"https://api.github.com/repos/adobe/brackets","forks_url":"https://api.github.com/repos/adobe/brackets/forks","keys_url":"https://api.github.com/repos/adobe/brackets/keys{/key_id}","collaborators_url":"https://api.github.com/repos/adobe/brackets/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/adobe/brackets/teams","hooks_url":"https://api.github.com/repos/adobe/brackets/hooks","issue_events_url":"https://api.github.com/repos/adobe/brackets/issues/events{/number}","events_url":"https://api.github.com/repos/adobe/brackets/events","assignees_url":"https://api.github.com/repos/adobe/brackets/assignees{/user}","branches_url":"https://api.github.com/repos/adobe/brackets/branches{/branch}","tags_url":"https://api.github.com/repos/adobe/brackets/tags","blobs_url":"https://api.github.com/repos/adobe/brackets/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/adobe/brackets/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/adobe/brackets/git/refs{/sha}","trees_url":"https://api.github.com/repos/adobe/brackets/git/trees{/sha}","statuses_url":"https://api.github.com/repos/adobe/brackets/statuses/{sha}","languages_url":"https://api.github.com/repos/adobe/brackets/languages","stargazers_url":"https://api.github.com/repos/adobe/brackets/stargazers","contributors_url":"https://api.github.com/repos/adobe/brackets/contributors","subscribers_url":"https://api.github.com/repos/adobe/brackets/subscribers","subscription_url":"https://api.github.com/repos/adobe/brackets/subscription","commits_url":"https://api.github.com/repos/adobe/brackets/commits{/sha}","git_commits_url":"https://api.github.com/repos/adobe/brackets/git/commits{/sha}","comments_url":"https://api.github.com/repos/adobe/brackets/comments{/number}","issue_comment_url":"https://api.github.com/repos/adobe/brackets/issues/comments/{number}","contents_url":"https://api.github.com/repos/adobe/brackets/contents/{+path}","compare_url":"https://api.github.com/repos/adobe/brackets/compare/{base}...{head}","merges_url":"https://api.github.com/repos/adobe/brackets/merges","archive_url":"https://api.github.com/repos/adobe/brackets/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/adobe/brackets/downloads","issues_url":"https://api.github.com/repos/adobe/brackets/issues{/number}","pulls_url":"https://api.github.com/repos/adobe/brackets/pulls{/number}","milestones_url":"https://api.github.com/repos/adobe/brackets/milestones{/number}","notifications_url":"https://api.github.com/repos/adobe/brackets/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/adobe/brackets/labels{/name}","releases_url":"https://api.github.com/repos/adobe/brackets/releases{/id}","created_at":"2011-12-07T21:14:40Z","updated_at":"2014-01-10T20:42:09Z","pushed_at":"2014-01-10T20:42:09Z","git_url":"git://github.com/adobe/brackets.git","ssh_url":"git@github.com:adobe/brackets.git","clone_url":"https://github.com/adobe/brackets.git","svn_url":"https://github.com/adobe/brackets","homepage":"http://brackets.io","size":205046,"stargazers_count":13869,"watchers_count":13869,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":2801,"mirror_url":null,"open_issues_count":684,"forks":2801,"open_issues":684,"watchers":13869,"default_branch":"master","master_branch":"master"}},"base":{"label":"adobe:master","ref":"master","sha":"8b0df379fcc1c5c9c6eaa4fbac39dd5576992897","user":{"login":"adobe","id":476009,"avatar_url":"https://gravatar.com/avatar/cc40327f6f93a7b75207a152962d8dbe?d=https%3A%2F%2Fidenticons.github.com%2Fb388f007cd411941d8225ac4d11766a3.png&r=x","gravatar_id":"cc40327f6f93a7b75207a152962d8dbe","url":"https://api.github.com/users/adobe","html_url":"https://github.com/adobe","followers_url":"https://api.github.com/users/adobe/followers","following_url":"https://api.github.com/users/adobe/following{/other_user}","gists_url":"https://api.github.com/users/adobe/gists{/gist_id}","starred_url":"https://api.github.com/users/adobe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adobe/subscriptions","organizations_url":"https://api.github.com/users/adobe/orgs","repos_url":"https://api.github.com/users/adobe/repos","events_url":"https://api.github.com/users/adobe/events{/privacy}","received_events_url":"https://api.github.com/users/adobe/received_events","type":"Organization","site_admin":false},"repo":{"id":2935735,"name":"brackets","full_name":"adobe/brackets","owner":{"login":"adobe","id":476009,"avatar_url":"https://gravatar.com/avatar/cc40327f6f93a7b75207a152962d8dbe?d=https%3A%2F%2Fidenticons.github.com%2Fb388f007cd411941d8225ac4d11766a3.png&r=x","gravatar_id":"cc40327f6f93a7b75207a152962d8dbe","url":"https://api.github.com/users/adobe","html_url":"https://github.com/adobe","followers_url":"https://api.github.com/users/adobe/followers","following_url":"https://api.github.com/users/adobe/following{/other_user}","gists_url":"https://api.github.com/users/adobe/gists{/gist_id}","starred_url":"https://api.github.com/users/adobe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adobe/subscriptions","organizations_url":"https://api.github.com/users/adobe/orgs","repos_url":"https://api.github.com/users/adobe/repos","events_url":"https://api.github.com/users/adobe/events{/privacy}","received_events_url":"https://api.github.com/users/adobe/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/adobe/brackets","description":"An open source code editor for the web, written in JavaScript, HTML and CSS.","fork":false,"url":"https://api.github.com/repos/adobe/brackets","forks_url":"https://api.github.com/repos/adobe/brackets/forks","keys_url":"https://api.github.com/repos/adobe/brackets/keys{/key_id}","collaborators_url":"https://api.github.com/repos/adobe/brackets/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/adobe/brackets/teams","hooks_url":"https://api.github.com/repos/adobe/brackets/hooks","issue_events_url":"https://api.github.com/repos/adobe/brackets/issues/events{/number}","events_url":"https://api.github.com/repos/adobe/brackets/events","assignees_url":"https://api.github.com/repos/adobe/brackets/assignees{/user}","branches_url":"https://api.github.com/repos/adobe/brackets/branches{/branch}","tags_url":"https://api.github.com/repos/adobe/brackets/tags","blobs_url":"https://api.github.com/repos/adobe/brackets/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/adobe/brackets/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/adobe/brackets/git/refs{/sha}","trees_url":"https://api.github.com/repos/adobe/brackets/git/trees{/sha}","statuses_url":"https://api.github.com/repos/adobe/brackets/statuses/{sha}","languages_url":"https://api.github.com/repos/adobe/brackets/languages","stargazers_url":"https://api.github.com/repos/adobe/brackets/stargazers","contributors_url":"https://api.github.com/repos/adobe/brackets/contributors","subscribers_url":"https://api.github.com/repos/adobe/brackets/subscribers","subscription_url":"https://api.github.com/repos/adobe/brackets/subscription","commits_url":"https://api.github.com/repos/adobe/brackets/commits{/sha}","git_commits_url":"https://api.github.com/repos/adobe/brackets/git/commits{/sha}","comments_url":"https://api.github.com/repos/adobe/brackets/comments{/number}","issue_comment_url":"https://api.github.com/repos/adobe/brackets/issues/comments/{number}","contents_url":"https://api.github.com/repos/adobe/brackets/contents/{+path}","compare_url":"https://api.github.com/repos/adobe/brackets/compare/{base}...{head}","merges_url":"https://api.github.com/repos/adobe/brackets/merges","archive_url":"https://api.github.com/repos/adobe/brackets/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/adobe/brackets/downloads","issues_url":"https://api.github.com/repos/adobe/brackets/issues{/number}","pulls_url":"https://api.github.com/repos/adobe/brackets/pulls{/number}","milestones_url":"https://api.github.com/repos/adobe/brackets/milestones{/number}","notifications_url":"https://api.github.com/repos/adobe/brackets/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/adobe/brackets/labels{/name}","releases_url":"https://api.github.com/repos/adobe/brackets/releases{/id}","created_at":"2011-12-07T21:14:40Z","updated_at":"2014-01-10T20:42:09Z","pushed_at":"2014-01-10T20:42:09Z","git_url":"git://github.com/adobe/brackets.git","ssh_url":"git@github.com:adobe/brackets.git","clone_url":"https://github.com/adobe/brackets.git","svn_url":"https://github.com/adobe/brackets","homepage":"http://brackets.io","size":205046,"stargazers_count":13869,"watchers_count":13869,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":2801,"mirror_url":null,"open_issues_count":684,"forks":2801,"open_issues":684,"watchers":13869,"default_branch":"master","master_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/adobe/brackets/pulls/6467"},"html":{"href":"https://github.com/adobe/brackets/pull/6467"},"issue":{"href":"https://api.github.com/repos/adobe/brackets/issues/6467"},"comments":{"href":"https://api.github.com/repos/adobe/brackets/issues/6467/comments"},"review_comments":{"href":"https://api.github.com/repos/adobe/brackets/pulls/6467/comments"},"statuses":{"href":"https://api.github.com/repos/adobe/brackets/statuses/c6bd6437cf10d28d01625c23662b89a754838b0b"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"jasonsanjose","id":1148713,"avatar_url":"https://gravatar.com/avatar/4544d44dbacf43bf0fec172884bcafe2?d=https%3A%2F%2Fidenticons.github.com%2Fbb9568819bd38fe102b3ceda04428317.png&r=x","gravatar_id":"4544d44dbacf43bf0fec172884bcafe2","url":"https://api.github.com/users/jasonsanjose","html_url":"https://github.com/jasonsanjose","followers_url":"https://api.github.com/users/jasonsanjose/followers","following_url":"https://api.github.com/users/jasonsanjose/following{/other_user}","gists_url":"https://api.github.com/users/jasonsanjose/gists{/gist_id}","starred_url":"https://api.github.com/users/jasonsanjose/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jasonsanjose/subscriptions","organizations_url":"https://api.github.com/users/jasonsanjose/orgs","repos_url":"https://api.github.com/users/jasonsanjose/repos","events_url":"https://api.github.com/users/jasonsanjose/events{/privacy}","received_events_url":"https://api.github.com/users/jasonsanjose/received_events","type":"User","site_admin":false},"comments":2,"review_comments":0,"commits":1,"additions":15,"deletions":16,"changed_files":1}}