{"action":"opened","number":15,"pull_request":{"url":"https://api.github.com/repos/js-padavan/atom-enhanced-tabs/pulls/15","id":43134300,"html_url":"https://github.com/js-padavan/atom-enhanced-tabs/pull/15","diff_url":"https://github.com/js-padavan/atom-enhanced-tabs/pull/15.diff","patch_url":"https://github.com/js-padavan/atom-enhanced-tabs/pull/15.patch","issue_url":"https://api.github.com/repos/js-padavan/atom-enhanced-tabs/issues/15","number":15,"state":"open","locked":false,"title":"Fixed logic for click event","user":{"login":"StefanoDalpiaz","id":10583213,"avatar_url":"https://avatars.githubusercontent.com/u/10583213?v=3","gravatar_id":"","url":"https://api.github.com/users/StefanoDalpiaz","html_url":"https://github.com/StefanoDalpiaz","followers_url":"https://api.github.com/users/StefanoDalpiaz/followers","following_url":"https://api.github.com/users/StefanoDalpiaz/following{/other_user}","gists_url":"https://api.github.com/users/StefanoDalpiaz/gists{/gist_id}","starred_url":"https://api.github.com/users/StefanoDalpiaz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StefanoDalpiaz/subscriptions","organizations_url":"https://api.github.com/users/StefanoDalpiaz/orgs","repos_url":"https://api.github.com/users/StefanoDalpiaz/repos","events_url":"https://api.github.com/users/StefanoDalpiaz/events{/privacy}","received_events_url":"https://api.github.com/users/StefanoDalpiaz/received_events","type":"User","site_admin":false},"body":"Hi, I have made a simple fix for when you click on an item on the list.\r\n\r\nIn the current package, whenever you Ctrl-Tab to open the file list and click on an item down on the list, the editor always opens the first item in the list, instead of the one that you clicked. This is happening because the click handler only sets the DOM element as highlighted, but without updating the curIndex.\r\n\r\nMy fix is to add a simple function that searches for the item that corresponds to the clicked element, so that the click event handler can call this function and set the curIndex variable accordingly.","created_at":"2015-08-24T02:01:11Z","updated_at":"2015-08-24T02:01:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/js-padavan/atom-enhanced-tabs/pulls/15/commits","review_comments_url":"https://api.github.com/repos/js-padavan/atom-enhanced-tabs/pulls/15/comments","review_comment_url":"https://api.github.com/repos/js-padavan/atom-enhanced-tabs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/js-padavan/atom-enhanced-tabs/issues/15/comments","statuses_url":"https://api.github.com/repos/js-padavan/atom-enhanced-tabs/statuses/e5bcfbc8c6803422b6c0e97599bb8e4cc3daf6d7","head":{"label":"StefanoDalpiaz:click-event","ref":"click-event","sha":"e5bcfbc8c6803422b6c0e97599bb8e4cc3daf6d7","user":{"login":"StefanoDalpiaz","id":10583213,"avatar_url":"https://avatars.githubusercontent.com/u/10583213?v=3","gravatar_id":"","url":"https://api.github.com/users/StefanoDalpiaz","html_url":"https://github.com/StefanoDalpiaz","followers_url":"https://api.github.com/users/StefanoDalpiaz/followers","following_url":"https://api.github.com/users/StefanoDalpiaz/following{/other_user}","gists_url":"https://api.github.com/users/StefanoDalpiaz/gists{/gist_id}","starred_url":"https://api.github.com/users/StefanoDalpiaz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StefanoDalpiaz/subscriptions","organizations_url":"https://api.github.com/users/StefanoDalpiaz/orgs","repos_url":"https://api.github.com/users/StefanoDalpiaz/repos","events_url":"https://api.github.com/users/StefanoDalpiaz/events{/privacy}","received_events_url":"https://api.github.com/users/StefanoDalpiaz/received_events","type":"User","site_admin":false},"repo":{"id":41275647,"name":"atom-enhanced-tabs","full_name":"StefanoDalpiaz/atom-enhanced-tabs","owner":{"login":"StefanoDalpiaz","id":10583213,"avatar_url":"https://avatars.githubusercontent.com/u/10583213?v=3","gravatar_id":"","url":"https://api.github.com/users/StefanoDalpiaz","html_url":"https://github.com/StefanoDalpiaz","followers_url":"https://api.github.com/users/StefanoDalpiaz/followers","following_url":"https://api.github.com/users/StefanoDalpiaz/following{/other_user}","gists_url":"https://api.github.com/users/StefanoDalpiaz/gists{/gist_id}","starred_url":"https://api.github.com/users/StefanoDalpiaz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StefanoDalpiaz/subscriptions","organizations_url":"https://api.github.com/users/StefanoDalpiaz/orgs","repos_url":"https://api.github.com/users/StefanoDalpiaz/repos","events_url":"https://api.github.com/users/StefanoDalpiaz/events{/privacy}","received_events_url":"https://api.github.com/users/StefanoDalpiaz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/StefanoDalpiaz/atom-enhanced-tabs","description":"changes tab switching atom behavior","fork":true,"url":"https://api.github.com/repos/StefanoDalpiaz/atom-enhanced-tabs","forks_url":"https://api.github.com/repos/StefanoDalpiaz/atom-enhanced-tabs/forks","keys_url":"https://api.github.com/repos/StefanoDalpiaz/atom-enhanced-tabs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/StefanoDalpiaz/atom-enhanced-tabs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/StefanoDalpiaz/atom-enhanced-tabs/teams","hooks_url":"https://api.github.com/repos/StefanoDalpiaz/atom-enhanced-tabs/hooks","issue_events_url":"https://api.github.com/repos/StefanoDalpiaz/atom-enhanced-tabs/issues/events{/number}","events_url":"https://api.github.com/repos/StefanoDalpiaz/atom-enhanced-tabs/events","assignees_url":"https://api.github.com/repos/StefanoDalpiaz/atom-enhanced-tabs/assignees{/user}","branches_url":"https://api.github.com/repos/StefanoDalpiaz/atom-enhanced-tabs/branches{/branch}","tags_url":"https://api.github.com/repos/StefanoDalpiaz/atom-enhanced-tabs/tags","blobs_url":"https://api.github.com/repos/StefanoDalpiaz/atom-enhanced-tabs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/StefanoDalpiaz/atom-enhanced-tabs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/StefanoDalpiaz/atom-enhanced-tabs/git/refs{/sha}","trees_url":"https://api.github.com/repos/StefanoDalpiaz/atom-enhanced-tabs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/StefanoDalpiaz/atom-enhanced-tabs/statuses/{sha}","languages_url":"https://api.github.com/repos/StefanoDalpiaz/atom-enhanced-tabs/languages","stargazers_url":"https://api.github.com/repos/StefanoDalpiaz/atom-enhanced-tabs/stargazers","contributors_url":"https://api.github.com/repos/StefanoDalpiaz/atom-enhanced-tabs/contributors","subscribers_url":"https://api.github.com/repos/StefanoDalpiaz/atom-enhanced-tabs/subscribers","subscription_url":"https://api.github.com/repos/StefanoDalpiaz/atom-enhanced-tabs/subscription","commits_url":"https://api.github.com/repos/StefanoDalpiaz/atom-enhanced-tabs/commits{/sha}","git_commits_url":"https://api.github.com/repos/StefanoDalpiaz/atom-enhanced-tabs/git/commits{/sha}","comments_url":"https://api.github.com/repos/StefanoDalpiaz/atom-enhanced-tabs/comments{/number}","issue_comment_url":"https://api.github.com/repos/StefanoDalpiaz/atom-enhanced-tabs/issues/comments{/number}","contents_url":"https://api.github.com/repos/StefanoDalpiaz/atom-enhanced-tabs/contents/{+path}","compare_url":"https://api.github.com/repos/StefanoDalpiaz/atom-enhanced-tabs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/StefanoDalpiaz/atom-enhanced-tabs/merges","archive_url":"https://api.github.com/repos/StefanoDalpiaz/atom-enhanced-tabs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/StefanoDalpiaz/atom-enhanced-tabs/downloads","issues_url":"https://api.github.com/repos/StefanoDalpiaz/atom-enhanced-tabs/issues{/number}","pulls_url":"https://api.github.com/repos/StefanoDalpiaz/atom-enhanced-tabs/pulls{/number}","milestones_url":"https://api.github.com/repos/StefanoDalpiaz/atom-enhanced-tabs/milestones{/number}","notifications_url":"https://api.github.com/repos/StefanoDalpiaz/atom-enhanced-tabs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/StefanoDalpiaz/atom-enhanced-tabs/labels{/name}","releases_url":"https://api.github.com/repos/StefanoDalpiaz/atom-enhanced-tabs/releases{/id}","created_at":"2015-08-24T01:44:54Z","updated_at":"2015-08-24T01:44:54Z","pushed_at":"2015-08-24T01:54:29Z","git_url":"git://github.com/StefanoDalpiaz/atom-enhanced-tabs.git","ssh_url":"git@github.com:StefanoDalpiaz/atom-enhanced-tabs.git","clone_url":"https://github.com/StefanoDalpiaz/atom-enhanced-tabs.git","svn_url":"https://github.com/StefanoDalpiaz/atom-enhanced-tabs","homepage":null,"size":221,"stargazers_count":0,"watchers_count":0,"language":"CoffeeScript","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":"js-padavan:master","ref":"master","sha":"1eb054a330fe23959c96946378a99513be0a2123","user":{"login":"js-padavan","id":5073932,"avatar_url":"https://avatars.githubusercontent.com/u/5073932?v=3","gravatar_id":"","url":"https://api.github.com/users/js-padavan","html_url":"https://github.com/js-padavan","followers_url":"https://api.github.com/users/js-padavan/followers","following_url":"https://api.github.com/users/js-padavan/following{/other_user}","gists_url":"https://api.github.com/users/js-padavan/gists{/gist_id}","starred_url":"https://api.github.com/users/js-padavan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/js-padavan/subscriptions","organizations_url":"https://api.github.com/users/js-padavan/orgs","repos_url":"https://api.github.com/users/js-padavan/repos","events_url":"https://api.github.com/users/js-padavan/events{/privacy}","received_events_url":"https://api.github.com/users/js-padavan/received_events","type":"User","site_admin":false},"repo":{"id":29472918,"name":"atom-enhanced-tabs","full_name":"js-padavan/atom-enhanced-tabs","owner":{"login":"js-padavan","id":5073932,"avatar_url":"https://avatars.githubusercontent.com/u/5073932?v=3","gravatar_id":"","url":"https://api.github.com/users/js-padavan","html_url":"https://github.com/js-padavan","followers_url":"https://api.github.com/users/js-padavan/followers","following_url":"https://api.github.com/users/js-padavan/following{/other_user}","gists_url":"https://api.github.com/users/js-padavan/gists{/gist_id}","starred_url":"https://api.github.com/users/js-padavan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/js-padavan/subscriptions","organizations_url":"https://api.github.com/users/js-padavan/orgs","repos_url":"https://api.github.com/users/js-padavan/repos","events_url":"https://api.github.com/users/js-padavan/events{/privacy}","received_events_url":"https://api.github.com/users/js-padavan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/js-padavan/atom-enhanced-tabs","description":"changes tab switching atom behavior","fork":false,"url":"https://api.github.com/repos/js-padavan/atom-enhanced-tabs","forks_url":"https://api.github.com/repos/js-padavan/atom-enhanced-tabs/forks","keys_url":"https://api.github.com/repos/js-padavan/atom-enhanced-tabs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/js-padavan/atom-enhanced-tabs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/js-padavan/atom-enhanced-tabs/teams","hooks_url":"https://api.github.com/repos/js-padavan/atom-enhanced-tabs/hooks","issue_events_url":"https://api.github.com/repos/js-padavan/atom-enhanced-tabs/issues/events{/number}","events_url":"https://api.github.com/repos/js-padavan/atom-enhanced-tabs/events","assignees_url":"https://api.github.com/repos/js-padavan/atom-enhanced-tabs/assignees{/user}","branches_url":"https://api.github.com/repos/js-padavan/atom-enhanced-tabs/branches{/branch}","tags_url":"https://api.github.com/repos/js-padavan/atom-enhanced-tabs/tags","blobs_url":"https://api.github.com/repos/js-padavan/atom-enhanced-tabs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/js-padavan/atom-enhanced-tabs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/js-padavan/atom-enhanced-tabs/git/refs{/sha}","trees_url":"https://api.github.com/repos/js-padavan/atom-enhanced-tabs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/js-padavan/atom-enhanced-tabs/statuses/{sha}","languages_url":"https://api.github.com/repos/js-padavan/atom-enhanced-tabs/languages","stargazers_url":"https://api.github.com/repos/js-padavan/atom-enhanced-tabs/stargazers","contributors_url":"https://api.github.com/repos/js-padavan/atom-enhanced-tabs/contributors","subscribers_url":"https://api.github.com/repos/js-padavan/atom-enhanced-tabs/subscribers","subscription_url":"https://api.github.com/repos/js-padavan/atom-enhanced-tabs/subscription","commits_url":"https://api.github.com/repos/js-padavan/atom-enhanced-tabs/commits{/sha}","git_commits_url":"https://api.github.com/repos/js-padavan/atom-enhanced-tabs/git/commits{/sha}","comments_url":"https://api.github.com/repos/js-padavan/atom-enhanced-tabs/comments{/number}","issue_comment_url":"https://api.github.com/repos/js-padavan/atom-enhanced-tabs/issues/comments{/number}","contents_url":"https://api.github.com/repos/js-padavan/atom-enhanced-tabs/contents/{+path}","compare_url":"https://api.github.com/repos/js-padavan/atom-enhanced-tabs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/js-padavan/atom-enhanced-tabs/merges","archive_url":"https://api.github.com/repos/js-padavan/atom-enhanced-tabs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/js-padavan/atom-enhanced-tabs/downloads","issues_url":"https://api.github.com/repos/js-padavan/atom-enhanced-tabs/issues{/number}","pulls_url":"https://api.github.com/repos/js-padavan/atom-enhanced-tabs/pulls{/number}","milestones_url":"https://api.github.com/repos/js-padavan/atom-enhanced-tabs/milestones{/number}","notifications_url":"https://api.github.com/repos/js-padavan/atom-enhanced-tabs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/js-padavan/atom-enhanced-tabs/labels{/name}","releases_url":"https://api.github.com/repos/js-padavan/atom-enhanced-tabs/releases{/id}","created_at":"2015-01-19T13:48:38Z","updated_at":"2015-05-28T18:54:44Z","pushed_at":"2015-08-22T14:28:59Z","git_url":"git://github.com/js-padavan/atom-enhanced-tabs.git","ssh_url":"git@github.com:js-padavan/atom-enhanced-tabs.git","clone_url":"https://github.com/js-padavan/atom-enhanced-tabs.git","svn_url":"https://github.com/js-padavan/atom-enhanced-tabs","homepage":null,"size":221,"stargazers_count":2,"watchers_count":2,"language":"CoffeeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":8,"forks":3,"open_issues":8,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/js-padavan/atom-enhanced-tabs/pulls/15"},"html":{"href":"https://github.com/js-padavan/atom-enhanced-tabs/pull/15"},"issue":{"href":"https://api.github.com/repos/js-padavan/atom-enhanced-tabs/issues/15"},"comments":{"href":"https://api.github.com/repos/js-padavan/atom-enhanced-tabs/issues/15/comments"},"review_comments":{"href":"https://api.github.com/repos/js-padavan/atom-enhanced-tabs/pulls/15/comments"},"review_comment":{"href":"https://api.github.com/repos/js-padavan/atom-enhanced-tabs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/js-padavan/atom-enhanced-tabs/pulls/15/commits"},"statuses":{"href":"https://api.github.com/repos/js-padavan/atom-enhanced-tabs/statuses/e5bcfbc8c6803422b6c0e97599bb8e4cc3daf6d7"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":17,"deletions":1,"changed_files":1}}