{"action":"created","comment":{"url":"https://api.github.com/repos/JSCRIPT300-Spring2016/Module_2/pulls/comments/61208166","id":61208166,"diff_hunk":"@@ -0,0 +1,113 @@\n+'use strict';\n+var timeMachine = ( function iife() {\n+\n+  var month = new Array( 12 ) ;\n+  month[0] = 'January';\n+  month[1] = 'February';\n+  month[2] = 'March';\n+  month[3] = 'April';\n+  month[4] = 'May';\n+  month[5] = 'June';\n+  month[6] = 'July';\n+  month[7] = 'August';\n+  month[8] = 'September';\n+  month[9] = 'October';\n+  month[10] = 'November';\n+  month[11] = 'December';\n+\n+  var weekday = new Array( 7 );","path":"timeMachine.js","position":18,"original_position":18,"commit_id":"3a51c9cc57985cddca65163e540a71f2a016364c","original_commit_id":"3a51c9cc57985cddca65163e540a71f2a016364c","user":{"login":"jamdon","id":10747092,"avatar_url":"https://avatars.githubusercontent.com/u/10747092?v=3","gravatar_id":"","url":"https://api.github.com/users/jamdon","html_url":"https://github.com/jamdon","followers_url":"https://api.github.com/users/jamdon/followers","following_url":"https://api.github.com/users/jamdon/following{/other_user}","gists_url":"https://api.github.com/users/jamdon/gists{/gist_id}","starred_url":"https://api.github.com/users/jamdon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamdon/subscriptions","organizations_url":"https://api.github.com/users/jamdon/orgs","repos_url":"https://api.github.com/users/jamdon/repos","events_url":"https://api.github.com/users/jamdon/events{/privacy}","received_events_url":"https://api.github.com/users/jamdon/received_events","type":"User","site_admin":false},"body":"Same thing here - always prefer using an array literal:\r\n\r\n`var weekday = ['Sunday', 'Monday', 'Tuesday', ...];`","created_at":"2016-04-27T06:07:23Z","updated_at":"2016-04-27T06:07:23Z","html_url":"https://github.com/JSCRIPT300-Spring2016/Module_2/pull/15#discussion_r61208166","pull_request_url":"https://api.github.com/repos/JSCRIPT300-Spring2016/Module_2/pulls/15","_links":{"self":{"href":"https://api.github.com/repos/JSCRIPT300-Spring2016/Module_2/pulls/comments/61208166"},"html":{"href":"https://github.com/JSCRIPT300-Spring2016/Module_2/pull/15#discussion_r61208166"},"pull_request":{"href":"https://api.github.com/repos/JSCRIPT300-Spring2016/Module_2/pulls/15"}}},"pull_request":{"url":"https://api.github.com/repos/JSCRIPT300-Spring2016/Module_2/pulls/15","id":67563767,"html_url":"https://github.com/JSCRIPT300-Spring2016/Module_2/pull/15","diff_url":"https://github.com/JSCRIPT300-Spring2016/Module_2/pull/15.diff","patch_url":"https://github.com/JSCRIPT300-Spring2016/Module_2/pull/15.patch","issue_url":"https://api.github.com/repos/JSCRIPT300-Spring2016/Module_2/issues/15","number":15,"state":"open","locked":false,"title":"Assignment 2","user":{"login":"heidiflammable","id":873889,"avatar_url":"https://avatars.githubusercontent.com/u/873889?v=3","gravatar_id":"","url":"https://api.github.com/users/heidiflammable","html_url":"https://github.com/heidiflammable","followers_url":"https://api.github.com/users/heidiflammable/followers","following_url":"https://api.github.com/users/heidiflammable/following{/other_user}","gists_url":"https://api.github.com/users/heidiflammable/gists{/gist_id}","starred_url":"https://api.github.com/users/heidiflammable/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/heidiflammable/subscriptions","organizations_url":"https://api.github.com/users/heidiflammable/orgs","repos_url":"https://api.github.com/users/heidiflammable/repos","events_url":"https://api.github.com/users/heidiflammable/events{/privacy}","received_events_url":"https://api.github.com/users/heidiflammable/received_events","type":"User","site_admin":false},"body":"Pull request for assignment 2","created_at":"2016-04-22T19:52:18Z","updated_at":"2016-04-27T06:07:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5ce302f08262b991114c644346ab5fafc943b433","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/JSCRIPT300-Spring2016/Module_2/pulls/15/commits","review_comments_url":"https://api.github.com/repos/JSCRIPT300-Spring2016/Module_2/pulls/15/comments","review_comment_url":"https://api.github.com/repos/JSCRIPT300-Spring2016/Module_2/pulls/comments{/number}","comments_url":"https://api.github.com/repos/JSCRIPT300-Spring2016/Module_2/issues/15/comments","statuses_url":"https://api.github.com/repos/JSCRIPT300-Spring2016/Module_2/statuses/3a51c9cc57985cddca65163e540a71f2a016364c","head":{"label":"heidiflammable:master","ref":"master","sha":"3a51c9cc57985cddca65163e540a71f2a016364c","user":{"login":"heidiflammable","id":873889,"avatar_url":"https://avatars.githubusercontent.com/u/873889?v=3","gravatar_id":"","url":"https://api.github.com/users/heidiflammable","html_url":"https://github.com/heidiflammable","followers_url":"https://api.github.com/users/heidiflammable/followers","following_url":"https://api.github.com/users/heidiflammable/following{/other_user}","gists_url":"https://api.github.com/users/heidiflammable/gists{/gist_id}","starred_url":"https://api.github.com/users/heidiflammable/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/heidiflammable/subscriptions","organizations_url":"https://api.github.com/users/heidiflammable/orgs","repos_url":"https://api.github.com/users/heidiflammable/repos","events_url":"https://api.github.com/users/heidiflammable/events{/privacy}","received_events_url":"https://api.github.com/users/heidiflammable/received_events","type":"User","site_admin":false},"repo":{"id":56390099,"name":"Module_2","full_name":"heidiflammable/Module_2","owner":{"login":"heidiflammable","id":873889,"avatar_url":"https://avatars.githubusercontent.com/u/873889?v=3","gravatar_id":"","url":"https://api.github.com/users/heidiflammable","html_url":"https://github.com/heidiflammable","followers_url":"https://api.github.com/users/heidiflammable/followers","following_url":"https://api.github.com/users/heidiflammable/following{/other_user}","gists_url":"https://api.github.com/users/heidiflammable/gists{/gist_id}","starred_url":"https://api.github.com/users/heidiflammable/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/heidiflammable/subscriptions","organizations_url":"https://api.github.com/users/heidiflammable/orgs","repos_url":"https://api.github.com/users/heidiflammable/repos","events_url":"https://api.github.com/users/heidiflammable/events{/privacy}","received_events_url":"https://api.github.com/users/heidiflammable/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/heidiflammable/Module_2","description":"week 2 timeMachine","fork":true,"url":"https://api.github.com/repos/heidiflammable/Module_2","forks_url":"https://api.github.com/repos/heidiflammable/Module_2/forks","keys_url":"https://api.github.com/repos/heidiflammable/Module_2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/heidiflammable/Module_2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/heidiflammable/Module_2/teams","hooks_url":"https://api.github.com/repos/heidiflammable/Module_2/hooks","issue_events_url":"https://api.github.com/repos/heidiflammable/Module_2/issues/events{/number}","events_url":"https://api.github.com/repos/heidiflammable/Module_2/events","assignees_url":"https://api.github.com/repos/heidiflammable/Module_2/assignees{/user}","branches_url":"https://api.github.com/repos/heidiflammable/Module_2/branches{/branch}","tags_url":"https://api.github.com/repos/heidiflammable/Module_2/tags","blobs_url":"https://api.github.com/repos/heidiflammable/Module_2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/heidiflammable/Module_2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/heidiflammable/Module_2/git/refs{/sha}","trees_url":"https://api.github.com/repos/heidiflammable/Module_2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/heidiflammable/Module_2/statuses/{sha}","languages_url":"https://api.github.com/repos/heidiflammable/Module_2/languages","stargazers_url":"https://api.github.com/repos/heidiflammable/Module_2/stargazers","contributors_url":"https://api.github.com/repos/heidiflammable/Module_2/contributors","subscribers_url":"https://api.github.com/repos/heidiflammable/Module_2/subscribers","subscription_url":"https://api.github.com/repos/heidiflammable/Module_2/subscription","commits_url":"https://api.github.com/repos/heidiflammable/Module_2/commits{/sha}","git_commits_url":"https://api.github.com/repos/heidiflammable/Module_2/git/commits{/sha}","comments_url":"https://api.github.com/repos/heidiflammable/Module_2/comments{/number}","issue_comment_url":"https://api.github.com/repos/heidiflammable/Module_2/issues/comments{/number}","contents_url":"https://api.github.com/repos/heidiflammable/Module_2/contents/{+path}","compare_url":"https://api.github.com/repos/heidiflammable/Module_2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/heidiflammable/Module_2/merges","archive_url":"https://api.github.com/repos/heidiflammable/Module_2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/heidiflammable/Module_2/downloads","issues_url":"https://api.github.com/repos/heidiflammable/Module_2/issues{/number}","pulls_url":"https://api.github.com/repos/heidiflammable/Module_2/pulls{/number}","milestones_url":"https://api.github.com/repos/heidiflammable/Module_2/milestones{/number}","notifications_url":"https://api.github.com/repos/heidiflammable/Module_2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/heidiflammable/Module_2/labels{/name}","releases_url":"https://api.github.com/repos/heidiflammable/Module_2/releases{/id}","deployments_url":"https://api.github.com/repos/heidiflammable/Module_2/deployments","created_at":"2016-04-16T15:12:06Z","updated_at":"2016-04-22T01:52:01Z","pushed_at":"2016-04-24T22:56:39Z","git_url":"git://github.com/heidiflammable/Module_2.git","ssh_url":"git@github.com:heidiflammable/Module_2.git","clone_url":"https://github.com/heidiflammable/Module_2.git","svn_url":"https://github.com/heidiflammable/Module_2","homepage":"","size":5,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"JSCRIPT300-Spring2016:master","ref":"master","sha":"e4b5e4d4d33854eec98b656c5944719c3aa6a270","user":{"login":"JSCRIPT300-Spring2016","id":18176498,"avatar_url":"https://avatars.githubusercontent.com/u/18176498?v=3","gravatar_id":"","url":"https://api.github.com/users/JSCRIPT300-Spring2016","html_url":"https://github.com/JSCRIPT300-Spring2016","followers_url":"https://api.github.com/users/JSCRIPT300-Spring2016/followers","following_url":"https://api.github.com/users/JSCRIPT300-Spring2016/following{/other_user}","gists_url":"https://api.github.com/users/JSCRIPT300-Spring2016/gists{/gist_id}","starred_url":"https://api.github.com/users/JSCRIPT300-Spring2016/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JSCRIPT300-Spring2016/subscriptions","organizations_url":"https://api.github.com/users/JSCRIPT300-Spring2016/orgs","repos_url":"https://api.github.com/users/JSCRIPT300-Spring2016/repos","events_url":"https://api.github.com/users/JSCRIPT300-Spring2016/events{/privacy}","received_events_url":"https://api.github.com/users/JSCRIPT300-Spring2016/received_events","type":"Organization","site_admin":false},"repo":{"id":56011051,"name":"Module_2","full_name":"JSCRIPT300-Spring2016/Module_2","owner":{"login":"JSCRIPT300-Spring2016","id":18176498,"avatar_url":"https://avatars.githubusercontent.com/u/18176498?v=3","gravatar_id":"","url":"https://api.github.com/users/JSCRIPT300-Spring2016","html_url":"https://github.com/JSCRIPT300-Spring2016","followers_url":"https://api.github.com/users/JSCRIPT300-Spring2016/followers","following_url":"https://api.github.com/users/JSCRIPT300-Spring2016/following{/other_user}","gists_url":"https://api.github.com/users/JSCRIPT300-Spring2016/gists{/gist_id}","starred_url":"https://api.github.com/users/JSCRIPT300-Spring2016/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JSCRIPT300-Spring2016/subscriptions","organizations_url":"https://api.github.com/users/JSCRIPT300-Spring2016/orgs","repos_url":"https://api.github.com/users/JSCRIPT300-Spring2016/repos","events_url":"https://api.github.com/users/JSCRIPT300-Spring2016/events{/privacy}","received_events_url":"https://api.github.com/users/JSCRIPT300-Spring2016/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/JSCRIPT300-Spring2016/Module_2","description":"","fork":false,"url":"https://api.github.com/repos/JSCRIPT300-Spring2016/Module_2","forks_url":"https://api.github.com/repos/JSCRIPT300-Spring2016/Module_2/forks","keys_url":"https://api.github.com/repos/JSCRIPT300-Spring2016/Module_2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JSCRIPT300-Spring2016/Module_2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JSCRIPT300-Spring2016/Module_2/teams","hooks_url":"https://api.github.com/repos/JSCRIPT300-Spring2016/Module_2/hooks","issue_events_url":"https://api.github.com/repos/JSCRIPT300-Spring2016/Module_2/issues/events{/number}","events_url":"https://api.github.com/repos/JSCRIPT300-Spring2016/Module_2/events","assignees_url":"https://api.github.com/repos/JSCRIPT300-Spring2016/Module_2/assignees{/user}","branches_url":"https://api.github.com/repos/JSCRIPT300-Spring2016/Module_2/branches{/branch}","tags_url":"https://api.github.com/repos/JSCRIPT300-Spring2016/Module_2/tags","blobs_url":"https://api.github.com/repos/JSCRIPT300-Spring2016/Module_2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JSCRIPT300-Spring2016/Module_2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JSCRIPT300-Spring2016/Module_2/git/refs{/sha}","trees_url":"https://api.github.com/repos/JSCRIPT300-Spring2016/Module_2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JSCRIPT300-Spring2016/Module_2/statuses/{sha}","languages_url":"https://api.github.com/repos/JSCRIPT300-Spring2016/Module_2/languages","stargazers_url":"https://api.github.com/repos/JSCRIPT300-Spring2016/Module_2/stargazers","contributors_url":"https://api.github.com/repos/JSCRIPT300-Spring2016/Module_2/contributors","subscribers_url":"https://api.github.com/repos/JSCRIPT300-Spring2016/Module_2/subscribers","subscription_url":"https://api.github.com/repos/JSCRIPT300-Spring2016/Module_2/subscription","commits_url":"https://api.github.com/repos/JSCRIPT300-Spring2016/Module_2/commits{/sha}","git_commits_url":"https://api.github.com/repos/JSCRIPT300-Spring2016/Module_2/git/commits{/sha}","comments_url":"https://api.github.com/repos/JSCRIPT300-Spring2016/Module_2/comments{/number}","issue_comment_url":"https://api.github.com/repos/JSCRIPT300-Spring2016/Module_2/issues/comments{/number}","contents_url":"https://api.github.com/repos/JSCRIPT300-Spring2016/Module_2/contents/{+path}","compare_url":"https://api.github.com/repos/JSCRIPT300-Spring2016/Module_2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JSCRIPT300-Spring2016/Module_2/merges","archive_url":"https://api.github.com/repos/JSCRIPT300-Spring2016/Module_2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JSCRIPT300-Spring2016/Module_2/downloads","issues_url":"https://api.github.com/repos/JSCRIPT300-Spring2016/Module_2/issues{/number}","pulls_url":"https://api.github.com/repos/JSCRIPT300-Spring2016/Module_2/pulls{/number}","milestones_url":"https://api.github.com/repos/JSCRIPT300-Spring2016/Module_2/milestones{/number}","notifications_url":"https://api.github.com/repos/JSCRIPT300-Spring2016/Module_2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JSCRIPT300-Spring2016/Module_2/labels{/name}","releases_url":"https://api.github.com/repos/JSCRIPT300-Spring2016/Module_2/releases{/id}","deployments_url":"https://api.github.com/repos/JSCRIPT300-Spring2016/Module_2/deployments","created_at":"2016-04-11T22:03:12Z","updated_at":"2016-04-11T22:03:12Z","pushed_at":"2016-04-26T20:09:56Z","git_url":"git://github.com/JSCRIPT300-Spring2016/Module_2.git","ssh_url":"git@github.com:JSCRIPT300-Spring2016/Module_2.git","clone_url":"https://github.com/JSCRIPT300-Spring2016/Module_2.git","svn_url":"https://github.com/JSCRIPT300-Spring2016/Module_2","homepage":null,"size":2,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":19,"mirror_url":null,"open_issues_count":10,"forks":19,"open_issues":10,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/JSCRIPT300-Spring2016/Module_2/pulls/15"},"html":{"href":"https://github.com/JSCRIPT300-Spring2016/Module_2/pull/15"},"issue":{"href":"https://api.github.com/repos/JSCRIPT300-Spring2016/Module_2/issues/15"},"comments":{"href":"https://api.github.com/repos/JSCRIPT300-Spring2016/Module_2/issues/15/comments"},"review_comments":{"href":"https://api.github.com/repos/JSCRIPT300-Spring2016/Module_2/pulls/15/comments"},"review_comment":{"href":"https://api.github.com/repos/JSCRIPT300-Spring2016/Module_2/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/JSCRIPT300-Spring2016/Module_2/pulls/15/commits"},"statuses":{"href":"https://api.github.com/repos/JSCRIPT300-Spring2016/Module_2/statuses/3a51c9cc57985cddca65163e540a71f2a016364c"}}}}