{"action":"created","comment":{"url":"https://api.github.com/repos/mattreyes7/201-final-project/pulls/comments/107912404","pull_request_review_id":28914298,"id":107912404,"diff_hunk":"@@ -0,0 +1,173 @@\n+// 'use strict'\n+\n+var table = document.getElementById('postBoard');\n+var nameData;\n+\n+var jobNumber = 1;\n+var trElement;\n+var cityName;\n+var cityMarker;\n+var markerLabel;\n+// assigning localstorage array to the new variable to use in rendering rows\n+var clientArray = JSON.parse(localStorage.getItem('lsClientArray'));\n+\n+//console.log(clientArray);\n+\n+var citiesCoordinates = [\n+  { name: 'seattle', lat: 47.6062, lng: -122.3321 },\n+  { name: 'redmond', lat: 47.6740, lng: -122.1215 },\n+  { name: 'bellevue', lat: 47.6101, lng: -122.2015 },\n+  { name: 'sammamish', lat: 47.6163, lng: -122.0356 },\n+  { name: 'kirkland', lat: 47.6769,  lng: -122.2060 },\n+  { name: 'mercer island', lat: 7.5707, lng: -122.2221 },\n+  { name: 'bothel', lat: 7.7610, lng: -122.2056 },\n+  { name: 'new castle', lat: 47.5390, lng: -122.1557 },\n+  { name: 'renton', lat: 47.4829, lng: -122.2171 },\n+  { name: 'issaquah', lat: 47.5301, lng: -122.0326 },\n+  { name: 'carnation', lat: 47.6479, lng: -121.914 },\n+  { name:  'kent', lat: 47.3809, lng: -122.2348 },\n+  {name: 'tukwila', lat:47.4740 , lng:-122.2610},\n+  {name: 'woodinville', lat:47.7543 , lng: -122.1635},\n+  {name: 'lynnwood', lat:47.8209 , lng:-122.3151 },\n+  {name: 'tacoma', lat:47.2529 , lng:-122.4443},\n+  {name: 'puyallup', lat: 47.1854, lng:-122.2929 },\n+];\n+var cityNamesArray = ['seattle', 'redmond', 'bellevue', 'sammamish', 'kirkland', 'mercer island',\n+'bothel', 'new castle', 'renton', 'issaquah', 'carnation', 'kent','tukwila', 'woodinville', 'lynwood', 'tacoma', 'puyallup']\n+;\n+\n+var clientEnteredCities = [];\n+\n+//console.log(clientArray);\n+function renderHeader() {\n+  trElement = document.createElement('thead');","path":"appPostBoard.js","position":43,"original_position":43,"commit_id":"0be4b015d5883a01832c42217e247daa6d427910","original_commit_id":"0be4b015d5883a01832c42217e247daa6d427910","user":{"login":"maslovai","id":10929794,"avatar_url":"https://avatars1.githubusercontent.com/u/10929794?v=3","gravatar_id":"","url":"https://api.github.com/users/maslovai","html_url":"https://github.com/maslovai","followers_url":"https://api.github.com/users/maslovai/followers","following_url":"https://api.github.com/users/maslovai/following{/other_user}","gists_url":"https://api.github.com/users/maslovai/gists{/gist_id}","starred_url":"https://api.github.com/users/maslovai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maslovai/subscriptions","organizations_url":"https://api.github.com/users/maslovai/orgs","repos_url":"https://api.github.com/users/maslovai/repos","events_url":"https://api.github.com/users/maslovai/events{/privacy}","received_events_url":"https://api.github.com/users/maslovai/received_events","type":"User","site_admin":false},"body":"I was wondering how to do it in a cleaner way. Thank you! \r\nWouldn't it be better to do the header in html instead?","created_at":"2017-03-24T14:19:16Z","updated_at":"2017-03-24T14:19:17Z","html_url":"https://github.com/mattreyes7/201-final-project/pull/68#discussion_r107912404","pull_request_url":"https://api.github.com/repos/mattreyes7/201-final-project/pulls/68","_links":{"self":{"href":"https://api.github.com/repos/mattreyes7/201-final-project/pulls/comments/107912404"},"html":{"href":"https://github.com/mattreyes7/201-final-project/pull/68#discussion_r107912404"},"pull_request":{"href":"https://api.github.com/repos/mattreyes7/201-final-project/pulls/68"}}},"pull_request":{"url":"https://api.github.com/repos/mattreyes7/201-final-project/pulls/68","id":111427869,"html_url":"https://github.com/mattreyes7/201-final-project/pull/68","diff_url":"https://github.com/mattreyes7/201-final-project/pull/68.diff","patch_url":"https://github.com/mattreyes7/201-final-project/pull/68.patch","issue_url":"https://api.github.com/repos/mattreyes7/201-final-project/issues/68","number":68,"state":"open","locked":false,"title":"DO NOT MERGE","user":{"login":"mattreyes7","id":23273400,"avatar_url":"https://avatars1.githubusercontent.com/u/23273400?v=3","gravatar_id":"","url":"https://api.github.com/users/mattreyes7","html_url":"https://github.com/mattreyes7","followers_url":"https://api.github.com/users/mattreyes7/followers","following_url":"https://api.github.com/users/mattreyes7/following{/other_user}","gists_url":"https://api.github.com/users/mattreyes7/gists{/gist_id}","starred_url":"https://api.github.com/users/mattreyes7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattreyes7/subscriptions","organizations_url":"https://api.github.com/users/mattreyes7/orgs","repos_url":"https://api.github.com/users/mattreyes7/repos","events_url":"https://api.github.com/users/mattreyes7/events{/privacy}","received_events_url":"https://api.github.com/users/mattreyes7/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-03-18T22:09:43Z","updated_at":"2017-03-24T14:19:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6132fa6e686358ef80657853843d39eb89247c43","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/mattreyes7/201-final-project/pulls/68/commits","review_comments_url":"https://api.github.com/repos/mattreyes7/201-final-project/pulls/68/comments","review_comment_url":"https://api.github.com/repos/mattreyes7/201-final-project/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mattreyes7/201-final-project/issues/68/comments","statuses_url":"https://api.github.com/repos/mattreyes7/201-final-project/statuses/0be4b015d5883a01832c42217e247daa6d427910","head":{"label":"mattreyes7:master","ref":"master","sha":"0be4b015d5883a01832c42217e247daa6d427910","user":{"login":"mattreyes7","id":23273400,"avatar_url":"https://avatars1.githubusercontent.com/u/23273400?v=3","gravatar_id":"","url":"https://api.github.com/users/mattreyes7","html_url":"https://github.com/mattreyes7","followers_url":"https://api.github.com/users/mattreyes7/followers","following_url":"https://api.github.com/users/mattreyes7/following{/other_user}","gists_url":"https://api.github.com/users/mattreyes7/gists{/gist_id}","starred_url":"https://api.github.com/users/mattreyes7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattreyes7/subscriptions","organizations_url":"https://api.github.com/users/mattreyes7/orgs","repos_url":"https://api.github.com/users/mattreyes7/repos","events_url":"https://api.github.com/users/mattreyes7/events{/privacy}","received_events_url":"https://api.github.com/users/mattreyes7/received_events","type":"User","site_admin":false},"repo":{"id":84287885,"name":"201-final-project","full_name":"mattreyes7/201-final-project","owner":{"login":"mattreyes7","id":23273400,"avatar_url":"https://avatars1.githubusercontent.com/u/23273400?v=3","gravatar_id":"","url":"https://api.github.com/users/mattreyes7","html_url":"https://github.com/mattreyes7","followers_url":"https://api.github.com/users/mattreyes7/followers","following_url":"https://api.github.com/users/mattreyes7/following{/other_user}","gists_url":"https://api.github.com/users/mattreyes7/gists{/gist_id}","starred_url":"https://api.github.com/users/mattreyes7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattreyes7/subscriptions","organizations_url":"https://api.github.com/users/mattreyes7/orgs","repos_url":"https://api.github.com/users/mattreyes7/repos","events_url":"https://api.github.com/users/mattreyes7/events{/privacy}","received_events_url":"https://api.github.com/users/mattreyes7/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mattreyes7/201-final-project","description":"Favor website ===============================>>>>>>>>>>>","fork":false,"url":"https://api.github.com/repos/mattreyes7/201-final-project","forks_url":"https://api.github.com/repos/mattreyes7/201-final-project/forks","keys_url":"https://api.github.com/repos/mattreyes7/201-final-project/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mattreyes7/201-final-project/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mattreyes7/201-final-project/teams","hooks_url":"https://api.github.com/repos/mattreyes7/201-final-project/hooks","issue_events_url":"https://api.github.com/repos/mattreyes7/201-final-project/issues/events{/number}","events_url":"https://api.github.com/repos/mattreyes7/201-final-project/events","assignees_url":"https://api.github.com/repos/mattreyes7/201-final-project/assignees{/user}","branches_url":"https://api.github.com/repos/mattreyes7/201-final-project/branches{/branch}","tags_url":"https://api.github.com/repos/mattreyes7/201-final-project/tags","blobs_url":"https://api.github.com/repos/mattreyes7/201-final-project/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mattreyes7/201-final-project/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mattreyes7/201-final-project/git/refs{/sha}","trees_url":"https://api.github.com/repos/mattreyes7/201-final-project/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mattreyes7/201-final-project/statuses/{sha}","languages_url":"https://api.github.com/repos/mattreyes7/201-final-project/languages","stargazers_url":"https://api.github.com/repos/mattreyes7/201-final-project/stargazers","contributors_url":"https://api.github.com/repos/mattreyes7/201-final-project/contributors","subscribers_url":"https://api.github.com/repos/mattreyes7/201-final-project/subscribers","subscription_url":"https://api.github.com/repos/mattreyes7/201-final-project/subscription","commits_url":"https://api.github.com/repos/mattreyes7/201-final-project/commits{/sha}","git_commits_url":"https://api.github.com/repos/mattreyes7/201-final-project/git/commits{/sha}","comments_url":"https://api.github.com/repos/mattreyes7/201-final-project/comments{/number}","issue_comment_url":"https://api.github.com/repos/mattreyes7/201-final-project/issues/comments{/number}","contents_url":"https://api.github.com/repos/mattreyes7/201-final-project/contents/{+path}","compare_url":"https://api.github.com/repos/mattreyes7/201-final-project/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mattreyes7/201-final-project/merges","archive_url":"https://api.github.com/repos/mattreyes7/201-final-project/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mattreyes7/201-final-project/downloads","issues_url":"https://api.github.com/repos/mattreyes7/201-final-project/issues{/number}","pulls_url":"https://api.github.com/repos/mattreyes7/201-final-project/pulls{/number}","milestones_url":"https://api.github.com/repos/mattreyes7/201-final-project/milestones{/number}","notifications_url":"https://api.github.com/repos/mattreyes7/201-final-project/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mattreyes7/201-final-project/labels{/name}","releases_url":"https://api.github.com/repos/mattreyes7/201-final-project/releases{/id}","deployments_url":"https://api.github.com/repos/mattreyes7/201-final-project/deployments","created_at":"2017-03-08T06:43:57Z","updated_at":"2017-03-18T21:37:01Z","pushed_at":"2017-03-18T22:09:44Z","git_url":"git://github.com/mattreyes7/201-final-project.git","ssh_url":"git@github.com:mattreyes7/201-final-project.git","clone_url":"https://github.com/mattreyes7/201-final-project.git","svn_url":"https://github.com/mattreyes7/201-final-project","homepage":"https://mattreyes7.github.io/201-final-project/","size":4554,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"base":{"label":"mattreyes7:start","ref":"start","sha":"5b9a7ae47155b604da47a2e86484d75c455cfe6f","user":{"login":"mattreyes7","id":23273400,"avatar_url":"https://avatars1.githubusercontent.com/u/23273400?v=3","gravatar_id":"","url":"https://api.github.com/users/mattreyes7","html_url":"https://github.com/mattreyes7","followers_url":"https://api.github.com/users/mattreyes7/followers","following_url":"https://api.github.com/users/mattreyes7/following{/other_user}","gists_url":"https://api.github.com/users/mattreyes7/gists{/gist_id}","starred_url":"https://api.github.com/users/mattreyes7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattreyes7/subscriptions","organizations_url":"https://api.github.com/users/mattreyes7/orgs","repos_url":"https://api.github.com/users/mattreyes7/repos","events_url":"https://api.github.com/users/mattreyes7/events{/privacy}","received_events_url":"https://api.github.com/users/mattreyes7/received_events","type":"User","site_admin":false},"repo":{"id":84287885,"name":"201-final-project","full_name":"mattreyes7/201-final-project","owner":{"login":"mattreyes7","id":23273400,"avatar_url":"https://avatars1.githubusercontent.com/u/23273400?v=3","gravatar_id":"","url":"https://api.github.com/users/mattreyes7","html_url":"https://github.com/mattreyes7","followers_url":"https://api.github.com/users/mattreyes7/followers","following_url":"https://api.github.com/users/mattreyes7/following{/other_user}","gists_url":"https://api.github.com/users/mattreyes7/gists{/gist_id}","starred_url":"https://api.github.com/users/mattreyes7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattreyes7/subscriptions","organizations_url":"https://api.github.com/users/mattreyes7/orgs","repos_url":"https://api.github.com/users/mattreyes7/repos","events_url":"https://api.github.com/users/mattreyes7/events{/privacy}","received_events_url":"https://api.github.com/users/mattreyes7/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mattreyes7/201-final-project","description":"Favor website ===============================>>>>>>>>>>>","fork":false,"url":"https://api.github.com/repos/mattreyes7/201-final-project","forks_url":"https://api.github.com/repos/mattreyes7/201-final-project/forks","keys_url":"https://api.github.com/repos/mattreyes7/201-final-project/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mattreyes7/201-final-project/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mattreyes7/201-final-project/teams","hooks_url":"https://api.github.com/repos/mattreyes7/201-final-project/hooks","issue_events_url":"https://api.github.com/repos/mattreyes7/201-final-project/issues/events{/number}","events_url":"https://api.github.com/repos/mattreyes7/201-final-project/events","assignees_url":"https://api.github.com/repos/mattreyes7/201-final-project/assignees{/user}","branches_url":"https://api.github.com/repos/mattreyes7/201-final-project/branches{/branch}","tags_url":"https://api.github.com/repos/mattreyes7/201-final-project/tags","blobs_url":"https://api.github.com/repos/mattreyes7/201-final-project/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mattreyes7/201-final-project/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mattreyes7/201-final-project/git/refs{/sha}","trees_url":"https://api.github.com/repos/mattreyes7/201-final-project/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mattreyes7/201-final-project/statuses/{sha}","languages_url":"https://api.github.com/repos/mattreyes7/201-final-project/languages","stargazers_url":"https://api.github.com/repos/mattreyes7/201-final-project/stargazers","contributors_url":"https://api.github.com/repos/mattreyes7/201-final-project/contributors","subscribers_url":"https://api.github.com/repos/mattreyes7/201-final-project/subscribers","subscription_url":"https://api.github.com/repos/mattreyes7/201-final-project/subscription","commits_url":"https://api.github.com/repos/mattreyes7/201-final-project/commits{/sha}","git_commits_url":"https://api.github.com/repos/mattreyes7/201-final-project/git/commits{/sha}","comments_url":"https://api.github.com/repos/mattreyes7/201-final-project/comments{/number}","issue_comment_url":"https://api.github.com/repos/mattreyes7/201-final-project/issues/comments{/number}","contents_url":"https://api.github.com/repos/mattreyes7/201-final-project/contents/{+path}","compare_url":"https://api.github.com/repos/mattreyes7/201-final-project/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mattreyes7/201-final-project/merges","archive_url":"https://api.github.com/repos/mattreyes7/201-final-project/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mattreyes7/201-final-project/downloads","issues_url":"https://api.github.com/repos/mattreyes7/201-final-project/issues{/number}","pulls_url":"https://api.github.com/repos/mattreyes7/201-final-project/pulls{/number}","milestones_url":"https://api.github.com/repos/mattreyes7/201-final-project/milestones{/number}","notifications_url":"https://api.github.com/repos/mattreyes7/201-final-project/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mattreyes7/201-final-project/labels{/name}","releases_url":"https://api.github.com/repos/mattreyes7/201-final-project/releases{/id}","deployments_url":"https://api.github.com/repos/mattreyes7/201-final-project/deployments","created_at":"2017-03-08T06:43:57Z","updated_at":"2017-03-18T21:37:01Z","pushed_at":"2017-03-18T22:09:44Z","git_url":"git://github.com/mattreyes7/201-final-project.git","ssh_url":"git@github.com:mattreyes7/201-final-project.git","clone_url":"https://github.com/mattreyes7/201-final-project.git","svn_url":"https://github.com/mattreyes7/201-final-project","homepage":"https://mattreyes7.github.io/201-final-project/","size":4554,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mattreyes7/201-final-project/pulls/68"},"html":{"href":"https://github.com/mattreyes7/201-final-project/pull/68"},"issue":{"href":"https://api.github.com/repos/mattreyes7/201-final-project/issues/68"},"comments":{"href":"https://api.github.com/repos/mattreyes7/201-final-project/issues/68/comments"},"review_comments":{"href":"https://api.github.com/repos/mattreyes7/201-final-project/pulls/68/comments"},"review_comment":{"href":"https://api.github.com/repos/mattreyes7/201-final-project/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mattreyes7/201-final-project/pulls/68/commits"},"statuses":{"href":"https://api.github.com/repos/mattreyes7/201-final-project/statuses/0be4b015d5883a01832c42217e247daa6d427910"}}}}
{"actor":{"display_login":"maslovai"}}