{"action":"created","comment":{"url":"https://api.github.com/repos/voorhoede/jquery-style-guide/pulls/comments/60034859","id":60034859,"diff_hunk":"@@ -16,8 +16,45 @@ This guide aims to improve the way your team uses [jQuery](http://jquery.com/).\n ## Table of Contents\n \n * [About jQuery](#about-jquery)\n-\n+* [Avoid using `.click()`, `.change()`, et al as event handlers]\n \n ## About jQuery\n \n [jQuery](http://jquery.com/) is a utility library for easy DOM access & manipulation, event handling, Ajax and more. By using jQuery you can write consise and expressive code which works across modern and legacy browsers. jQuery has extensive tests, detailed documentation, a large active community and an ecosystem of plugins.\n+\n+## Avoid using `.click()`, `.change()`, et al as event handlers","path":"README.md","position":11,"original_position":11,"commit_id":"7eb2a795b7b9249993ac4ceffb3af28b03e37389","original_commit_id":"7eb2a795b7b9249993ac4ceffb3af28b03e37389","user":{"login":"jbmoelker","id":1516059,"avatar_url":"https://avatars.githubusercontent.com/u/1516059?v=3","gravatar_id":"","url":"https://api.github.com/users/jbmoelker","html_url":"https://github.com/jbmoelker","followers_url":"https://api.github.com/users/jbmoelker/followers","following_url":"https://api.github.com/users/jbmoelker/following{/other_user}","gists_url":"https://api.github.com/users/jbmoelker/gists{/gist_id}","starred_url":"https://api.github.com/users/jbmoelker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbmoelker/subscriptions","organizations_url":"https://api.github.com/users/jbmoelker/orgs","repos_url":"https://api.github.com/users/jbmoelker/repos","events_url":"https://api.github.com/users/jbmoelker/events{/privacy}","received_events_url":"https://api.github.com/users/jbmoelker/received_events","type":"User","site_admin":false},"body":"Add summary explaining jQuery supports both `.on('eventName')` and aliases `.eventName()`? Link to the docs.","created_at":"2016-04-18T10:14:09Z","updated_at":"2016-04-18T10:14:09Z","html_url":"https://github.com/voorhoede/jquery-style-guide/pull/12#discussion_r60034859","pull_request_url":"https://api.github.com/repos/voorhoede/jquery-style-guide/pulls/12","_links":{"self":{"href":"https://api.github.com/repos/voorhoede/jquery-style-guide/pulls/comments/60034859"},"html":{"href":"https://github.com/voorhoede/jquery-style-guide/pull/12#discussion_r60034859"},"pull_request":{"href":"https://api.github.com/repos/voorhoede/jquery-style-guide/pulls/12"}}},"pull_request":{"url":"https://api.github.com/repos/voorhoede/jquery-style-guide/pulls/12","id":66630996,"html_url":"https://github.com/voorhoede/jquery-style-guide/pull/12","diff_url":"https://github.com/voorhoede/jquery-style-guide/pull/12.diff","patch_url":"https://github.com/voorhoede/jquery-style-guide/pull/12.patch","issue_url":"https://api.github.com/repos/voorhoede/jquery-style-guide/issues/12","number":12,"state":"open","locked":false,"title":"add \"avoid `.click()`, `.change()` etc.\" rule","user":{"login":"Ex-iT","id":1093074,"avatar_url":"https://avatars.githubusercontent.com/u/1093074?v=3","gravatar_id":"","url":"https://api.github.com/users/Ex-iT","html_url":"https://github.com/Ex-iT","followers_url":"https://api.github.com/users/Ex-iT/followers","following_url":"https://api.github.com/users/Ex-iT/following{/other_user}","gists_url":"https://api.github.com/users/Ex-iT/gists{/gist_id}","starred_url":"https://api.github.com/users/Ex-iT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ex-iT/subscriptions","organizations_url":"https://api.github.com/users/Ex-iT/orgs","repos_url":"https://api.github.com/users/Ex-iT/repos","events_url":"https://api.github.com/users/Ex-iT/events{/privacy}","received_events_url":"https://api.github.com/users/Ex-iT/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-04-15T11:56:20Z","updated_at":"2016-04-18T10:14:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7a3d3738a2141a700c427f03318ad940f68cb7b6","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/voorhoede/jquery-style-guide/pulls/12/commits","review_comments_url":"https://api.github.com/repos/voorhoede/jquery-style-guide/pulls/12/comments","review_comment_url":"https://api.github.com/repos/voorhoede/jquery-style-guide/pulls/comments{/number}","comments_url":"https://api.github.com/repos/voorhoede/jquery-style-guide/issues/12/comments","statuses_url":"https://api.github.com/repos/voorhoede/jquery-style-guide/statuses/7eb2a795b7b9249993ac4ceffb3af28b03e37389","head":{"label":"voorhoede:avoid-click","ref":"avoid-click","sha":"7eb2a795b7b9249993ac4ceffb3af28b03e37389","user":{"login":"voorhoede","id":2759382,"avatar_url":"https://avatars.githubusercontent.com/u/2759382?v=3","gravatar_id":"","url":"https://api.github.com/users/voorhoede","html_url":"https://github.com/voorhoede","followers_url":"https://api.github.com/users/voorhoede/followers","following_url":"https://api.github.com/users/voorhoede/following{/other_user}","gists_url":"https://api.github.com/users/voorhoede/gists{/gist_id}","starred_url":"https://api.github.com/users/voorhoede/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/voorhoede/subscriptions","organizations_url":"https://api.github.com/users/voorhoede/orgs","repos_url":"https://api.github.com/users/voorhoede/repos","events_url":"https://api.github.com/users/voorhoede/events{/privacy}","received_events_url":"https://api.github.com/users/voorhoede/received_events","type":"Organization","site_admin":false},"repo":{"id":53977497,"name":"jquery-style-guide","full_name":"voorhoede/jquery-style-guide","owner":{"login":"voorhoede","id":2759382,"avatar_url":"https://avatars.githubusercontent.com/u/2759382?v=3","gravatar_id":"","url":"https://api.github.com/users/voorhoede","html_url":"https://github.com/voorhoede","followers_url":"https://api.github.com/users/voorhoede/followers","following_url":"https://api.github.com/users/voorhoede/following{/other_user}","gists_url":"https://api.github.com/users/voorhoede/gists{/gist_id}","starred_url":"https://api.github.com/users/voorhoede/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/voorhoede/subscriptions","organizations_url":"https://api.github.com/users/voorhoede/orgs","repos_url":"https://api.github.com/users/voorhoede/repos","events_url":"https://api.github.com/users/voorhoede/events{/privacy}","received_events_url":"https://api.github.com/users/voorhoede/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/voorhoede/jquery-style-guide","description":"Opinionated jQuery Style Guide for teams.","fork":false,"url":"https://api.github.com/repos/voorhoede/jquery-style-guide","forks_url":"https://api.github.com/repos/voorhoede/jquery-style-guide/forks","keys_url":"https://api.github.com/repos/voorhoede/jquery-style-guide/keys{/key_id}","collaborators_url":"https://api.github.com/repos/voorhoede/jquery-style-guide/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/voorhoede/jquery-style-guide/teams","hooks_url":"https://api.github.com/repos/voorhoede/jquery-style-guide/hooks","issue_events_url":"https://api.github.com/repos/voorhoede/jquery-style-guide/issues/events{/number}","events_url":"https://api.github.com/repos/voorhoede/jquery-style-guide/events","assignees_url":"https://api.github.com/repos/voorhoede/jquery-style-guide/assignees{/user}","branches_url":"https://api.github.com/repos/voorhoede/jquery-style-guide/branches{/branch}","tags_url":"https://api.github.com/repos/voorhoede/jquery-style-guide/tags","blobs_url":"https://api.github.com/repos/voorhoede/jquery-style-guide/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/voorhoede/jquery-style-guide/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/voorhoede/jquery-style-guide/git/refs{/sha}","trees_url":"https://api.github.com/repos/voorhoede/jquery-style-guide/git/trees{/sha}","statuses_url":"https://api.github.com/repos/voorhoede/jquery-style-guide/statuses/{sha}","languages_url":"https://api.github.com/repos/voorhoede/jquery-style-guide/languages","stargazers_url":"https://api.github.com/repos/voorhoede/jquery-style-guide/stargazers","contributors_url":"https://api.github.com/repos/voorhoede/jquery-style-guide/contributors","subscribers_url":"https://api.github.com/repos/voorhoede/jquery-style-guide/subscribers","subscription_url":"https://api.github.com/repos/voorhoede/jquery-style-guide/subscription","commits_url":"https://api.github.com/repos/voorhoede/jquery-style-guide/commits{/sha}","git_commits_url":"https://api.github.com/repos/voorhoede/jquery-style-guide/git/commits{/sha}","comments_url":"https://api.github.com/repos/voorhoede/jquery-style-guide/comments{/number}","issue_comment_url":"https://api.github.com/repos/voorhoede/jquery-style-guide/issues/comments{/number}","contents_url":"https://api.github.com/repos/voorhoede/jquery-style-guide/contents/{+path}","compare_url":"https://api.github.com/repos/voorhoede/jquery-style-guide/compare/{base}...{head}","merges_url":"https://api.github.com/repos/voorhoede/jquery-style-guide/merges","archive_url":"https://api.github.com/repos/voorhoede/jquery-style-guide/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/voorhoede/jquery-style-guide/downloads","issues_url":"https://api.github.com/repos/voorhoede/jquery-style-guide/issues{/number}","pulls_url":"https://api.github.com/repos/voorhoede/jquery-style-guide/pulls{/number}","milestones_url":"https://api.github.com/repos/voorhoede/jquery-style-guide/milestones{/number}","notifications_url":"https://api.github.com/repos/voorhoede/jquery-style-guide/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/voorhoede/jquery-style-guide/labels{/name}","releases_url":"https://api.github.com/repos/voorhoede/jquery-style-guide/releases{/id}","deployments_url":"https://api.github.com/repos/voorhoede/jquery-style-guide/deployments","created_at":"2016-03-15T20:48:39Z","updated_at":"2016-04-15T11:02:14Z","pushed_at":"2016-04-18T10:00:33Z","git_url":"git://github.com/voorhoede/jquery-style-guide.git","ssh_url":"git@github.com:voorhoede/jquery-style-guide.git","clone_url":"https://github.com/voorhoede/jquery-style-guide.git","svn_url":"https://github.com/voorhoede/jquery-style-guide","homepage":null,"size":18,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":11,"forks":0,"open_issues":11,"watchers":0,"default_branch":"master"}},"base":{"label":"voorhoede:master","ref":"master","sha":"1c05f01edbfe123d7c474f8d5fd49aea144d2be2","user":{"login":"voorhoede","id":2759382,"avatar_url":"https://avatars.githubusercontent.com/u/2759382?v=3","gravatar_id":"","url":"https://api.github.com/users/voorhoede","html_url":"https://github.com/voorhoede","followers_url":"https://api.github.com/users/voorhoede/followers","following_url":"https://api.github.com/users/voorhoede/following{/other_user}","gists_url":"https://api.github.com/users/voorhoede/gists{/gist_id}","starred_url":"https://api.github.com/users/voorhoede/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/voorhoede/subscriptions","organizations_url":"https://api.github.com/users/voorhoede/orgs","repos_url":"https://api.github.com/users/voorhoede/repos","events_url":"https://api.github.com/users/voorhoede/events{/privacy}","received_events_url":"https://api.github.com/users/voorhoede/received_events","type":"Organization","site_admin":false},"repo":{"id":53977497,"name":"jquery-style-guide","full_name":"voorhoede/jquery-style-guide","owner":{"login":"voorhoede","id":2759382,"avatar_url":"https://avatars.githubusercontent.com/u/2759382?v=3","gravatar_id":"","url":"https://api.github.com/users/voorhoede","html_url":"https://github.com/voorhoede","followers_url":"https://api.github.com/users/voorhoede/followers","following_url":"https://api.github.com/users/voorhoede/following{/other_user}","gists_url":"https://api.github.com/users/voorhoede/gists{/gist_id}","starred_url":"https://api.github.com/users/voorhoede/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/voorhoede/subscriptions","organizations_url":"https://api.github.com/users/voorhoede/orgs","repos_url":"https://api.github.com/users/voorhoede/repos","events_url":"https://api.github.com/users/voorhoede/events{/privacy}","received_events_url":"https://api.github.com/users/voorhoede/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/voorhoede/jquery-style-guide","description":"Opinionated jQuery Style Guide for teams.","fork":false,"url":"https://api.github.com/repos/voorhoede/jquery-style-guide","forks_url":"https://api.github.com/repos/voorhoede/jquery-style-guide/forks","keys_url":"https://api.github.com/repos/voorhoede/jquery-style-guide/keys{/key_id}","collaborators_url":"https://api.github.com/repos/voorhoede/jquery-style-guide/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/voorhoede/jquery-style-guide/teams","hooks_url":"https://api.github.com/repos/voorhoede/jquery-style-guide/hooks","issue_events_url":"https://api.github.com/repos/voorhoede/jquery-style-guide/issues/events{/number}","events_url":"https://api.github.com/repos/voorhoede/jquery-style-guide/events","assignees_url":"https://api.github.com/repos/voorhoede/jquery-style-guide/assignees{/user}","branches_url":"https://api.github.com/repos/voorhoede/jquery-style-guide/branches{/branch}","tags_url":"https://api.github.com/repos/voorhoede/jquery-style-guide/tags","blobs_url":"https://api.github.com/repos/voorhoede/jquery-style-guide/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/voorhoede/jquery-style-guide/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/voorhoede/jquery-style-guide/git/refs{/sha}","trees_url":"https://api.github.com/repos/voorhoede/jquery-style-guide/git/trees{/sha}","statuses_url":"https://api.github.com/repos/voorhoede/jquery-style-guide/statuses/{sha}","languages_url":"https://api.github.com/repos/voorhoede/jquery-style-guide/languages","stargazers_url":"https://api.github.com/repos/voorhoede/jquery-style-guide/stargazers","contributors_url":"https://api.github.com/repos/voorhoede/jquery-style-guide/contributors","subscribers_url":"https://api.github.com/repos/voorhoede/jquery-style-guide/subscribers","subscription_url":"https://api.github.com/repos/voorhoede/jquery-style-guide/subscription","commits_url":"https://api.github.com/repos/voorhoede/jquery-style-guide/commits{/sha}","git_commits_url":"https://api.github.com/repos/voorhoede/jquery-style-guide/git/commits{/sha}","comments_url":"https://api.github.com/repos/voorhoede/jquery-style-guide/comments{/number}","issue_comment_url":"https://api.github.com/repos/voorhoede/jquery-style-guide/issues/comments{/number}","contents_url":"https://api.github.com/repos/voorhoede/jquery-style-guide/contents/{+path}","compare_url":"https://api.github.com/repos/voorhoede/jquery-style-guide/compare/{base}...{head}","merges_url":"https://api.github.com/repos/voorhoede/jquery-style-guide/merges","archive_url":"https://api.github.com/repos/voorhoede/jquery-style-guide/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/voorhoede/jquery-style-guide/downloads","issues_url":"https://api.github.com/repos/voorhoede/jquery-style-guide/issues{/number}","pulls_url":"https://api.github.com/repos/voorhoede/jquery-style-guide/pulls{/number}","milestones_url":"https://api.github.com/repos/voorhoede/jquery-style-guide/milestones{/number}","notifications_url":"https://api.github.com/repos/voorhoede/jquery-style-guide/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/voorhoede/jquery-style-guide/labels{/name}","releases_url":"https://api.github.com/repos/voorhoede/jquery-style-guide/releases{/id}","deployments_url":"https://api.github.com/repos/voorhoede/jquery-style-guide/deployments","created_at":"2016-03-15T20:48:39Z","updated_at":"2016-04-15T11:02:14Z","pushed_at":"2016-04-18T10:00:33Z","git_url":"git://github.com/voorhoede/jquery-style-guide.git","ssh_url":"git@github.com:voorhoede/jquery-style-guide.git","clone_url":"https://github.com/voorhoede/jquery-style-guide.git","svn_url":"https://github.com/voorhoede/jquery-style-guide","homepage":null,"size":18,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":11,"forks":0,"open_issues":11,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/voorhoede/jquery-style-guide/pulls/12"},"html":{"href":"https://github.com/voorhoede/jquery-style-guide/pull/12"},"issue":{"href":"https://api.github.com/repos/voorhoede/jquery-style-guide/issues/12"},"comments":{"href":"https://api.github.com/repos/voorhoede/jquery-style-guide/issues/12/comments"},"review_comments":{"href":"https://api.github.com/repos/voorhoede/jquery-style-guide/pulls/12/comments"},"review_comment":{"href":"https://api.github.com/repos/voorhoede/jquery-style-guide/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/voorhoede/jquery-style-guide/pulls/12/commits"},"statuses":{"href":"https://api.github.com/repos/voorhoede/jquery-style-guide/statuses/7eb2a795b7b9249993ac4ceffb3af28b03e37389"}}}}