{"action":"created","comment":{"url":"https://api.github.com/repos/nzediegwu1/EventManager/pulls/comments/184917149","pull_request_review_id":116203761,"id":184917149,"diff_hunk":"@@ -0,0 +1,56 @@\n+/// <reference path=\"jquery.js\" />\n+/// <reference path=\"bootstrap.js\" />\n+$(document).ready(() => {\n+  $('#deleteEvent').click(() => {\n+    const sure = confirm('Are you sure you want to delete Event?');\n+    if (sure) {\n+      alert('Event Deleted');\n+      window.location = 'MyEvents.html';\n+    }\n+  });\n+  $('#deleteCenter').click(() => {\n+    const sure = confirm('Are you sure you want to delete Center?');\n+    if (sure) {\n+      alert('Center Deleted');\n+      window.location = 'MyCenters.html';\n+    }\n+  });\n+  $('#addEvent').click(() => {\n+    $('.createEvent').text('Create');\n+    $('#addNewEventTitle').text('Add Event');\n+    $('.createEvent').click(() => {\n+      alert('Successfully created!');\n+      window.location = 'MyEvents.html';\n+    });\n+  });\n+  $('#addCenter').click(() => {\n+    $('.createCenter').text('Create');\n+    $('#addNewCenterTitle').text('Add Center');\n+    $('.createCenter').click(() => {\n+      alert('Successfully created!');\n+      window.location = 'MyCenters.html';\n+    });\n+  });\n+\n+  $('.event').click(() => {\n+    window.location = 'ManageEvent.html';\n+  });\n+  $('.center').click(() => {\n+    window.location = 'CenterDetails.html';\n+  });\n+\n+  $('#editEvent').click(() => {\n+    $('.createEvent').text('Save');\n+    $('#addNewEventTitle').text('Modify Event');\n+    $('.createEvent').click(() => {\n+      $('#addNewEvent').modal('hide');\n+    });\n+  });\n+  $('#editCenter').click(() => {\n+    $('.createCenter').text('Save');\n+    $('#addNewCenterTitle').text('Modify Center');","path":"client/src/resources/scripts/app.js","position":51,"original_position":51,"commit_id":"ad782fd2744abf85e3e2ba73837b9fdab33affd5","original_commit_id":"ad782fd2744abf85e3e2ba73837b9fdab33affd5","user":{"login":"houndci-bot","id":6697940,"avatar_url":"https://avatars0.githubusercontent.com/u/6697940?v=4","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"'$' is not defined  no-undef","created_at":"2018-04-30T06:27:20Z","updated_at":"2018-04-30T06:27:21Z","html_url":"https://github.com/nzediegwu1/EventManager/pull/82#discussion_r184917149","pull_request_url":"https://api.github.com/repos/nzediegwu1/EventManager/pulls/82","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/nzediegwu1/EventManager/pulls/comments/184917149"},"html":{"href":"https://github.com/nzediegwu1/EventManager/pull/82#discussion_r184917149"},"pull_request":{"href":"https://api.github.com/repos/nzediegwu1/EventManager/pulls/82"}}},"pull_request":{"url":"https://api.github.com/repos/nzediegwu1/EventManager/pulls/82","id":181233912,"html_url":"https://github.com/nzediegwu1/EventManager/pull/82","diff_url":"https://github.com/nzediegwu1/EventManager/pull/82.diff","patch_url":"https://github.com/nzediegwu1/EventManager/pull/82.patch","issue_url":"https://api.github.com/repos/nzediegwu1/EventManager/issues/82","number":82,"state":"open","locked":false,"title":"Project review by mentor","user":{"login":"nzediegwu1","id":29695968,"avatar_url":"https://avatars1.githubusercontent.com/u/29695968?v=4","gravatar_id":"","url":"https://api.github.com/users/nzediegwu1","html_url":"https://github.com/nzediegwu1","followers_url":"https://api.github.com/users/nzediegwu1/followers","following_url":"https://api.github.com/users/nzediegwu1/following{/other_user}","gists_url":"https://api.github.com/users/nzediegwu1/gists{/gist_id}","starred_url":"https://api.github.com/users/nzediegwu1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nzediegwu1/subscriptions","organizations_url":"https://api.github.com/users/nzediegwu1/orgs","repos_url":"https://api.github.com/users/nzediegwu1/repos","events_url":"https://api.github.com/users/nzediegwu1/events{/privacy}","received_events_url":"https://api.github.com/users/nzediegwu1/received_events","type":"User","site_admin":false},"body":"#### What does this PR do?\r\nProject review by mentor\r\n\r\n#### Description of Task to be completed?\r\nReview of the whole code base of eventmanager web applicationh\r\n\r\n#### How should this be manually tested?\r\nnpm run start\r\nnpm run client\r\n\r\n#### Any background context you want to provide?\r\nNone\r\n\r\n#### What are the relevant pivotal tracker stories? (If applicable)\r\nNot yet\r\n\r\n#### Screenshots (If applicable)\r\nNone","created_at":"2018-04-12T15:03:38Z","updated_at":"2018-04-30T06:27:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/nzediegwu1/EventManager/pulls/82/commits","review_comments_url":"https://api.github.com/repos/nzediegwu1/EventManager/pulls/82/comments","review_comment_url":"https://api.github.com/repos/nzediegwu1/EventManager/pulls/comments{/number}","comments_url":"https://api.github.com/repos/nzediegwu1/EventManager/issues/82/comments","statuses_url":"https://api.github.com/repos/nzediegwu1/EventManager/statuses/ad782fd2744abf85e3e2ba73837b9fdab33affd5","head":{"label":"nzediegwu1:develop","ref":"develop","sha":"ad782fd2744abf85e3e2ba73837b9fdab33affd5","user":{"login":"nzediegwu1","id":29695968,"avatar_url":"https://avatars1.githubusercontent.com/u/29695968?v=4","gravatar_id":"","url":"https://api.github.com/users/nzediegwu1","html_url":"https://github.com/nzediegwu1","followers_url":"https://api.github.com/users/nzediegwu1/followers","following_url":"https://api.github.com/users/nzediegwu1/following{/other_user}","gists_url":"https://api.github.com/users/nzediegwu1/gists{/gist_id}","starred_url":"https://api.github.com/users/nzediegwu1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nzediegwu1/subscriptions","organizations_url":"https://api.github.com/users/nzediegwu1/orgs","repos_url":"https://api.github.com/users/nzediegwu1/repos","events_url":"https://api.github.com/users/nzediegwu1/events{/privacy}","received_events_url":"https://api.github.com/users/nzediegwu1/received_events","type":"User","site_admin":false},"repo":{"id":110665166,"name":"EventManager","full_name":"nzediegwu1/EventManager","owner":{"login":"nzediegwu1","id":29695968,"avatar_url":"https://avatars1.githubusercontent.com/u/29695968?v=4","gravatar_id":"","url":"https://api.github.com/users/nzediegwu1","html_url":"https://github.com/nzediegwu1","followers_url":"https://api.github.com/users/nzediegwu1/followers","following_url":"https://api.github.com/users/nzediegwu1/following{/other_user}","gists_url":"https://api.github.com/users/nzediegwu1/gists{/gist_id}","starred_url":"https://api.github.com/users/nzediegwu1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nzediegwu1/subscriptions","organizations_url":"https://api.github.com/users/nzediegwu1/orgs","repos_url":"https://api.github.com/users/nzediegwu1/repos","events_url":"https://api.github.com/users/nzediegwu1/events{/privacy}","received_events_url":"https://api.github.com/users/nzediegwu1/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nzediegwu1/EventManager","description":"Given you manage an events center, this app will help you accept applications to use your center/facilities, and will either decline events when the proposed day is already taken, or suggest an available day","fork":false,"url":"https://api.github.com/repos/nzediegwu1/EventManager","forks_url":"https://api.github.com/repos/nzediegwu1/EventManager/forks","keys_url":"https://api.github.com/repos/nzediegwu1/EventManager/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nzediegwu1/EventManager/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nzediegwu1/EventManager/teams","hooks_url":"https://api.github.com/repos/nzediegwu1/EventManager/hooks","issue_events_url":"https://api.github.com/repos/nzediegwu1/EventManager/issues/events{/number}","events_url":"https://api.github.com/repos/nzediegwu1/EventManager/events","assignees_url":"https://api.github.com/repos/nzediegwu1/EventManager/assignees{/user}","branches_url":"https://api.github.com/repos/nzediegwu1/EventManager/branches{/branch}","tags_url":"https://api.github.com/repos/nzediegwu1/EventManager/tags","blobs_url":"https://api.github.com/repos/nzediegwu1/EventManager/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nzediegwu1/EventManager/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nzediegwu1/EventManager/git/refs{/sha}","trees_url":"https://api.github.com/repos/nzediegwu1/EventManager/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nzediegwu1/EventManager/statuses/{sha}","languages_url":"https://api.github.com/repos/nzediegwu1/EventManager/languages","stargazers_url":"https://api.github.com/repos/nzediegwu1/EventManager/stargazers","contributors_url":"https://api.github.com/repos/nzediegwu1/EventManager/contributors","subscribers_url":"https://api.github.com/repos/nzediegwu1/EventManager/subscribers","subscription_url":"https://api.github.com/repos/nzediegwu1/EventManager/subscription","commits_url":"https://api.github.com/repos/nzediegwu1/EventManager/commits{/sha}","git_commits_url":"https://api.github.com/repos/nzediegwu1/EventManager/git/commits{/sha}","comments_url":"https://api.github.com/repos/nzediegwu1/EventManager/comments{/number}","issue_comment_url":"https://api.github.com/repos/nzediegwu1/EventManager/issues/comments{/number}","contents_url":"https://api.github.com/repos/nzediegwu1/EventManager/contents/{+path}","compare_url":"https://api.github.com/repos/nzediegwu1/EventManager/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nzediegwu1/EventManager/merges","archive_url":"https://api.github.com/repos/nzediegwu1/EventManager/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nzediegwu1/EventManager/downloads","issues_url":"https://api.github.com/repos/nzediegwu1/EventManager/issues{/number}","pulls_url":"https://api.github.com/repos/nzediegwu1/EventManager/pulls{/number}","milestones_url":"https://api.github.com/repos/nzediegwu1/EventManager/milestones{/number}","notifications_url":"https://api.github.com/repos/nzediegwu1/EventManager/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nzediegwu1/EventManager/labels{/name}","releases_url":"https://api.github.com/repos/nzediegwu1/EventManager/releases{/id}","deployments_url":"https://api.github.com/repos/nzediegwu1/EventManager/deployments","created_at":"2017-11-14T08:56:01Z","updated_at":"2018-04-30T06:26:38Z","pushed_at":"2018-04-30T06:26:39Z","git_url":"git://github.com/nzediegwu1/EventManager.git","ssh_url":"git@github.com:nzediegwu1/EventManager.git","clone_url":"https://github.com/nzediegwu1/EventManager.git","svn_url":"https://github.com/nzediegwu1/EventManager","homepage":"https://eventmanageronline.herokuapp.com","size":5697,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":0,"open_issues":1,"watchers":2,"default_branch":"develop"}},"base":{"label":"nzediegwu1:master","ref":"master","sha":"15d05c8519a156a8f70d98a454d23fc6bf76954b","user":{"login":"nzediegwu1","id":29695968,"avatar_url":"https://avatars1.githubusercontent.com/u/29695968?v=4","gravatar_id":"","url":"https://api.github.com/users/nzediegwu1","html_url":"https://github.com/nzediegwu1","followers_url":"https://api.github.com/users/nzediegwu1/followers","following_url":"https://api.github.com/users/nzediegwu1/following{/other_user}","gists_url":"https://api.github.com/users/nzediegwu1/gists{/gist_id}","starred_url":"https://api.github.com/users/nzediegwu1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nzediegwu1/subscriptions","organizations_url":"https://api.github.com/users/nzediegwu1/orgs","repos_url":"https://api.github.com/users/nzediegwu1/repos","events_url":"https://api.github.com/users/nzediegwu1/events{/privacy}","received_events_url":"https://api.github.com/users/nzediegwu1/received_events","type":"User","site_admin":false},"repo":{"id":110665166,"name":"EventManager","full_name":"nzediegwu1/EventManager","owner":{"login":"nzediegwu1","id":29695968,"avatar_url":"https://avatars1.githubusercontent.com/u/29695968?v=4","gravatar_id":"","url":"https://api.github.com/users/nzediegwu1","html_url":"https://github.com/nzediegwu1","followers_url":"https://api.github.com/users/nzediegwu1/followers","following_url":"https://api.github.com/users/nzediegwu1/following{/other_user}","gists_url":"https://api.github.com/users/nzediegwu1/gists{/gist_id}","starred_url":"https://api.github.com/users/nzediegwu1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nzediegwu1/subscriptions","organizations_url":"https://api.github.com/users/nzediegwu1/orgs","repos_url":"https://api.github.com/users/nzediegwu1/repos","events_url":"https://api.github.com/users/nzediegwu1/events{/privacy}","received_events_url":"https://api.github.com/users/nzediegwu1/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nzediegwu1/EventManager","description":"Given you manage an events center, this app will help you accept applications to use your center/facilities, and will either decline events when the proposed day is already taken, or suggest an available day","fork":false,"url":"https://api.github.com/repos/nzediegwu1/EventManager","forks_url":"https://api.github.com/repos/nzediegwu1/EventManager/forks","keys_url":"https://api.github.com/repos/nzediegwu1/EventManager/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nzediegwu1/EventManager/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nzediegwu1/EventManager/teams","hooks_url":"https://api.github.com/repos/nzediegwu1/EventManager/hooks","issue_events_url":"https://api.github.com/repos/nzediegwu1/EventManager/issues/events{/number}","events_url":"https://api.github.com/repos/nzediegwu1/EventManager/events","assignees_url":"https://api.github.com/repos/nzediegwu1/EventManager/assignees{/user}","branches_url":"https://api.github.com/repos/nzediegwu1/EventManager/branches{/branch}","tags_url":"https://api.github.com/repos/nzediegwu1/EventManager/tags","blobs_url":"https://api.github.com/repos/nzediegwu1/EventManager/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nzediegwu1/EventManager/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nzediegwu1/EventManager/git/refs{/sha}","trees_url":"https://api.github.com/repos/nzediegwu1/EventManager/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nzediegwu1/EventManager/statuses/{sha}","languages_url":"https://api.github.com/repos/nzediegwu1/EventManager/languages","stargazers_url":"https://api.github.com/repos/nzediegwu1/EventManager/stargazers","contributors_url":"https://api.github.com/repos/nzediegwu1/EventManager/contributors","subscribers_url":"https://api.github.com/repos/nzediegwu1/EventManager/subscribers","subscription_url":"https://api.github.com/repos/nzediegwu1/EventManager/subscription","commits_url":"https://api.github.com/repos/nzediegwu1/EventManager/commits{/sha}","git_commits_url":"https://api.github.com/repos/nzediegwu1/EventManager/git/commits{/sha}","comments_url":"https://api.github.com/repos/nzediegwu1/EventManager/comments{/number}","issue_comment_url":"https://api.github.com/repos/nzediegwu1/EventManager/issues/comments{/number}","contents_url":"https://api.github.com/repos/nzediegwu1/EventManager/contents/{+path}","compare_url":"https://api.github.com/repos/nzediegwu1/EventManager/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nzediegwu1/EventManager/merges","archive_url":"https://api.github.com/repos/nzediegwu1/EventManager/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nzediegwu1/EventManager/downloads","issues_url":"https://api.github.com/repos/nzediegwu1/EventManager/issues{/number}","pulls_url":"https://api.github.com/repos/nzediegwu1/EventManager/pulls{/number}","milestones_url":"https://api.github.com/repos/nzediegwu1/EventManager/milestones{/number}","notifications_url":"https://api.github.com/repos/nzediegwu1/EventManager/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nzediegwu1/EventManager/labels{/name}","releases_url":"https://api.github.com/repos/nzediegwu1/EventManager/releases{/id}","deployments_url":"https://api.github.com/repos/nzediegwu1/EventManager/deployments","created_at":"2017-11-14T08:56:01Z","updated_at":"2018-04-30T06:26:38Z","pushed_at":"2018-04-30T06:26:39Z","git_url":"git://github.com/nzediegwu1/EventManager.git","ssh_url":"git@github.com:nzediegwu1/EventManager.git","clone_url":"https://github.com/nzediegwu1/EventManager.git","svn_url":"https://github.com/nzediegwu1/EventManager","homepage":"https://eventmanageronline.herokuapp.com","size":5697,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":0,"open_issues":1,"watchers":2,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/nzediegwu1/EventManager/pulls/82"},"html":{"href":"https://github.com/nzediegwu1/EventManager/pull/82"},"issue":{"href":"https://api.github.com/repos/nzediegwu1/EventManager/issues/82"},"comments":{"href":"https://api.github.com/repos/nzediegwu1/EventManager/issues/82/comments"},"review_comments":{"href":"https://api.github.com/repos/nzediegwu1/EventManager/pulls/82/comments"},"review_comment":{"href":"https://api.github.com/repos/nzediegwu1/EventManager/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/nzediegwu1/EventManager/pulls/82/commits"},"statuses":{"href":"https://api.github.com/repos/nzediegwu1/EventManager/statuses/ad782fd2744abf85e3e2ba73837b9fdab33affd5"}},"author_association":"OWNER"}}
{"actor":{"display_login":"houndci-bot"}}