{"action":"created","comment":{"url":"https://api.github.com/repos/kylestetz/CLNDR/pulls/comments/69550295","id":69550295,"diff_hunk":"@@ -874,9 +874,8 @@\n                 self.options.selectedDate =\n                     self.getTargetDateString(event.currentTarget);\n                 // Handle \"selected\" class\n-                $currentTarget\n-                    .siblings().removeClass(classes.selected).end()\n-                    .addClass(classes.selected);\n+                $container.find('.' + classes.selected).removeClass(classes.selected);\n+                $currentTarget.addClass(classes.selected);","path":"src/clndr.js","position":8,"original_position":8,"commit_id":"27c189d47a0af4e522f89810cfdda5aea6959136","original_commit_id":"27c189d47a0af4e522f89810cfdda5aea6959136","user":{"login":"mikegioia","id":387937,"avatar_url":"https://avatars.githubusercontent.com/u/387937?v=3","gravatar_id":"","url":"https://api.github.com/users/mikegioia","html_url":"https://github.com/mikegioia","followers_url":"https://api.github.com/users/mikegioia/followers","following_url":"https://api.github.com/users/mikegioia/following{/other_user}","gists_url":"https://api.github.com/users/mikegioia/gists{/gist_id}","starred_url":"https://api.github.com/users/mikegioia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikegioia/subscriptions","organizations_url":"https://api.github.com/users/mikegioia/orgs","repos_url":"https://api.github.com/users/mikegioia/repos","events_url":"https://api.github.com/users/mikegioia/events{/privacy}","received_events_url":"https://api.github.com/users/mikegioia/received_events","type":"User","site_admin":false},"body":"Thanks @pkostic, could you explain the difference / need to use container.find vs. the siblings call?","created_at":"2016-07-05T11:58:10Z","updated_at":"2016-07-05T11:58:10Z","html_url":"https://github.com/kylestetz/CLNDR/pull/271#discussion_r69550295","pull_request_url":"https://api.github.com/repos/kylestetz/CLNDR/pulls/271","_links":{"self":{"href":"https://api.github.com/repos/kylestetz/CLNDR/pulls/comments/69550295"},"html":{"href":"https://github.com/kylestetz/CLNDR/pull/271#discussion_r69550295"},"pull_request":{"href":"https://api.github.com/repos/kylestetz/CLNDR/pulls/271"}}},"pull_request":{"url":"https://api.github.com/repos/kylestetz/CLNDR/pulls/271","id":76260910,"html_url":"https://github.com/kylestetz/CLNDR/pull/271","diff_url":"https://github.com/kylestetz/CLNDR/pull/271.diff","patch_url":"https://github.com/kylestetz/CLNDR/pull/271.patch","issue_url":"https://api.github.com/repos/kylestetz/CLNDR/issues/271","number":271,"state":"open","locked":false,"title":"Handle selected class fix","user":{"login":"pkostic","id":5529283,"avatar_url":"https://avatars.githubusercontent.com/u/5529283?v=3","gravatar_id":"","url":"https://api.github.com/users/pkostic","html_url":"https://github.com/pkostic","followers_url":"https://api.github.com/users/pkostic/followers","following_url":"https://api.github.com/users/pkostic/following{/other_user}","gists_url":"https://api.github.com/users/pkostic/gists{/gist_id}","starred_url":"https://api.github.com/users/pkostic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pkostic/subscriptions","organizations_url":"https://api.github.com/users/pkostic/orgs","repos_url":"https://api.github.com/users/pkostic/repos","events_url":"https://api.github.com/users/pkostic/events{/privacy}","received_events_url":"https://api.github.com/users/pkostic/received_events","type":"User","site_admin":false},"body":"Fix handling \"selected\" class to update complex templates","created_at":"2016-07-05T11:51:58Z","updated_at":"2016-07-05T11:58:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":"07e2ae53f7c7974ad26e69b7de1641e55ab1e34a","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/kylestetz/CLNDR/pulls/271/commits","review_comments_url":"https://api.github.com/repos/kylestetz/CLNDR/pulls/271/comments","review_comment_url":"https://api.github.com/repos/kylestetz/CLNDR/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kylestetz/CLNDR/issues/271/comments","statuses_url":"https://api.github.com/repos/kylestetz/CLNDR/statuses/27c189d47a0af4e522f89810cfdda5aea6959136","head":{"label":"pkostic:handle-selected-class-fix","ref":"handle-selected-class-fix","sha":"27c189d47a0af4e522f89810cfdda5aea6959136","user":{"login":"pkostic","id":5529283,"avatar_url":"https://avatars.githubusercontent.com/u/5529283?v=3","gravatar_id":"","url":"https://api.github.com/users/pkostic","html_url":"https://github.com/pkostic","followers_url":"https://api.github.com/users/pkostic/followers","following_url":"https://api.github.com/users/pkostic/following{/other_user}","gists_url":"https://api.github.com/users/pkostic/gists{/gist_id}","starred_url":"https://api.github.com/users/pkostic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pkostic/subscriptions","organizations_url":"https://api.github.com/users/pkostic/orgs","repos_url":"https://api.github.com/users/pkostic/repos","events_url":"https://api.github.com/users/pkostic/events{/privacy}","received_events_url":"https://api.github.com/users/pkostic/received_events","type":"User","site_admin":false},"repo":{"id":62629067,"name":"CLNDR","full_name":"pkostic/CLNDR","owner":{"login":"pkostic","id":5529283,"avatar_url":"https://avatars.githubusercontent.com/u/5529283?v=3","gravatar_id":"","url":"https://api.github.com/users/pkostic","html_url":"https://github.com/pkostic","followers_url":"https://api.github.com/users/pkostic/followers","following_url":"https://api.github.com/users/pkostic/following{/other_user}","gists_url":"https://api.github.com/users/pkostic/gists{/gist_id}","starred_url":"https://api.github.com/users/pkostic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pkostic/subscriptions","organizations_url":"https://api.github.com/users/pkostic/orgs","repos_url":"https://api.github.com/users/pkostic/repos","events_url":"https://api.github.com/users/pkostic/events{/privacy}","received_events_url":"https://api.github.com/users/pkostic/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pkostic/CLNDR","description":":calendar: a jQuery calendar plugin that uses HTML templates","fork":true,"url":"https://api.github.com/repos/pkostic/CLNDR","forks_url":"https://api.github.com/repos/pkostic/CLNDR/forks","keys_url":"https://api.github.com/repos/pkostic/CLNDR/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pkostic/CLNDR/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pkostic/CLNDR/teams","hooks_url":"https://api.github.com/repos/pkostic/CLNDR/hooks","issue_events_url":"https://api.github.com/repos/pkostic/CLNDR/issues/events{/number}","events_url":"https://api.github.com/repos/pkostic/CLNDR/events","assignees_url":"https://api.github.com/repos/pkostic/CLNDR/assignees{/user}","branches_url":"https://api.github.com/repos/pkostic/CLNDR/branches{/branch}","tags_url":"https://api.github.com/repos/pkostic/CLNDR/tags","blobs_url":"https://api.github.com/repos/pkostic/CLNDR/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pkostic/CLNDR/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pkostic/CLNDR/git/refs{/sha}","trees_url":"https://api.github.com/repos/pkostic/CLNDR/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pkostic/CLNDR/statuses/{sha}","languages_url":"https://api.github.com/repos/pkostic/CLNDR/languages","stargazers_url":"https://api.github.com/repos/pkostic/CLNDR/stargazers","contributors_url":"https://api.github.com/repos/pkostic/CLNDR/contributors","subscribers_url":"https://api.github.com/repos/pkostic/CLNDR/subscribers","subscription_url":"https://api.github.com/repos/pkostic/CLNDR/subscription","commits_url":"https://api.github.com/repos/pkostic/CLNDR/commits{/sha}","git_commits_url":"https://api.github.com/repos/pkostic/CLNDR/git/commits{/sha}","comments_url":"https://api.github.com/repos/pkostic/CLNDR/comments{/number}","issue_comment_url":"https://api.github.com/repos/pkostic/CLNDR/issues/comments{/number}","contents_url":"https://api.github.com/repos/pkostic/CLNDR/contents/{+path}","compare_url":"https://api.github.com/repos/pkostic/CLNDR/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pkostic/CLNDR/merges","archive_url":"https://api.github.com/repos/pkostic/CLNDR/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pkostic/CLNDR/downloads","issues_url":"https://api.github.com/repos/pkostic/CLNDR/issues{/number}","pulls_url":"https://api.github.com/repos/pkostic/CLNDR/pulls{/number}","milestones_url":"https://api.github.com/repos/pkostic/CLNDR/milestones{/number}","notifications_url":"https://api.github.com/repos/pkostic/CLNDR/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pkostic/CLNDR/labels{/name}","releases_url":"https://api.github.com/repos/pkostic/CLNDR/releases{/id}","deployments_url":"https://api.github.com/repos/pkostic/CLNDR/deployments","created_at":"2016-07-05T10:44:12Z","updated_at":"2016-07-05T10:44:13Z","pushed_at":"2016-07-05T11:49:58Z","git_url":"git://github.com/pkostic/CLNDR.git","ssh_url":"git@github.com:pkostic/CLNDR.git","clone_url":"https://github.com/pkostic/CLNDR.git","svn_url":"https://github.com/pkostic/CLNDR","homepage":"http://kylestetz.github.io/CLNDR/","size":1060,"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":"kylestetz:master","ref":"master","sha":"89fca9d4faeca4f0501b94d462c2dccc673ca0cd","user":{"login":"kylestetz","id":2008156,"avatar_url":"https://avatars.githubusercontent.com/u/2008156?v=3","gravatar_id":"","url":"https://api.github.com/users/kylestetz","html_url":"https://github.com/kylestetz","followers_url":"https://api.github.com/users/kylestetz/followers","following_url":"https://api.github.com/users/kylestetz/following{/other_user}","gists_url":"https://api.github.com/users/kylestetz/gists{/gist_id}","starred_url":"https://api.github.com/users/kylestetz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kylestetz/subscriptions","organizations_url":"https://api.github.com/users/kylestetz/orgs","repos_url":"https://api.github.com/users/kylestetz/repos","events_url":"https://api.github.com/users/kylestetz/events{/privacy}","received_events_url":"https://api.github.com/users/kylestetz/received_events","type":"User","site_admin":false},"repo":{"id":10371644,"name":"CLNDR","full_name":"kylestetz/CLNDR","owner":{"login":"kylestetz","id":2008156,"avatar_url":"https://avatars.githubusercontent.com/u/2008156?v=3","gravatar_id":"","url":"https://api.github.com/users/kylestetz","html_url":"https://github.com/kylestetz","followers_url":"https://api.github.com/users/kylestetz/followers","following_url":"https://api.github.com/users/kylestetz/following{/other_user}","gists_url":"https://api.github.com/users/kylestetz/gists{/gist_id}","starred_url":"https://api.github.com/users/kylestetz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kylestetz/subscriptions","organizations_url":"https://api.github.com/users/kylestetz/orgs","repos_url":"https://api.github.com/users/kylestetz/repos","events_url":"https://api.github.com/users/kylestetz/events{/privacy}","received_events_url":"https://api.github.com/users/kylestetz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kylestetz/CLNDR","description":":calendar: a jQuery calendar plugin that uses HTML templates","fork":false,"url":"https://api.github.com/repos/kylestetz/CLNDR","forks_url":"https://api.github.com/repos/kylestetz/CLNDR/forks","keys_url":"https://api.github.com/repos/kylestetz/CLNDR/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kylestetz/CLNDR/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kylestetz/CLNDR/teams","hooks_url":"https://api.github.com/repos/kylestetz/CLNDR/hooks","issue_events_url":"https://api.github.com/repos/kylestetz/CLNDR/issues/events{/number}","events_url":"https://api.github.com/repos/kylestetz/CLNDR/events","assignees_url":"https://api.github.com/repos/kylestetz/CLNDR/assignees{/user}","branches_url":"https://api.github.com/repos/kylestetz/CLNDR/branches{/branch}","tags_url":"https://api.github.com/repos/kylestetz/CLNDR/tags","blobs_url":"https://api.github.com/repos/kylestetz/CLNDR/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kylestetz/CLNDR/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kylestetz/CLNDR/git/refs{/sha}","trees_url":"https://api.github.com/repos/kylestetz/CLNDR/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kylestetz/CLNDR/statuses/{sha}","languages_url":"https://api.github.com/repos/kylestetz/CLNDR/languages","stargazers_url":"https://api.github.com/repos/kylestetz/CLNDR/stargazers","contributors_url":"https://api.github.com/repos/kylestetz/CLNDR/contributors","subscribers_url":"https://api.github.com/repos/kylestetz/CLNDR/subscribers","subscription_url":"https://api.github.com/repos/kylestetz/CLNDR/subscription","commits_url":"https://api.github.com/repos/kylestetz/CLNDR/commits{/sha}","git_commits_url":"https://api.github.com/repos/kylestetz/CLNDR/git/commits{/sha}","comments_url":"https://api.github.com/repos/kylestetz/CLNDR/comments{/number}","issue_comment_url":"https://api.github.com/repos/kylestetz/CLNDR/issues/comments{/number}","contents_url":"https://api.github.com/repos/kylestetz/CLNDR/contents/{+path}","compare_url":"https://api.github.com/repos/kylestetz/CLNDR/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kylestetz/CLNDR/merges","archive_url":"https://api.github.com/repos/kylestetz/CLNDR/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kylestetz/CLNDR/downloads","issues_url":"https://api.github.com/repos/kylestetz/CLNDR/issues{/number}","pulls_url":"https://api.github.com/repos/kylestetz/CLNDR/pulls{/number}","milestones_url":"https://api.github.com/repos/kylestetz/CLNDR/milestones{/number}","notifications_url":"https://api.github.com/repos/kylestetz/CLNDR/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kylestetz/CLNDR/labels{/name}","releases_url":"https://api.github.com/repos/kylestetz/CLNDR/releases{/id}","deployments_url":"https://api.github.com/repos/kylestetz/CLNDR/deployments","created_at":"2013-05-29T23:40:25Z","updated_at":"2016-07-05T05:41:10Z","pushed_at":"2016-07-05T11:51:58Z","git_url":"git://github.com/kylestetz/CLNDR.git","ssh_url":"git@github.com:kylestetz/CLNDR.git","clone_url":"https://github.com/kylestetz/CLNDR.git","svn_url":"https://github.com/kylestetz/CLNDR","homepage":"http://kylestetz.github.io/CLNDR/","size":1060,"stargazers_count":2366,"watchers_count":2366,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":372,"mirror_url":null,"open_issues_count":4,"forks":372,"open_issues":4,"watchers":2366,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kylestetz/CLNDR/pulls/271"},"html":{"href":"https://github.com/kylestetz/CLNDR/pull/271"},"issue":{"href":"https://api.github.com/repos/kylestetz/CLNDR/issues/271"},"comments":{"href":"https://api.github.com/repos/kylestetz/CLNDR/issues/271/comments"},"review_comments":{"href":"https://api.github.com/repos/kylestetz/CLNDR/pulls/271/comments"},"review_comment":{"href":"https://api.github.com/repos/kylestetz/CLNDR/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kylestetz/CLNDR/pulls/271/commits"},"statuses":{"href":"https://api.github.com/repos/kylestetz/CLNDR/statuses/27c189d47a0af4e522f89810cfdda5aea6959136"}}}}
{"actor":{"display_login":"mikegioia"}}