{"action":"opened","number":4,"pull_request":{"url":"https://api.github.com/repos/yahoo/html-purify/pulls/4","id":38407745,"html_url":"https://github.com/yahoo/html-purify/pull/4","diff_url":"https://github.com/yahoo/html-purify/pull/4.diff","patch_url":"https://github.com/yahoo/html-purify/pull/4.patch","issue_url":"https://api.github.com/repos/yahoo/html-purify/issues/4","number":4,"state":"open","locked":false,"title":"add the comment to the logic of the switch case.","user":{"login":"neraliu","id":291417,"avatar_url":"https://avatars.githubusercontent.com/u/291417?v=3","gravatar_id":"","url":"https://api.github.com/users/neraliu","html_url":"https://github.com/neraliu","followers_url":"https://api.github.com/users/neraliu/followers","following_url":"https://api.github.com/users/neraliu/following{/other_user}","gists_url":"https://api.github.com/users/neraliu/gists{/gist_id}","starred_url":"https://api.github.com/users/neraliu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neraliu/subscriptions","organizations_url":"https://api.github.com/users/neraliu/orgs","repos_url":"https://api.github.com/users/neraliu/repos","events_url":"https://api.github.com/users/neraliu/events{/privacy}","received_events_url":"https://api.github.com/users/neraliu/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-06-24T05:01:24Z","updated_at":"2015-06-24T05:01:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/yahoo/html-purify/pulls/4/commits","review_comments_url":"https://api.github.com/repos/yahoo/html-purify/pulls/4/comments","review_comment_url":"https://api.github.com/repos/yahoo/html-purify/pulls/comments{/number}","comments_url":"https://api.github.com/repos/yahoo/html-purify/issues/4/comments","statuses_url":"https://api.github.com/repos/yahoo/html-purify/statuses/1a696d7416432ad3e94ffa0db77915cb1bf395f3","head":{"label":"neraliu:comment-the-code","ref":"comment-the-code","sha":"1a696d7416432ad3e94ffa0db77915cb1bf395f3","user":{"login":"neraliu","id":291417,"avatar_url":"https://avatars.githubusercontent.com/u/291417?v=3","gravatar_id":"","url":"https://api.github.com/users/neraliu","html_url":"https://github.com/neraliu","followers_url":"https://api.github.com/users/neraliu/followers","following_url":"https://api.github.com/users/neraliu/following{/other_user}","gists_url":"https://api.github.com/users/neraliu/gists{/gist_id}","starred_url":"https://api.github.com/users/neraliu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neraliu/subscriptions","organizations_url":"https://api.github.com/users/neraliu/orgs","repos_url":"https://api.github.com/users/neraliu/repos","events_url":"https://api.github.com/users/neraliu/events{/privacy}","received_events_url":"https://api.github.com/users/neraliu/received_events","type":"User","site_admin":false},"repo":{"id":37698809,"name":"html-purify","full_name":"neraliu/html-purify","owner":{"login":"neraliu","id":291417,"avatar_url":"https://avatars.githubusercontent.com/u/291417?v=3","gravatar_id":"","url":"https://api.github.com/users/neraliu","html_url":"https://github.com/neraliu","followers_url":"https://api.github.com/users/neraliu/followers","following_url":"https://api.github.com/users/neraliu/following{/other_user}","gists_url":"https://api.github.com/users/neraliu/gists{/gist_id}","starred_url":"https://api.github.com/users/neraliu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neraliu/subscriptions","organizations_url":"https://api.github.com/users/neraliu/orgs","repos_url":"https://api.github.com/users/neraliu/repos","events_url":"https://api.github.com/users/neraliu/events{/privacy}","received_events_url":"https://api.github.com/users/neraliu/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/neraliu/html-purify","description":"HTML5 Purify","fork":true,"url":"https://api.github.com/repos/neraliu/html-purify","forks_url":"https://api.github.com/repos/neraliu/html-purify/forks","keys_url":"https://api.github.com/repos/neraliu/html-purify/keys{/key_id}","collaborators_url":"https://api.github.com/repos/neraliu/html-purify/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/neraliu/html-purify/teams","hooks_url":"https://api.github.com/repos/neraliu/html-purify/hooks","issue_events_url":"https://api.github.com/repos/neraliu/html-purify/issues/events{/number}","events_url":"https://api.github.com/repos/neraliu/html-purify/events","assignees_url":"https://api.github.com/repos/neraliu/html-purify/assignees{/user}","branches_url":"https://api.github.com/repos/neraliu/html-purify/branches{/branch}","tags_url":"https://api.github.com/repos/neraliu/html-purify/tags","blobs_url":"https://api.github.com/repos/neraliu/html-purify/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/neraliu/html-purify/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/neraliu/html-purify/git/refs{/sha}","trees_url":"https://api.github.com/repos/neraliu/html-purify/git/trees{/sha}","statuses_url":"https://api.github.com/repos/neraliu/html-purify/statuses/{sha}","languages_url":"https://api.github.com/repos/neraliu/html-purify/languages","stargazers_url":"https://api.github.com/repos/neraliu/html-purify/stargazers","contributors_url":"https://api.github.com/repos/neraliu/html-purify/contributors","subscribers_url":"https://api.github.com/repos/neraliu/html-purify/subscribers","subscription_url":"https://api.github.com/repos/neraliu/html-purify/subscription","commits_url":"https://api.github.com/repos/neraliu/html-purify/commits{/sha}","git_commits_url":"https://api.github.com/repos/neraliu/html-purify/git/commits{/sha}","comments_url":"https://api.github.com/repos/neraliu/html-purify/comments{/number}","issue_comment_url":"https://api.github.com/repos/neraliu/html-purify/issues/comments{/number}","contents_url":"https://api.github.com/repos/neraliu/html-purify/contents/{+path}","compare_url":"https://api.github.com/repos/neraliu/html-purify/compare/{base}...{head}","merges_url":"https://api.github.com/repos/neraliu/html-purify/merges","archive_url":"https://api.github.com/repos/neraliu/html-purify/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/neraliu/html-purify/downloads","issues_url":"https://api.github.com/repos/neraliu/html-purify/issues{/number}","pulls_url":"https://api.github.com/repos/neraliu/html-purify/pulls{/number}","milestones_url":"https://api.github.com/repos/neraliu/html-purify/milestones{/number}","notifications_url":"https://api.github.com/repos/neraliu/html-purify/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/neraliu/html-purify/labels{/name}","releases_url":"https://api.github.com/repos/neraliu/html-purify/releases{/id}","created_at":"2015-06-19T03:09:11Z","updated_at":"2015-06-19T03:09:13Z","pushed_at":"2015-06-24T05:01:15Z","git_url":"git://github.com/neraliu/html-purify.git","ssh_url":"git@github.com:neraliu/html-purify.git","clone_url":"https://github.com/neraliu/html-purify.git","svn_url":"https://github.com/neraliu/html-purify","homepage":"","size":0,"stargazers_count":1,"watchers_count":1,"language":"HTML","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":1,"default_branch":"master"}},"base":{"label":"yahoo:master","ref":"master","sha":"02b2cee2775b180ef0f47e85b2bea51a1c810c57","user":{"login":"yahoo","id":16574,"avatar_url":"https://avatars.githubusercontent.com/u/16574?v=3","gravatar_id":"","url":"https://api.github.com/users/yahoo","html_url":"https://github.com/yahoo","followers_url":"https://api.github.com/users/yahoo/followers","following_url":"https://api.github.com/users/yahoo/following{/other_user}","gists_url":"https://api.github.com/users/yahoo/gists{/gist_id}","starred_url":"https://api.github.com/users/yahoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yahoo/subscriptions","organizations_url":"https://api.github.com/users/yahoo/orgs","repos_url":"https://api.github.com/users/yahoo/repos","events_url":"https://api.github.com/users/yahoo/events{/privacy}","received_events_url":"https://api.github.com/users/yahoo/received_events","type":"Organization","site_admin":false},"repo":{"id":37676756,"name":"html-purify","full_name":"yahoo/html-purify","owner":{"login":"yahoo","id":16574,"avatar_url":"https://avatars.githubusercontent.com/u/16574?v=3","gravatar_id":"","url":"https://api.github.com/users/yahoo","html_url":"https://github.com/yahoo","followers_url":"https://api.github.com/users/yahoo/followers","following_url":"https://api.github.com/users/yahoo/following{/other_user}","gists_url":"https://api.github.com/users/yahoo/gists{/gist_id}","starred_url":"https://api.github.com/users/yahoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yahoo/subscriptions","organizations_url":"https://api.github.com/users/yahoo/orgs","repos_url":"https://api.github.com/users/yahoo/repos","events_url":"https://api.github.com/users/yahoo/events{/privacy}","received_events_url":"https://api.github.com/users/yahoo/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/yahoo/html-purify","description":"HTML5 Purify","fork":false,"url":"https://api.github.com/repos/yahoo/html-purify","forks_url":"https://api.github.com/repos/yahoo/html-purify/forks","keys_url":"https://api.github.com/repos/yahoo/html-purify/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yahoo/html-purify/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yahoo/html-purify/teams","hooks_url":"https://api.github.com/repos/yahoo/html-purify/hooks","issue_events_url":"https://api.github.com/repos/yahoo/html-purify/issues/events{/number}","events_url":"https://api.github.com/repos/yahoo/html-purify/events","assignees_url":"https://api.github.com/repos/yahoo/html-purify/assignees{/user}","branches_url":"https://api.github.com/repos/yahoo/html-purify/branches{/branch}","tags_url":"https://api.github.com/repos/yahoo/html-purify/tags","blobs_url":"https://api.github.com/repos/yahoo/html-purify/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yahoo/html-purify/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yahoo/html-purify/git/refs{/sha}","trees_url":"https://api.github.com/repos/yahoo/html-purify/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yahoo/html-purify/statuses/{sha}","languages_url":"https://api.github.com/repos/yahoo/html-purify/languages","stargazers_url":"https://api.github.com/repos/yahoo/html-purify/stargazers","contributors_url":"https://api.github.com/repos/yahoo/html-purify/contributors","subscribers_url":"https://api.github.com/repos/yahoo/html-purify/subscribers","subscription_url":"https://api.github.com/repos/yahoo/html-purify/subscription","commits_url":"https://api.github.com/repos/yahoo/html-purify/commits{/sha}","git_commits_url":"https://api.github.com/repos/yahoo/html-purify/git/commits{/sha}","comments_url":"https://api.github.com/repos/yahoo/html-purify/comments{/number}","issue_comment_url":"https://api.github.com/repos/yahoo/html-purify/issues/comments{/number}","contents_url":"https://api.github.com/repos/yahoo/html-purify/contents/{+path}","compare_url":"https://api.github.com/repos/yahoo/html-purify/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yahoo/html-purify/merges","archive_url":"https://api.github.com/repos/yahoo/html-purify/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yahoo/html-purify/downloads","issues_url":"https://api.github.com/repos/yahoo/html-purify/issues{/number}","pulls_url":"https://api.github.com/repos/yahoo/html-purify/pulls{/number}","milestones_url":"https://api.github.com/repos/yahoo/html-purify/milestones{/number}","notifications_url":"https://api.github.com/repos/yahoo/html-purify/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yahoo/html-purify/labels{/name}","releases_url":"https://api.github.com/repos/yahoo/html-purify/releases{/id}","created_at":"2015-06-18T18:19:20Z","updated_at":"2015-06-19T18:01:53Z","pushed_at":"2015-06-24T02:24:11Z","git_url":"git://github.com/yahoo/html-purify.git","ssh_url":"git@github.com:yahoo/html-purify.git","clone_url":"https://github.com/yahoo/html-purify.git","svn_url":"https://github.com/yahoo/html-purify","homepage":"","size":0,"stargazers_count":5,"watchers_count":5,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":4,"forks":3,"open_issues":4,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/yahoo/html-purify/pulls/4"},"html":{"href":"https://github.com/yahoo/html-purify/pull/4"},"issue":{"href":"https://api.github.com/repos/yahoo/html-purify/issues/4"},"comments":{"href":"https://api.github.com/repos/yahoo/html-purify/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/yahoo/html-purify/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/yahoo/html-purify/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/yahoo/html-purify/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/yahoo/html-purify/statuses/1a696d7416432ad3e94ffa0db77915cb1bf395f3"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":33,"deletions":24,"changed_files":2}}