{"action":"created","comment":{"url":"https://api.github.com/repos/improvi/slack-chat/pulls/comments/71758360","id":71758360,"diff_hunk":"@@ -397,17 +397,19 @@\n \t\t\t\t\t\t}\n \t\t\t\t\t}\n \t\t\t\t}\n-\t\t\t});\t\t\t\n+\t\t\t});\n \t\t},\n \n \t\tdestroy: function ($elem) {\n \t\t\t$($elem).unbind('click');\n \n+\t\t\t$(window.slackChat).unbind('click');","path":"js/slack-chat.js","position":140,"original_position":140,"commit_id":"ddb437a860e54935210652a80519d88f423effa1","original_commit_id":"ddb437a860e54935210652a80519d88f423effa1","user":{"login":"Jflinchum","id":8284109,"avatar_url":"https://avatars.githubusercontent.com/u/8284109?v=3","gravatar_id":"","url":"https://api.github.com/users/Jflinchum","html_url":"https://github.com/Jflinchum","followers_url":"https://api.github.com/users/Jflinchum/followers","following_url":"https://api.github.com/users/Jflinchum/following{/other_user}","gists_url":"https://api.github.com/users/Jflinchum/gists{/gist_id}","starred_url":"https://api.github.com/users/Jflinchum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jflinchum/subscriptions","organizations_url":"https://api.github.com/users/Jflinchum/orgs","repos_url":"https://api.github.com/users/Jflinchum/repos","events_url":"https://api.github.com/users/Jflinchum/events{/privacy}","received_events_url":"https://api.github.com/users/Jflinchum/received_events","type":"User","site_admin":false},"body":"code change here","created_at":"2016-07-21T18:17:01Z","updated_at":"2016-07-21T18:17:01Z","html_url":"https://github.com/improvi/slack-chat/pull/18#discussion_r71758360","pull_request_url":"https://api.github.com/repos/improvi/slack-chat/pulls/18","_links":{"self":{"href":"https://api.github.com/repos/improvi/slack-chat/pulls/comments/71758360"},"html":{"href":"https://github.com/improvi/slack-chat/pull/18#discussion_r71758360"},"pull_request":{"href":"https://api.github.com/repos/improvi/slack-chat/pulls/18"}}},"pull_request":{"url":"https://api.github.com/repos/improvi/slack-chat/pulls/18","id":78356576,"html_url":"https://github.com/improvi/slack-chat/pull/18","diff_url":"https://github.com/improvi/slack-chat/pull/18.diff","patch_url":"https://github.com/improvi/slack-chat/pull/18.patch","issue_url":"https://api.github.com/repos/improvi/slack-chat/issues/18","number":18,"state":"open","locked":false,"title":"Unbinded extra click event on destroy function","user":{"login":"Jflinchum","id":8284109,"avatar_url":"https://avatars.githubusercontent.com/u/8284109?v=3","gravatar_id":"","url":"https://api.github.com/users/Jflinchum","html_url":"https://github.com/Jflinchum","followers_url":"https://api.github.com/users/Jflinchum/followers","following_url":"https://api.github.com/users/Jflinchum/following{/other_user}","gists_url":"https://api.github.com/users/Jflinchum/gists{/gist_id}","starred_url":"https://api.github.com/users/Jflinchum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jflinchum/subscriptions","organizations_url":"https://api.github.com/users/Jflinchum/orgs","repos_url":"https://api.github.com/users/Jflinchum/repos","events_url":"https://api.github.com/users/Jflinchum/events{/privacy}","received_events_url":"https://api.github.com/users/Jflinchum/received_events","type":"User","site_admin":false},"body":"* Removed extra white space\r\n* Unbinded click event on destroy function for `window.slackChat`\r\n","created_at":"2016-07-21T17:36:06Z","updated_at":"2016-07-21T18:17:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8519291808346526bc0e66e6835aacfc7c329f6c","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/improvi/slack-chat/pulls/18/commits","review_comments_url":"https://api.github.com/repos/improvi/slack-chat/pulls/18/comments","review_comment_url":"https://api.github.com/repos/improvi/slack-chat/pulls/comments{/number}","comments_url":"https://api.github.com/repos/improvi/slack-chat/issues/18/comments","statuses_url":"https://api.github.com/repos/improvi/slack-chat/statuses/ddb437a860e54935210652a80519d88f423effa1","head":{"label":"Jflinchum:master","ref":"master","sha":"ddb437a860e54935210652a80519d88f423effa1","user":{"login":"Jflinchum","id":8284109,"avatar_url":"https://avatars.githubusercontent.com/u/8284109?v=3","gravatar_id":"","url":"https://api.github.com/users/Jflinchum","html_url":"https://github.com/Jflinchum","followers_url":"https://api.github.com/users/Jflinchum/followers","following_url":"https://api.github.com/users/Jflinchum/following{/other_user}","gists_url":"https://api.github.com/users/Jflinchum/gists{/gist_id}","starred_url":"https://api.github.com/users/Jflinchum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jflinchum/subscriptions","organizations_url":"https://api.github.com/users/Jflinchum/orgs","repos_url":"https://api.github.com/users/Jflinchum/repos","events_url":"https://api.github.com/users/Jflinchum/events{/privacy}","received_events_url":"https://api.github.com/users/Jflinchum/received_events","type":"User","site_admin":false},"repo":{"id":63889006,"name":"slack-chat","full_name":"Jflinchum/slack-chat","owner":{"login":"Jflinchum","id":8284109,"avatar_url":"https://avatars.githubusercontent.com/u/8284109?v=3","gravatar_id":"","url":"https://api.github.com/users/Jflinchum","html_url":"https://github.com/Jflinchum","followers_url":"https://api.github.com/users/Jflinchum/followers","following_url":"https://api.github.com/users/Jflinchum/following{/other_user}","gists_url":"https://api.github.com/users/Jflinchum/gists{/gist_id}","starred_url":"https://api.github.com/users/Jflinchum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jflinchum/subscriptions","organizations_url":"https://api.github.com/users/Jflinchum/orgs","repos_url":"https://api.github.com/users/Jflinchum/repos","events_url":"https://api.github.com/users/Jflinchum/events{/privacy}","received_events_url":"https://api.github.com/users/Jflinchum/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Jflinchum/slack-chat","description":"A support chat feature for your website that integrates with #Slack","fork":true,"url":"https://api.github.com/repos/Jflinchum/slack-chat","forks_url":"https://api.github.com/repos/Jflinchum/slack-chat/forks","keys_url":"https://api.github.com/repos/Jflinchum/slack-chat/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Jflinchum/slack-chat/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Jflinchum/slack-chat/teams","hooks_url":"https://api.github.com/repos/Jflinchum/slack-chat/hooks","issue_events_url":"https://api.github.com/repos/Jflinchum/slack-chat/issues/events{/number}","events_url":"https://api.github.com/repos/Jflinchum/slack-chat/events","assignees_url":"https://api.github.com/repos/Jflinchum/slack-chat/assignees{/user}","branches_url":"https://api.github.com/repos/Jflinchum/slack-chat/branches{/branch}","tags_url":"https://api.github.com/repos/Jflinchum/slack-chat/tags","blobs_url":"https://api.github.com/repos/Jflinchum/slack-chat/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Jflinchum/slack-chat/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Jflinchum/slack-chat/git/refs{/sha}","trees_url":"https://api.github.com/repos/Jflinchum/slack-chat/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Jflinchum/slack-chat/statuses/{sha}","languages_url":"https://api.github.com/repos/Jflinchum/slack-chat/languages","stargazers_url":"https://api.github.com/repos/Jflinchum/slack-chat/stargazers","contributors_url":"https://api.github.com/repos/Jflinchum/slack-chat/contributors","subscribers_url":"https://api.github.com/repos/Jflinchum/slack-chat/subscribers","subscription_url":"https://api.github.com/repos/Jflinchum/slack-chat/subscription","commits_url":"https://api.github.com/repos/Jflinchum/slack-chat/commits{/sha}","git_commits_url":"https://api.github.com/repos/Jflinchum/slack-chat/git/commits{/sha}","comments_url":"https://api.github.com/repos/Jflinchum/slack-chat/comments{/number}","issue_comment_url":"https://api.github.com/repos/Jflinchum/slack-chat/issues/comments{/number}","contents_url":"https://api.github.com/repos/Jflinchum/slack-chat/contents/{+path}","compare_url":"https://api.github.com/repos/Jflinchum/slack-chat/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Jflinchum/slack-chat/merges","archive_url":"https://api.github.com/repos/Jflinchum/slack-chat/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Jflinchum/slack-chat/downloads","issues_url":"https://api.github.com/repos/Jflinchum/slack-chat/issues{/number}","pulls_url":"https://api.github.com/repos/Jflinchum/slack-chat/pulls{/number}","milestones_url":"https://api.github.com/repos/Jflinchum/slack-chat/milestones{/number}","notifications_url":"https://api.github.com/repos/Jflinchum/slack-chat/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Jflinchum/slack-chat/labels{/name}","releases_url":"https://api.github.com/repos/Jflinchum/slack-chat/releases{/id}","deployments_url":"https://api.github.com/repos/Jflinchum/slack-chat/deployments","created_at":"2016-07-21T17:26:51Z","updated_at":"2016-07-21T17:26:52Z","pushed_at":"2016-07-21T17:32:24Z","git_url":"git://github.com/Jflinchum/slack-chat.git","ssh_url":"git@github.com:Jflinchum/slack-chat.git","clone_url":"https://github.com/Jflinchum/slack-chat.git","svn_url":"https://github.com/Jflinchum/slack-chat","homepage":null,"size":758,"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":"improvi:master","ref":"master","sha":"5f542cb16390d941484f8e53fd82f34a7de39929","user":{"login":"improvi","id":2269559,"avatar_url":"https://avatars.githubusercontent.com/u/2269559?v=3","gravatar_id":"","url":"https://api.github.com/users/improvi","html_url":"https://github.com/improvi","followers_url":"https://api.github.com/users/improvi/followers","following_url":"https://api.github.com/users/improvi/following{/other_user}","gists_url":"https://api.github.com/users/improvi/gists{/gist_id}","starred_url":"https://api.github.com/users/improvi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/improvi/subscriptions","organizations_url":"https://api.github.com/users/improvi/orgs","repos_url":"https://api.github.com/users/improvi/repos","events_url":"https://api.github.com/users/improvi/events{/privacy}","received_events_url":"https://api.github.com/users/improvi/received_events","type":"User","site_admin":false},"repo":{"id":32686417,"name":"slack-chat","full_name":"improvi/slack-chat","owner":{"login":"improvi","id":2269559,"avatar_url":"https://avatars.githubusercontent.com/u/2269559?v=3","gravatar_id":"","url":"https://api.github.com/users/improvi","html_url":"https://github.com/improvi","followers_url":"https://api.github.com/users/improvi/followers","following_url":"https://api.github.com/users/improvi/following{/other_user}","gists_url":"https://api.github.com/users/improvi/gists{/gist_id}","starred_url":"https://api.github.com/users/improvi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/improvi/subscriptions","organizations_url":"https://api.github.com/users/improvi/orgs","repos_url":"https://api.github.com/users/improvi/repos","events_url":"https://api.github.com/users/improvi/events{/privacy}","received_events_url":"https://api.github.com/users/improvi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/improvi/slack-chat","description":"A support chat feature for your website that integrates with #Slack","fork":false,"url":"https://api.github.com/repos/improvi/slack-chat","forks_url":"https://api.github.com/repos/improvi/slack-chat/forks","keys_url":"https://api.github.com/repos/improvi/slack-chat/keys{/key_id}","collaborators_url":"https://api.github.com/repos/improvi/slack-chat/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/improvi/slack-chat/teams","hooks_url":"https://api.github.com/repos/improvi/slack-chat/hooks","issue_events_url":"https://api.github.com/repos/improvi/slack-chat/issues/events{/number}","events_url":"https://api.github.com/repos/improvi/slack-chat/events","assignees_url":"https://api.github.com/repos/improvi/slack-chat/assignees{/user}","branches_url":"https://api.github.com/repos/improvi/slack-chat/branches{/branch}","tags_url":"https://api.github.com/repos/improvi/slack-chat/tags","blobs_url":"https://api.github.com/repos/improvi/slack-chat/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/improvi/slack-chat/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/improvi/slack-chat/git/refs{/sha}","trees_url":"https://api.github.com/repos/improvi/slack-chat/git/trees{/sha}","statuses_url":"https://api.github.com/repos/improvi/slack-chat/statuses/{sha}","languages_url":"https://api.github.com/repos/improvi/slack-chat/languages","stargazers_url":"https://api.github.com/repos/improvi/slack-chat/stargazers","contributors_url":"https://api.github.com/repos/improvi/slack-chat/contributors","subscribers_url":"https://api.github.com/repos/improvi/slack-chat/subscribers","subscription_url":"https://api.github.com/repos/improvi/slack-chat/subscription","commits_url":"https://api.github.com/repos/improvi/slack-chat/commits{/sha}","git_commits_url":"https://api.github.com/repos/improvi/slack-chat/git/commits{/sha}","comments_url":"https://api.github.com/repos/improvi/slack-chat/comments{/number}","issue_comment_url":"https://api.github.com/repos/improvi/slack-chat/issues/comments{/number}","contents_url":"https://api.github.com/repos/improvi/slack-chat/contents/{+path}","compare_url":"https://api.github.com/repos/improvi/slack-chat/compare/{base}...{head}","merges_url":"https://api.github.com/repos/improvi/slack-chat/merges","archive_url":"https://api.github.com/repos/improvi/slack-chat/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/improvi/slack-chat/downloads","issues_url":"https://api.github.com/repos/improvi/slack-chat/issues{/number}","pulls_url":"https://api.github.com/repos/improvi/slack-chat/pulls{/number}","milestones_url":"https://api.github.com/repos/improvi/slack-chat/milestones{/number}","notifications_url":"https://api.github.com/repos/improvi/slack-chat/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/improvi/slack-chat/labels{/name}","releases_url":"https://api.github.com/repos/improvi/slack-chat/releases{/id}","deployments_url":"https://api.github.com/repos/improvi/slack-chat/deployments","created_at":"2015-03-22T17:26:30Z","updated_at":"2016-07-18T04:41:10Z","pushed_at":"2016-07-21T17:36:07Z","git_url":"git://github.com/improvi/slack-chat.git","ssh_url":"git@github.com:improvi/slack-chat.git","clone_url":"https://github.com/improvi/slack-chat.git","svn_url":"https://github.com/improvi/slack-chat","homepage":null,"size":758,"stargazers_count":75,"watchers_count":75,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":24,"mirror_url":null,"open_issues_count":6,"forks":24,"open_issues":6,"watchers":75,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/improvi/slack-chat/pulls/18"},"html":{"href":"https://github.com/improvi/slack-chat/pull/18"},"issue":{"href":"https://api.github.com/repos/improvi/slack-chat/issues/18"},"comments":{"href":"https://api.github.com/repos/improvi/slack-chat/issues/18/comments"},"review_comments":{"href":"https://api.github.com/repos/improvi/slack-chat/pulls/18/comments"},"review_comment":{"href":"https://api.github.com/repos/improvi/slack-chat/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/improvi/slack-chat/pulls/18/commits"},"statuses":{"href":"https://api.github.com/repos/improvi/slack-chat/statuses/ddb437a860e54935210652a80519d88f423effa1"}}}}
{"actor":{"display_login":"Jflinchum"}}