{"action":"closed","number":2,"pull_request":{"url":"https://api.github.com/repos/saurabhg22/Digital-Clock/pulls/2","id":52108876,"html_url":"https://github.com/saurabhg22/Digital-Clock/pull/2","diff_url":"https://github.com/saurabhg22/Digital-Clock/pull/2.diff","patch_url":"https://github.com/saurabhg22/Digital-Clock/pull/2.patch","issue_url":"https://api.github.com/repos/saurabhg22/Digital-Clock/issues/2","number":2,"state":"closed","locked":false,"title":"Timer updated : Code reduced, same working","user":{"login":"deepakpathania","id":15071438,"avatar_url":"https://avatars.githubusercontent.com/u/15071438?v=3","gravatar_id":"","url":"https://api.github.com/users/deepakpathania","html_url":"https://github.com/deepakpathania","followers_url":"https://api.github.com/users/deepakpathania/followers","following_url":"https://api.github.com/users/deepakpathania/following{/other_user}","gists_url":"https://api.github.com/users/deepakpathania/gists{/gist_id}","starred_url":"https://api.github.com/users/deepakpathania/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deepakpathania/subscriptions","organizations_url":"https://api.github.com/users/deepakpathania/orgs","repos_url":"https://api.github.com/users/deepakpathania/repos","events_url":"https://api.github.com/users/deepakpathania/events{/privacy}","received_events_url":"https://api.github.com/users/deepakpathania/received_events","type":"User","site_admin":false},"body":"Removed the switch case and replaced with a much simpler approach of array indexing. Code reduced, same working achieved.","created_at":"2015-11-30T10:50:12Z","updated_at":"2015-11-30T16:17:48Z","closed_at":"2015-11-30T16:17:48Z","merged_at":"2015-11-30T16:17:48Z","merge_commit_sha":"6e344404bfcff22d5f22835f3d7147d6bc3ee5e6","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/saurabhg22/Digital-Clock/pulls/2/commits","review_comments_url":"https://api.github.com/repos/saurabhg22/Digital-Clock/pulls/2/comments","review_comment_url":"https://api.github.com/repos/saurabhg22/Digital-Clock/pulls/comments{/number}","comments_url":"https://api.github.com/repos/saurabhg22/Digital-Clock/issues/2/comments","statuses_url":"https://api.github.com/repos/saurabhg22/Digital-Clock/statuses/3641d07e7e39b7a43212f2c373bfbb5e49f4dc6b","head":{"label":"deepakpathania:master","ref":"master","sha":"3641d07e7e39b7a43212f2c373bfbb5e49f4dc6b","user":{"login":"deepakpathania","id":15071438,"avatar_url":"https://avatars.githubusercontent.com/u/15071438?v=3","gravatar_id":"","url":"https://api.github.com/users/deepakpathania","html_url":"https://github.com/deepakpathania","followers_url":"https://api.github.com/users/deepakpathania/followers","following_url":"https://api.github.com/users/deepakpathania/following{/other_user}","gists_url":"https://api.github.com/users/deepakpathania/gists{/gist_id}","starred_url":"https://api.github.com/users/deepakpathania/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deepakpathania/subscriptions","organizations_url":"https://api.github.com/users/deepakpathania/orgs","repos_url":"https://api.github.com/users/deepakpathania/repos","events_url":"https://api.github.com/users/deepakpathania/events{/privacy}","received_events_url":"https://api.github.com/users/deepakpathania/received_events","type":"User","site_admin":false},"repo":{"id":47112243,"name":"Digital-Clock","full_name":"deepakpathania/Digital-Clock","owner":{"login":"deepakpathania","id":15071438,"avatar_url":"https://avatars.githubusercontent.com/u/15071438?v=3","gravatar_id":"","url":"https://api.github.com/users/deepakpathania","html_url":"https://github.com/deepakpathania","followers_url":"https://api.github.com/users/deepakpathania/followers","following_url":"https://api.github.com/users/deepakpathania/following{/other_user}","gists_url":"https://api.github.com/users/deepakpathania/gists{/gist_id}","starred_url":"https://api.github.com/users/deepakpathania/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deepakpathania/subscriptions","organizations_url":"https://api.github.com/users/deepakpathania/orgs","repos_url":"https://api.github.com/users/deepakpathania/repos","events_url":"https://api.github.com/users/deepakpathania/events{/privacy}","received_events_url":"https://api.github.com/users/deepakpathania/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/deepakpathania/Digital-Clock","description":"Clock using javascript","fork":true,"url":"https://api.github.com/repos/deepakpathania/Digital-Clock","forks_url":"https://api.github.com/repos/deepakpathania/Digital-Clock/forks","keys_url":"https://api.github.com/repos/deepakpathania/Digital-Clock/keys{/key_id}","collaborators_url":"https://api.github.com/repos/deepakpathania/Digital-Clock/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/deepakpathania/Digital-Clock/teams","hooks_url":"https://api.github.com/repos/deepakpathania/Digital-Clock/hooks","issue_events_url":"https://api.github.com/repos/deepakpathania/Digital-Clock/issues/events{/number}","events_url":"https://api.github.com/repos/deepakpathania/Digital-Clock/events","assignees_url":"https://api.github.com/repos/deepakpathania/Digital-Clock/assignees{/user}","branches_url":"https://api.github.com/repos/deepakpathania/Digital-Clock/branches{/branch}","tags_url":"https://api.github.com/repos/deepakpathania/Digital-Clock/tags","blobs_url":"https://api.github.com/repos/deepakpathania/Digital-Clock/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/deepakpathania/Digital-Clock/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/deepakpathania/Digital-Clock/git/refs{/sha}","trees_url":"https://api.github.com/repos/deepakpathania/Digital-Clock/git/trees{/sha}","statuses_url":"https://api.github.com/repos/deepakpathania/Digital-Clock/statuses/{sha}","languages_url":"https://api.github.com/repos/deepakpathania/Digital-Clock/languages","stargazers_url":"https://api.github.com/repos/deepakpathania/Digital-Clock/stargazers","contributors_url":"https://api.github.com/repos/deepakpathania/Digital-Clock/contributors","subscribers_url":"https://api.github.com/repos/deepakpathania/Digital-Clock/subscribers","subscription_url":"https://api.github.com/repos/deepakpathania/Digital-Clock/subscription","commits_url":"https://api.github.com/repos/deepakpathania/Digital-Clock/commits{/sha}","git_commits_url":"https://api.github.com/repos/deepakpathania/Digital-Clock/git/commits{/sha}","comments_url":"https://api.github.com/repos/deepakpathania/Digital-Clock/comments{/number}","issue_comment_url":"https://api.github.com/repos/deepakpathania/Digital-Clock/issues/comments{/number}","contents_url":"https://api.github.com/repos/deepakpathania/Digital-Clock/contents/{+path}","compare_url":"https://api.github.com/repos/deepakpathania/Digital-Clock/compare/{base}...{head}","merges_url":"https://api.github.com/repos/deepakpathania/Digital-Clock/merges","archive_url":"https://api.github.com/repos/deepakpathania/Digital-Clock/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/deepakpathania/Digital-Clock/downloads","issues_url":"https://api.github.com/repos/deepakpathania/Digital-Clock/issues{/number}","pulls_url":"https://api.github.com/repos/deepakpathania/Digital-Clock/pulls{/number}","milestones_url":"https://api.github.com/repos/deepakpathania/Digital-Clock/milestones{/number}","notifications_url":"https://api.github.com/repos/deepakpathania/Digital-Clock/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/deepakpathania/Digital-Clock/labels{/name}","releases_url":"https://api.github.com/repos/deepakpathania/Digital-Clock/releases{/id}","created_at":"2015-11-30T10:44:43Z","updated_at":"2015-11-30T10:44:44Z","pushed_at":"2015-11-30T10:48:34Z","git_url":"git://github.com/deepakpathania/Digital-Clock.git","ssh_url":"git@github.com:deepakpathania/Digital-Clock.git","clone_url":"https://github.com/deepakpathania/Digital-Clock.git","svn_url":"https://github.com/deepakpathania/Digital-Clock","homepage":null,"size":6,"stargazers_count":0,"watchers_count":0,"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":0,"default_branch":"master"}},"base":{"label":"saurabhg22:master","ref":"master","sha":"9b5be3df8575348937d06daf6a4a6030d58dda74","user":{"login":"saurabhg22","id":15168952,"avatar_url":"https://avatars.githubusercontent.com/u/15168952?v=3","gravatar_id":"","url":"https://api.github.com/users/saurabhg22","html_url":"https://github.com/saurabhg22","followers_url":"https://api.github.com/users/saurabhg22/followers","following_url":"https://api.github.com/users/saurabhg22/following{/other_user}","gists_url":"https://api.github.com/users/saurabhg22/gists{/gist_id}","starred_url":"https://api.github.com/users/saurabhg22/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saurabhg22/subscriptions","organizations_url":"https://api.github.com/users/saurabhg22/orgs","repos_url":"https://api.github.com/users/saurabhg22/repos","events_url":"https://api.github.com/users/saurabhg22/events{/privacy}","received_events_url":"https://api.github.com/users/saurabhg22/received_events","type":"User","site_admin":false},"repo":{"id":46782929,"name":"Digital-Clock","full_name":"saurabhg22/Digital-Clock","owner":{"login":"saurabhg22","id":15168952,"avatar_url":"https://avatars.githubusercontent.com/u/15168952?v=3","gravatar_id":"","url":"https://api.github.com/users/saurabhg22","html_url":"https://github.com/saurabhg22","followers_url":"https://api.github.com/users/saurabhg22/followers","following_url":"https://api.github.com/users/saurabhg22/following{/other_user}","gists_url":"https://api.github.com/users/saurabhg22/gists{/gist_id}","starred_url":"https://api.github.com/users/saurabhg22/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saurabhg22/subscriptions","organizations_url":"https://api.github.com/users/saurabhg22/orgs","repos_url":"https://api.github.com/users/saurabhg22/repos","events_url":"https://api.github.com/users/saurabhg22/events{/privacy}","received_events_url":"https://api.github.com/users/saurabhg22/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/saurabhg22/Digital-Clock","description":"Clock using javascript","fork":false,"url":"https://api.github.com/repos/saurabhg22/Digital-Clock","forks_url":"https://api.github.com/repos/saurabhg22/Digital-Clock/forks","keys_url":"https://api.github.com/repos/saurabhg22/Digital-Clock/keys{/key_id}","collaborators_url":"https://api.github.com/repos/saurabhg22/Digital-Clock/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/saurabhg22/Digital-Clock/teams","hooks_url":"https://api.github.com/repos/saurabhg22/Digital-Clock/hooks","issue_events_url":"https://api.github.com/repos/saurabhg22/Digital-Clock/issues/events{/number}","events_url":"https://api.github.com/repos/saurabhg22/Digital-Clock/events","assignees_url":"https://api.github.com/repos/saurabhg22/Digital-Clock/assignees{/user}","branches_url":"https://api.github.com/repos/saurabhg22/Digital-Clock/branches{/branch}","tags_url":"https://api.github.com/repos/saurabhg22/Digital-Clock/tags","blobs_url":"https://api.github.com/repos/saurabhg22/Digital-Clock/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/saurabhg22/Digital-Clock/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/saurabhg22/Digital-Clock/git/refs{/sha}","trees_url":"https://api.github.com/repos/saurabhg22/Digital-Clock/git/trees{/sha}","statuses_url":"https://api.github.com/repos/saurabhg22/Digital-Clock/statuses/{sha}","languages_url":"https://api.github.com/repos/saurabhg22/Digital-Clock/languages","stargazers_url":"https://api.github.com/repos/saurabhg22/Digital-Clock/stargazers","contributors_url":"https://api.github.com/repos/saurabhg22/Digital-Clock/contributors","subscribers_url":"https://api.github.com/repos/saurabhg22/Digital-Clock/subscribers","subscription_url":"https://api.github.com/repos/saurabhg22/Digital-Clock/subscription","commits_url":"https://api.github.com/repos/saurabhg22/Digital-Clock/commits{/sha}","git_commits_url":"https://api.github.com/repos/saurabhg22/Digital-Clock/git/commits{/sha}","comments_url":"https://api.github.com/repos/saurabhg22/Digital-Clock/comments{/number}","issue_comment_url":"https://api.github.com/repos/saurabhg22/Digital-Clock/issues/comments{/number}","contents_url":"https://api.github.com/repos/saurabhg22/Digital-Clock/contents/{+path}","compare_url":"https://api.github.com/repos/saurabhg22/Digital-Clock/compare/{base}...{head}","merges_url":"https://api.github.com/repos/saurabhg22/Digital-Clock/merges","archive_url":"https://api.github.com/repos/saurabhg22/Digital-Clock/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/saurabhg22/Digital-Clock/downloads","issues_url":"https://api.github.com/repos/saurabhg22/Digital-Clock/issues{/number}","pulls_url":"https://api.github.com/repos/saurabhg22/Digital-Clock/pulls{/number}","milestones_url":"https://api.github.com/repos/saurabhg22/Digital-Clock/milestones{/number}","notifications_url":"https://api.github.com/repos/saurabhg22/Digital-Clock/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/saurabhg22/Digital-Clock/labels{/name}","releases_url":"https://api.github.com/repos/saurabhg22/Digital-Clock/releases{/id}","created_at":"2015-11-24T10:02:20Z","updated_at":"2015-11-24T10:36:31Z","pushed_at":"2015-11-30T16:17:48Z","git_url":"git://github.com/saurabhg22/Digital-Clock.git","ssh_url":"git@github.com:saurabhg22/Digital-Clock.git","clone_url":"https://github.com/saurabhg22/Digital-Clock.git","svn_url":"https://github.com/saurabhg22/Digital-Clock","homepage":null,"size":5,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":0,"forks":2,"open_issues":0,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/saurabhg22/Digital-Clock/pulls/2"},"html":{"href":"https://github.com/saurabhg22/Digital-Clock/pull/2"},"issue":{"href":"https://api.github.com/repos/saurabhg22/Digital-Clock/issues/2"},"comments":{"href":"https://api.github.com/repos/saurabhg22/Digital-Clock/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/saurabhg22/Digital-Clock/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/saurabhg22/Digital-Clock/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/saurabhg22/Digital-Clock/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/saurabhg22/Digital-Clock/statuses/3641d07e7e39b7a43212f2c373bfbb5e49f4dc6b"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"saurabhg22","id":15168952,"avatar_url":"https://avatars.githubusercontent.com/u/15168952?v=3","gravatar_id":"","url":"https://api.github.com/users/saurabhg22","html_url":"https://github.com/saurabhg22","followers_url":"https://api.github.com/users/saurabhg22/followers","following_url":"https://api.github.com/users/saurabhg22/following{/other_user}","gists_url":"https://api.github.com/users/saurabhg22/gists{/gist_id}","starred_url":"https://api.github.com/users/saurabhg22/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saurabhg22/subscriptions","organizations_url":"https://api.github.com/users/saurabhg22/orgs","repos_url":"https://api.github.com/users/saurabhg22/repos","events_url":"https://api.github.com/users/saurabhg22/events{/privacy}","received_events_url":"https://api.github.com/users/saurabhg22/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":9,"deletions":30,"changed_files":2}}