{"action":"created","comment":{"url":"https://api.github.com/repos/fcc-hyd/fcc-hyd.github.io/pulls/comments/82905616","pull_request_review_id":3780451,"id":82905616,"diff_hunk":"@@ -38,13 +38,9 @@ function time_diff(to) {\n     time_left %= ms_in_a_min;\n \n     var secs = Math.floor(time_left / ms_in_a_sec);\n-\n-    time_left = {d:days, h:hours, m:mins, s:secs};\n     \n-    document.getElementById(\"days\").innerHTML = time_left.d;\n-    document.getElementById(\"hours\").innerHTML = time_left.h;\n-    document.getElementById(\"mins\").innerHTML = time_left.m;\n-    document.getElementById(\"secs\").innerHTML = time_left.s;\n-\n-    return time_left; // returns associative array of days, hours, minutes and seconds remaining\n+    document.getElementById(\"days\").innerHTML = days;","path":"site/scripts/countdown.js","position":null,"original_position":13,"commit_id":"818e3b0bb9dd49aeab98b2463416fdcd338f8ba0","original_commit_id":"818e3b0bb9dd49aeab98b2463416fdcd338f8ba0","user":{"login":"vramana","id":3112509,"avatar_url":"https://avatars.githubusercontent.com/u/3112509?v=3","gravatar_id":"","url":"https://api.github.com/users/vramana","html_url":"https://github.com/vramana","followers_url":"https://api.github.com/users/vramana/followers","following_url":"https://api.github.com/users/vramana/following{/other_user}","gists_url":"https://api.github.com/users/vramana/gists{/gist_id}","starred_url":"https://api.github.com/users/vramana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vramana/subscriptions","organizations_url":"https://api.github.com/users/vramana/orgs","repos_url":"https://api.github.com/users/vramana/repos","events_url":"https://api.github.com/users/vramana/events{/privacy}","received_events_url":"https://api.github.com/users/vramana/received_events","type":"User","site_admin":false},"body":"Why not use jQuery here? Since we have it anyway. Code will look much shorter.","created_at":"2016-10-11T22:48:21Z","updated_at":"2016-10-11T22:48:21Z","html_url":"https://github.com/fcc-hyd/fcc-hyd.github.io/pull/25#discussion_r82905616","pull_request_url":"https://api.github.com/repos/fcc-hyd/fcc-hyd.github.io/pulls/25","_links":{"self":{"href":"https://api.github.com/repos/fcc-hyd/fcc-hyd.github.io/pulls/comments/82905616"},"html":{"href":"https://github.com/fcc-hyd/fcc-hyd.github.io/pull/25#discussion_r82905616"},"pull_request":{"href":"https://api.github.com/repos/fcc-hyd/fcc-hyd.github.io/pulls/25"}}},"pull_request":{"url":"https://api.github.com/repos/fcc-hyd/fcc-hyd.github.io/pulls/25","id":88608469,"html_url":"https://github.com/fcc-hyd/fcc-hyd.github.io/pull/25","diff_url":"https://github.com/fcc-hyd/fcc-hyd.github.io/pull/25.diff","patch_url":"https://github.com/fcc-hyd/fcc-hyd.github.io/pull/25.patch","issue_url":"https://api.github.com/repos/fcc-hyd/fcc-hyd.github.io/issues/25","number":25,"state":"open","locked":false,"title":"Added countdown timer (issue #24)","user":{"login":"IamAdiSri","id":9818842,"avatar_url":"https://avatars.githubusercontent.com/u/9818842?v=3","gravatar_id":"","url":"https://api.github.com/users/IamAdiSri","html_url":"https://github.com/IamAdiSri","followers_url":"https://api.github.com/users/IamAdiSri/followers","following_url":"https://api.github.com/users/IamAdiSri/following{/other_user}","gists_url":"https://api.github.com/users/IamAdiSri/gists{/gist_id}","starred_url":"https://api.github.com/users/IamAdiSri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IamAdiSri/subscriptions","organizations_url":"https://api.github.com/users/IamAdiSri/orgs","repos_url":"https://api.github.com/users/IamAdiSri/repos","events_url":"https://api.github.com/users/IamAdiSri/events{/privacy}","received_events_url":"https://api.github.com/users/IamAdiSri/received_events","type":"User","site_admin":false},"body":"Issue #24 \r\n\r\nI've added a js script with the countdown function. I've also added an html file which gives an example as to how one can add the timer to a webpage.\r\n\r\nThe date and time to the next meetup has to be manually entered in the JS file.\r\nCSS can be added to the following IDs : timer, days, hours, mins, sec\r\n\r\nDo I need to make any changes?","created_at":"2016-10-10T04:09:47Z","updated_at":"2016-10-11T22:48:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c91492b1f8c2375076d9f1ee83def747e67bb350","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/fcc-hyd/fcc-hyd.github.io/pulls/25/commits","review_comments_url":"https://api.github.com/repos/fcc-hyd/fcc-hyd.github.io/pulls/25/comments","review_comment_url":"https://api.github.com/repos/fcc-hyd/fcc-hyd.github.io/pulls/comments{/number}","comments_url":"https://api.github.com/repos/fcc-hyd/fcc-hyd.github.io/issues/25/comments","statuses_url":"https://api.github.com/repos/fcc-hyd/fcc-hyd.github.io/statuses/818e3b0bb9dd49aeab98b2463416fdcd338f8ba0","head":{"label":"IamAdiSri:master","ref":"master","sha":"818e3b0bb9dd49aeab98b2463416fdcd338f8ba0","user":{"login":"IamAdiSri","id":9818842,"avatar_url":"https://avatars.githubusercontent.com/u/9818842?v=3","gravatar_id":"","url":"https://api.github.com/users/IamAdiSri","html_url":"https://github.com/IamAdiSri","followers_url":"https://api.github.com/users/IamAdiSri/followers","following_url":"https://api.github.com/users/IamAdiSri/following{/other_user}","gists_url":"https://api.github.com/users/IamAdiSri/gists{/gist_id}","starred_url":"https://api.github.com/users/IamAdiSri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IamAdiSri/subscriptions","organizations_url":"https://api.github.com/users/IamAdiSri/orgs","repos_url":"https://api.github.com/users/IamAdiSri/repos","events_url":"https://api.github.com/users/IamAdiSri/events{/privacy}","received_events_url":"https://api.github.com/users/IamAdiSri/received_events","type":"User","site_admin":false},"repo":{"id":70442236,"name":"fcc-hyd.github.io","full_name":"IamAdiSri/fcc-hyd.github.io","owner":{"login":"IamAdiSri","id":9818842,"avatar_url":"https://avatars.githubusercontent.com/u/9818842?v=3","gravatar_id":"","url":"https://api.github.com/users/IamAdiSri","html_url":"https://github.com/IamAdiSri","followers_url":"https://api.github.com/users/IamAdiSri/followers","following_url":"https://api.github.com/users/IamAdiSri/following{/other_user}","gists_url":"https://api.github.com/users/IamAdiSri/gists{/gist_id}","starred_url":"https://api.github.com/users/IamAdiSri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IamAdiSri/subscriptions","organizations_url":"https://api.github.com/users/IamAdiSri/orgs","repos_url":"https://api.github.com/users/IamAdiSri/repos","events_url":"https://api.github.com/users/IamAdiSri/events{/privacy}","received_events_url":"https://api.github.com/users/IamAdiSri/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/IamAdiSri/fcc-hyd.github.io","description":"FreeCodeCamp Hyderabad ","fork":true,"url":"https://api.github.com/repos/IamAdiSri/fcc-hyd.github.io","forks_url":"https://api.github.com/repos/IamAdiSri/fcc-hyd.github.io/forks","keys_url":"https://api.github.com/repos/IamAdiSri/fcc-hyd.github.io/keys{/key_id}","collaborators_url":"https://api.github.com/repos/IamAdiSri/fcc-hyd.github.io/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/IamAdiSri/fcc-hyd.github.io/teams","hooks_url":"https://api.github.com/repos/IamAdiSri/fcc-hyd.github.io/hooks","issue_events_url":"https://api.github.com/repos/IamAdiSri/fcc-hyd.github.io/issues/events{/number}","events_url":"https://api.github.com/repos/IamAdiSri/fcc-hyd.github.io/events","assignees_url":"https://api.github.com/repos/IamAdiSri/fcc-hyd.github.io/assignees{/user}","branches_url":"https://api.github.com/repos/IamAdiSri/fcc-hyd.github.io/branches{/branch}","tags_url":"https://api.github.com/repos/IamAdiSri/fcc-hyd.github.io/tags","blobs_url":"https://api.github.com/repos/IamAdiSri/fcc-hyd.github.io/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/IamAdiSri/fcc-hyd.github.io/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/IamAdiSri/fcc-hyd.github.io/git/refs{/sha}","trees_url":"https://api.github.com/repos/IamAdiSri/fcc-hyd.github.io/git/trees{/sha}","statuses_url":"https://api.github.com/repos/IamAdiSri/fcc-hyd.github.io/statuses/{sha}","languages_url":"https://api.github.com/repos/IamAdiSri/fcc-hyd.github.io/languages","stargazers_url":"https://api.github.com/repos/IamAdiSri/fcc-hyd.github.io/stargazers","contributors_url":"https://api.github.com/repos/IamAdiSri/fcc-hyd.github.io/contributors","subscribers_url":"https://api.github.com/repos/IamAdiSri/fcc-hyd.github.io/subscribers","subscription_url":"https://api.github.com/repos/IamAdiSri/fcc-hyd.github.io/subscription","commits_url":"https://api.github.com/repos/IamAdiSri/fcc-hyd.github.io/commits{/sha}","git_commits_url":"https://api.github.com/repos/IamAdiSri/fcc-hyd.github.io/git/commits{/sha}","comments_url":"https://api.github.com/repos/IamAdiSri/fcc-hyd.github.io/comments{/number}","issue_comment_url":"https://api.github.com/repos/IamAdiSri/fcc-hyd.github.io/issues/comments{/number}","contents_url":"https://api.github.com/repos/IamAdiSri/fcc-hyd.github.io/contents/{+path}","compare_url":"https://api.github.com/repos/IamAdiSri/fcc-hyd.github.io/compare/{base}...{head}","merges_url":"https://api.github.com/repos/IamAdiSri/fcc-hyd.github.io/merges","archive_url":"https://api.github.com/repos/IamAdiSri/fcc-hyd.github.io/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/IamAdiSri/fcc-hyd.github.io/downloads","issues_url":"https://api.github.com/repos/IamAdiSri/fcc-hyd.github.io/issues{/number}","pulls_url":"https://api.github.com/repos/IamAdiSri/fcc-hyd.github.io/pulls{/number}","milestones_url":"https://api.github.com/repos/IamAdiSri/fcc-hyd.github.io/milestones{/number}","notifications_url":"https://api.github.com/repos/IamAdiSri/fcc-hyd.github.io/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/IamAdiSri/fcc-hyd.github.io/labels{/name}","releases_url":"https://api.github.com/repos/IamAdiSri/fcc-hyd.github.io/releases{/id}","deployments_url":"https://api.github.com/repos/IamAdiSri/fcc-hyd.github.io/deployments","created_at":"2016-10-10T01:46:21Z","updated_at":"2016-10-10T01:46:21Z","pushed_at":"2016-10-11T22:44:43Z","git_url":"git://github.com/IamAdiSri/fcc-hyd.github.io.git","ssh_url":"git@github.com:IamAdiSri/fcc-hyd.github.io.git","clone_url":"https://github.com/IamAdiSri/fcc-hyd.github.io.git","svn_url":"https://github.com/IamAdiSri/fcc-hyd.github.io","homepage":"https://fcc-hyd.github.io","size":6076,"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":"fcc-hyd:master","ref":"master","sha":"8196bc3b03019602bfc5d2bff358707fd97af934","user":{"login":"fcc-hyd","id":19891160,"avatar_url":"https://avatars.githubusercontent.com/u/19891160?v=3","gravatar_id":"","url":"https://api.github.com/users/fcc-hyd","html_url":"https://github.com/fcc-hyd","followers_url":"https://api.github.com/users/fcc-hyd/followers","following_url":"https://api.github.com/users/fcc-hyd/following{/other_user}","gists_url":"https://api.github.com/users/fcc-hyd/gists{/gist_id}","starred_url":"https://api.github.com/users/fcc-hyd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fcc-hyd/subscriptions","organizations_url":"https://api.github.com/users/fcc-hyd/orgs","repos_url":"https://api.github.com/users/fcc-hyd/repos","events_url":"https://api.github.com/users/fcc-hyd/events{/privacy}","received_events_url":"https://api.github.com/users/fcc-hyd/received_events","type":"Organization","site_admin":false},"repo":{"id":63241218,"name":"fcc-hyd.github.io","full_name":"fcc-hyd/fcc-hyd.github.io","owner":{"login":"fcc-hyd","id":19891160,"avatar_url":"https://avatars.githubusercontent.com/u/19891160?v=3","gravatar_id":"","url":"https://api.github.com/users/fcc-hyd","html_url":"https://github.com/fcc-hyd","followers_url":"https://api.github.com/users/fcc-hyd/followers","following_url":"https://api.github.com/users/fcc-hyd/following{/other_user}","gists_url":"https://api.github.com/users/fcc-hyd/gists{/gist_id}","starred_url":"https://api.github.com/users/fcc-hyd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fcc-hyd/subscriptions","organizations_url":"https://api.github.com/users/fcc-hyd/orgs","repos_url":"https://api.github.com/users/fcc-hyd/repos","events_url":"https://api.github.com/users/fcc-hyd/events{/privacy}","received_events_url":"https://api.github.com/users/fcc-hyd/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/fcc-hyd/fcc-hyd.github.io","description":"FreeCodeCamp Hyderabad ","fork":false,"url":"https://api.github.com/repos/fcc-hyd/fcc-hyd.github.io","forks_url":"https://api.github.com/repos/fcc-hyd/fcc-hyd.github.io/forks","keys_url":"https://api.github.com/repos/fcc-hyd/fcc-hyd.github.io/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fcc-hyd/fcc-hyd.github.io/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fcc-hyd/fcc-hyd.github.io/teams","hooks_url":"https://api.github.com/repos/fcc-hyd/fcc-hyd.github.io/hooks","issue_events_url":"https://api.github.com/repos/fcc-hyd/fcc-hyd.github.io/issues/events{/number}","events_url":"https://api.github.com/repos/fcc-hyd/fcc-hyd.github.io/events","assignees_url":"https://api.github.com/repos/fcc-hyd/fcc-hyd.github.io/assignees{/user}","branches_url":"https://api.github.com/repos/fcc-hyd/fcc-hyd.github.io/branches{/branch}","tags_url":"https://api.github.com/repos/fcc-hyd/fcc-hyd.github.io/tags","blobs_url":"https://api.github.com/repos/fcc-hyd/fcc-hyd.github.io/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fcc-hyd/fcc-hyd.github.io/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fcc-hyd/fcc-hyd.github.io/git/refs{/sha}","trees_url":"https://api.github.com/repos/fcc-hyd/fcc-hyd.github.io/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fcc-hyd/fcc-hyd.github.io/statuses/{sha}","languages_url":"https://api.github.com/repos/fcc-hyd/fcc-hyd.github.io/languages","stargazers_url":"https://api.github.com/repos/fcc-hyd/fcc-hyd.github.io/stargazers","contributors_url":"https://api.github.com/repos/fcc-hyd/fcc-hyd.github.io/contributors","subscribers_url":"https://api.github.com/repos/fcc-hyd/fcc-hyd.github.io/subscribers","subscription_url":"https://api.github.com/repos/fcc-hyd/fcc-hyd.github.io/subscription","commits_url":"https://api.github.com/repos/fcc-hyd/fcc-hyd.github.io/commits{/sha}","git_commits_url":"https://api.github.com/repos/fcc-hyd/fcc-hyd.github.io/git/commits{/sha}","comments_url":"https://api.github.com/repos/fcc-hyd/fcc-hyd.github.io/comments{/number}","issue_comment_url":"https://api.github.com/repos/fcc-hyd/fcc-hyd.github.io/issues/comments{/number}","contents_url":"https://api.github.com/repos/fcc-hyd/fcc-hyd.github.io/contents/{+path}","compare_url":"https://api.github.com/repos/fcc-hyd/fcc-hyd.github.io/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fcc-hyd/fcc-hyd.github.io/merges","archive_url":"https://api.github.com/repos/fcc-hyd/fcc-hyd.github.io/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fcc-hyd/fcc-hyd.github.io/downloads","issues_url":"https://api.github.com/repos/fcc-hyd/fcc-hyd.github.io/issues{/number}","pulls_url":"https://api.github.com/repos/fcc-hyd/fcc-hyd.github.io/pulls{/number}","milestones_url":"https://api.github.com/repos/fcc-hyd/fcc-hyd.github.io/milestones{/number}","notifications_url":"https://api.github.com/repos/fcc-hyd/fcc-hyd.github.io/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fcc-hyd/fcc-hyd.github.io/labels{/name}","releases_url":"https://api.github.com/repos/fcc-hyd/fcc-hyd.github.io/releases{/id}","deployments_url":"https://api.github.com/repos/fcc-hyd/fcc-hyd.github.io/deployments","created_at":"2016-07-13T11:41:53Z","updated_at":"2016-10-10T16:52:06Z","pushed_at":"2016-10-11T22:44:44Z","git_url":"git://github.com/fcc-hyd/fcc-hyd.github.io.git","ssh_url":"git@github.com:fcc-hyd/fcc-hyd.github.io.git","clone_url":"https://github.com/fcc-hyd/fcc-hyd.github.io.git","svn_url":"https://github.com/fcc-hyd/fcc-hyd.github.io","homepage":"https://fcc-hyd.github.io","size":4442,"stargazers_count":8,"watchers_count":8,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":13,"mirror_url":null,"open_issues_count":9,"forks":13,"open_issues":9,"watchers":8,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/fcc-hyd/fcc-hyd.github.io/pulls/25"},"html":{"href":"https://github.com/fcc-hyd/fcc-hyd.github.io/pull/25"},"issue":{"href":"https://api.github.com/repos/fcc-hyd/fcc-hyd.github.io/issues/25"},"comments":{"href":"https://api.github.com/repos/fcc-hyd/fcc-hyd.github.io/issues/25/comments"},"review_comments":{"href":"https://api.github.com/repos/fcc-hyd/fcc-hyd.github.io/pulls/25/comments"},"review_comment":{"href":"https://api.github.com/repos/fcc-hyd/fcc-hyd.github.io/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/fcc-hyd/fcc-hyd.github.io/pulls/25/commits"},"statuses":{"href":"https://api.github.com/repos/fcc-hyd/fcc-hyd.github.io/statuses/818e3b0bb9dd49aeab98b2463416fdcd338f8ba0"}}}}
{"actor":{"display_login":"vramana"}}