{"action":"closed","number":37,"pull_request":{"url":"https://api.github.com/repos/advanced-js/countdown/pulls/37","id":33627596,"html_url":"https://github.com/advanced-js/countdown/pull/37","diff_url":"https://github.com/advanced-js/countdown/pull/37.diff","patch_url":"https://github.com/advanced-js/countdown/pull/37.patch","issue_url":"https://api.github.com/repos/advanced-js/countdown/issues/37","number":37,"state":"closed","locked":false,"title":"Completed countdown function","user":{"login":"agrinb","id":6082233,"avatar_url":"https://avatars.githubusercontent.com/u/6082233?v=3","gravatar_id":"","url":"https://api.github.com/users/agrinb","html_url":"https://github.com/agrinb","followers_url":"https://api.github.com/users/agrinb/followers","following_url":"https://api.github.com/users/agrinb/following{/other_user}","gists_url":"https://api.github.com/users/agrinb/gists{/gist_id}","starred_url":"https://api.github.com/users/agrinb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agrinb/subscriptions","organizations_url":"https://api.github.com/users/agrinb/orgs","repos_url":"https://api.github.com/users/agrinb/repos","events_url":"https://api.github.com/users/agrinb/events{/privacy}","received_events_url":"https://api.github.com/users/agrinb/received_events","type":"User","site_admin":false},"body":"I'm not creating new variable in this function. Is this the preferred(\"bonus\") way to do this?","created_at":"2015-04-19T22:54:58Z","updated_at":"2015-05-21T04:17:49Z","closed_at":"2015-05-21T04:17:49Z","merged_at":null,"merge_commit_sha":"d9a480635612977a0c680da32401cb2638333581","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/advanced-js/countdown/pulls/37/commits","review_comments_url":"https://api.github.com/repos/advanced-js/countdown/pulls/37/comments","review_comment_url":"https://api.github.com/repos/advanced-js/countdown/pulls/comments{/number}","comments_url":"https://api.github.com/repos/advanced-js/countdown/issues/37/comments","statuses_url":"https://api.github.com/repos/advanced-js/countdown/statuses/0b68388bf6f3fa8590e8f8be7d035d381b82a1b3","head":{"label":"agrinb:gh-pages","ref":"gh-pages","sha":"0b68388bf6f3fa8590e8f8be7d035d381b82a1b3","user":{"login":"agrinb","id":6082233,"avatar_url":"https://avatars.githubusercontent.com/u/6082233?v=3","gravatar_id":"","url":"https://api.github.com/users/agrinb","html_url":"https://github.com/agrinb","followers_url":"https://api.github.com/users/agrinb/followers","following_url":"https://api.github.com/users/agrinb/following{/other_user}","gists_url":"https://api.github.com/users/agrinb/gists{/gist_id}","starred_url":"https://api.github.com/users/agrinb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agrinb/subscriptions","organizations_url":"https://api.github.com/users/agrinb/orgs","repos_url":"https://api.github.com/users/agrinb/repos","events_url":"https://api.github.com/users/agrinb/events{/privacy}","received_events_url":"https://api.github.com/users/agrinb/received_events","type":"User","site_admin":false},"repo":{"id":34219523,"name":"countdown","full_name":"agrinb/countdown","owner":{"login":"agrinb","id":6082233,"avatar_url":"https://avatars.githubusercontent.com/u/6082233?v=3","gravatar_id":"","url":"https://api.github.com/users/agrinb","html_url":"https://github.com/agrinb","followers_url":"https://api.github.com/users/agrinb/followers","following_url":"https://api.github.com/users/agrinb/following{/other_user}","gists_url":"https://api.github.com/users/agrinb/gists{/gist_id}","starred_url":"https://api.github.com/users/agrinb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agrinb/subscriptions","organizations_url":"https://api.github.com/users/agrinb/orgs","repos_url":"https://api.github.com/users/agrinb/repos","events_url":"https://api.github.com/users/agrinb/events{/privacy}","received_events_url":"https://api.github.com/users/agrinb/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/agrinb/countdown","description":"countdown exercise","fork":true,"url":"https://api.github.com/repos/agrinb/countdown","forks_url":"https://api.github.com/repos/agrinb/countdown/forks","keys_url":"https://api.github.com/repos/agrinb/countdown/keys{/key_id}","collaborators_url":"https://api.github.com/repos/agrinb/countdown/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/agrinb/countdown/teams","hooks_url":"https://api.github.com/repos/agrinb/countdown/hooks","issue_events_url":"https://api.github.com/repos/agrinb/countdown/issues/events{/number}","events_url":"https://api.github.com/repos/agrinb/countdown/events","assignees_url":"https://api.github.com/repos/agrinb/countdown/assignees{/user}","branches_url":"https://api.github.com/repos/agrinb/countdown/branches{/branch}","tags_url":"https://api.github.com/repos/agrinb/countdown/tags","blobs_url":"https://api.github.com/repos/agrinb/countdown/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/agrinb/countdown/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/agrinb/countdown/git/refs{/sha}","trees_url":"https://api.github.com/repos/agrinb/countdown/git/trees{/sha}","statuses_url":"https://api.github.com/repos/agrinb/countdown/statuses/{sha}","languages_url":"https://api.github.com/repos/agrinb/countdown/languages","stargazers_url":"https://api.github.com/repos/agrinb/countdown/stargazers","contributors_url":"https://api.github.com/repos/agrinb/countdown/contributors","subscribers_url":"https://api.github.com/repos/agrinb/countdown/subscribers","subscription_url":"https://api.github.com/repos/agrinb/countdown/subscription","commits_url":"https://api.github.com/repos/agrinb/countdown/commits{/sha}","git_commits_url":"https://api.github.com/repos/agrinb/countdown/git/commits{/sha}","comments_url":"https://api.github.com/repos/agrinb/countdown/comments{/number}","issue_comment_url":"https://api.github.com/repos/agrinb/countdown/issues/comments{/number}","contents_url":"https://api.github.com/repos/agrinb/countdown/contents/{+path}","compare_url":"https://api.github.com/repos/agrinb/countdown/compare/{base}...{head}","merges_url":"https://api.github.com/repos/agrinb/countdown/merges","archive_url":"https://api.github.com/repos/agrinb/countdown/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/agrinb/countdown/downloads","issues_url":"https://api.github.com/repos/agrinb/countdown/issues{/number}","pulls_url":"https://api.github.com/repos/agrinb/countdown/pulls{/number}","milestones_url":"https://api.github.com/repos/agrinb/countdown/milestones{/number}","notifications_url":"https://api.github.com/repos/agrinb/countdown/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/agrinb/countdown/labels{/name}","releases_url":"https://api.github.com/repos/agrinb/countdown/releases{/id}","created_at":"2015-04-19T18:50:41Z","updated_at":"2015-04-19T22:48:11Z","pushed_at":"2015-04-19T22:48:10Z","git_url":"git://github.com/agrinb/countdown.git","ssh_url":"git@github.com:agrinb/countdown.git","clone_url":"https://github.com/agrinb/countdown.git","svn_url":"https://github.com/agrinb/countdown","homepage":null,"size":84,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"gh-pages"}},"base":{"label":"advanced-js:gh-pages","ref":"gh-pages","sha":"80d00f17d236e59ad161c559c6f58b89cd1aac81","user":{"login":"advanced-js","id":7143770,"avatar_url":"https://avatars.githubusercontent.com/u/7143770?v=3","gravatar_id":"","url":"https://api.github.com/users/advanced-js","html_url":"https://github.com/advanced-js","followers_url":"https://api.github.com/users/advanced-js/followers","following_url":"https://api.github.com/users/advanced-js/following{/other_user}","gists_url":"https://api.github.com/users/advanced-js/gists{/gist_id}","starred_url":"https://api.github.com/users/advanced-js/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/advanced-js/subscriptions","organizations_url":"https://api.github.com/users/advanced-js/orgs","repos_url":"https://api.github.com/users/advanced-js/repos","events_url":"https://api.github.com/users/advanced-js/events{/privacy}","received_events_url":"https://api.github.com/users/advanced-js/received_events","type":"Organization","site_admin":false},"repo":{"id":18460637,"name":"countdown","full_name":"advanced-js/countdown","owner":{"login":"advanced-js","id":7143770,"avatar_url":"https://avatars.githubusercontent.com/u/7143770?v=3","gravatar_id":"","url":"https://api.github.com/users/advanced-js","html_url":"https://github.com/advanced-js","followers_url":"https://api.github.com/users/advanced-js/followers","following_url":"https://api.github.com/users/advanced-js/following{/other_user}","gists_url":"https://api.github.com/users/advanced-js/gists{/gist_id}","starred_url":"https://api.github.com/users/advanced-js/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/advanced-js/subscriptions","organizations_url":"https://api.github.com/users/advanced-js/orgs","repos_url":"https://api.github.com/users/advanced-js/repos","events_url":"https://api.github.com/users/advanced-js/events{/privacy}","received_events_url":"https://api.github.com/users/advanced-js/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/advanced-js/countdown","description":"countdown exercise","fork":false,"url":"https://api.github.com/repos/advanced-js/countdown","forks_url":"https://api.github.com/repos/advanced-js/countdown/forks","keys_url":"https://api.github.com/repos/advanced-js/countdown/keys{/key_id}","collaborators_url":"https://api.github.com/repos/advanced-js/countdown/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/advanced-js/countdown/teams","hooks_url":"https://api.github.com/repos/advanced-js/countdown/hooks","issue_events_url":"https://api.github.com/repos/advanced-js/countdown/issues/events{/number}","events_url":"https://api.github.com/repos/advanced-js/countdown/events","assignees_url":"https://api.github.com/repos/advanced-js/countdown/assignees{/user}","branches_url":"https://api.github.com/repos/advanced-js/countdown/branches{/branch}","tags_url":"https://api.github.com/repos/advanced-js/countdown/tags","blobs_url":"https://api.github.com/repos/advanced-js/countdown/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/advanced-js/countdown/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/advanced-js/countdown/git/refs{/sha}","trees_url":"https://api.github.com/repos/advanced-js/countdown/git/trees{/sha}","statuses_url":"https://api.github.com/repos/advanced-js/countdown/statuses/{sha}","languages_url":"https://api.github.com/repos/advanced-js/countdown/languages","stargazers_url":"https://api.github.com/repos/advanced-js/countdown/stargazers","contributors_url":"https://api.github.com/repos/advanced-js/countdown/contributors","subscribers_url":"https://api.github.com/repos/advanced-js/countdown/subscribers","subscription_url":"https://api.github.com/repos/advanced-js/countdown/subscription","commits_url":"https://api.github.com/repos/advanced-js/countdown/commits{/sha}","git_commits_url":"https://api.github.com/repos/advanced-js/countdown/git/commits{/sha}","comments_url":"https://api.github.com/repos/advanced-js/countdown/comments{/number}","issue_comment_url":"https://api.github.com/repos/advanced-js/countdown/issues/comments{/number}","contents_url":"https://api.github.com/repos/advanced-js/countdown/contents/{+path}","compare_url":"https://api.github.com/repos/advanced-js/countdown/compare/{base}...{head}","merges_url":"https://api.github.com/repos/advanced-js/countdown/merges","archive_url":"https://api.github.com/repos/advanced-js/countdown/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/advanced-js/countdown/downloads","issues_url":"https://api.github.com/repos/advanced-js/countdown/issues{/number}","pulls_url":"https://api.github.com/repos/advanced-js/countdown/pulls{/number}","milestones_url":"https://api.github.com/repos/advanced-js/countdown/milestones{/number}","notifications_url":"https://api.github.com/repos/advanced-js/countdown/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/advanced-js/countdown/labels{/name}","releases_url":"https://api.github.com/repos/advanced-js/countdown/releases{/id}","created_at":"2014-04-05T05:26:21Z","updated_at":"2014-04-23T09:20:21Z","pushed_at":"2015-04-30T21:01:07Z","git_url":"git://github.com/advanced-js/countdown.git","ssh_url":"git@github.com:advanced-js/countdown.git","clone_url":"https://github.com/advanced-js/countdown.git","svn_url":"https://github.com/advanced-js/countdown","homepage":null,"size":320,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":39,"mirror_url":null,"open_issues_count":4,"forks":39,"open_issues":4,"watchers":0,"default_branch":"gh-pages"}},"_links":{"self":{"href":"https://api.github.com/repos/advanced-js/countdown/pulls/37"},"html":{"href":"https://github.com/advanced-js/countdown/pull/37"},"issue":{"href":"https://api.github.com/repos/advanced-js/countdown/issues/37"},"comments":{"href":"https://api.github.com/repos/advanced-js/countdown/issues/37/comments"},"review_comments":{"href":"https://api.github.com/repos/advanced-js/countdown/pulls/37/comments"},"review_comment":{"href":"https://api.github.com/repos/advanced-js/countdown/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/advanced-js/countdown/pulls/37/commits"},"statuses":{"href":"https://api.github.com/repos/advanced-js/countdown/statuses/0b68388bf6f3fa8590e8f8be7d035d381b82a1b3"}},"merged":false,"mergeable":true,"mergeable_state":"unstable","merged_by":null,"comments":2,"review_comments":1,"commits":1,"additions":12,"deletions":2,"changed_files":1}}