{"action":"created","comment":{"url":"https://api.github.com/repos/jiexu10/pinpoint/pulls/comments/50929926","id":50929926,"diff_hunk":"@@ -0,0 +1,56 @@\n+$(window).load(function() {\n+  loadScript();\n+});\n+\n+var latLng, map;\n+function initMap(restaurantLoc) {\n+  navigator.geolocation.getCurrentPosition(function (position) {\n+    latLng = new google.maps.LatLng(\n+        position.coords.latitude, position.coords.longitude);\n+\n+    map = new google.maps.Map(document.getElementById('map-canvas'), {\n+      center: latLng,\n+      zoom: 15\n+    });\n+\n+    marker = new google.maps.Marker({\n+      position: latLng,\n+      map: map,\n+      title: \"User Location\"\n+    });\n+    debugger;\n+    marker.setMap(map)\n+  });\n+\n+};","path":"app/assets/javascripts/map.js","position":25,"original_position":25,"commit_id":"a3519d7ef984e6252aa47e56027f628c92285a88","original_commit_id":"a3519d7ef984e6252aa47e56027f628c92285a88","user":{"login":"houndci","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci","html_url":"https://github.com/houndci","followers_url":"https://api.github.com/users/houndci/followers","following_url":"https://api.github.com/users/houndci/following{/other_user}","gists_url":"https://api.github.com/users/houndci/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci/subscriptions","organizations_url":"https://api.github.com/users/houndci/orgs","repos_url":"https://api.github.com/users/houndci/repos","events_url":"https://api.github.com/users/houndci/events{/privacy}","received_events_url":"https://api.github.com/users/houndci/received_events","type":"User","site_admin":false},"body":"Unnecessary semicolon.","created_at":"2016-01-27T01:25:18Z","updated_at":"2016-01-27T01:25:18Z","html_url":"https://github.com/jiexu10/pinpoint/pull/75#discussion_r50929926","pull_request_url":"https://api.github.com/repos/jiexu10/pinpoint/pulls/75","_links":{"self":{"href":"https://api.github.com/repos/jiexu10/pinpoint/pulls/comments/50929926"},"html":{"href":"https://github.com/jiexu10/pinpoint/pull/75#discussion_r50929926"},"pull_request":{"href":"https://api.github.com/repos/jiexu10/pinpoint/pulls/75"}}},"pull_request":{"url":"https://api.github.com/repos/jiexu10/pinpoint/pulls/75","id":57300788,"html_url":"https://github.com/jiexu10/pinpoint/pull/75","diff_url":"https://github.com/jiexu10/pinpoint/pull/75.diff","patch_url":"https://github.com/jiexu10/pinpoint/pull/75.patch","issue_url":"https://api.github.com/repos/jiexu10/pinpoint/issues/75","number":75,"state":"open","locked":false,"title":"[Resolves #70] google maps display on order show","user":{"login":"jiexu10","id":12928368,"avatar_url":"https://avatars.githubusercontent.com/u/12928368?v=3","gravatar_id":"","url":"https://api.github.com/users/jiexu10","html_url":"https://github.com/jiexu10","followers_url":"https://api.github.com/users/jiexu10/followers","following_url":"https://api.github.com/users/jiexu10/following{/other_user}","gists_url":"https://api.github.com/users/jiexu10/gists{/gist_id}","starred_url":"https://api.github.com/users/jiexu10/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jiexu10/subscriptions","organizations_url":"https://api.github.com/users/jiexu10/orgs","repos_url":"https://api.github.com/users/jiexu10/repos","events_url":"https://api.github.com/users/jiexu10/events{/privacy}","received_events_url":"https://api.github.com/users/jiexu10/received_events","type":"User","site_admin":false},"body":"#70 ","created_at":"2016-01-27T01:24:54Z","updated_at":"2016-01-27T01:25:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a4947308510ae339d2e39b802f99fe1533356ab0","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/jiexu10/pinpoint/pulls/75/commits","review_comments_url":"https://api.github.com/repos/jiexu10/pinpoint/pulls/75/comments","review_comment_url":"https://api.github.com/repos/jiexu10/pinpoint/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jiexu10/pinpoint/issues/75/comments","statuses_url":"https://api.github.com/repos/jiexu10/pinpoint/statuses/a3519d7ef984e6252aa47e56027f628c92285a88","head":{"label":"jiexu10:jx-70-google-maps-display-on-order-show","ref":"jx-70-google-maps-display-on-order-show","sha":"a3519d7ef984e6252aa47e56027f628c92285a88","user":{"login":"jiexu10","id":12928368,"avatar_url":"https://avatars.githubusercontent.com/u/12928368?v=3","gravatar_id":"","url":"https://api.github.com/users/jiexu10","html_url":"https://github.com/jiexu10","followers_url":"https://api.github.com/users/jiexu10/followers","following_url":"https://api.github.com/users/jiexu10/following{/other_user}","gists_url":"https://api.github.com/users/jiexu10/gists{/gist_id}","starred_url":"https://api.github.com/users/jiexu10/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jiexu10/subscriptions","organizations_url":"https://api.github.com/users/jiexu10/orgs","repos_url":"https://api.github.com/users/jiexu10/repos","events_url":"https://api.github.com/users/jiexu10/events{/privacy}","received_events_url":"https://api.github.com/users/jiexu10/received_events","type":"User","site_admin":false},"repo":{"id":49346910,"name":"pinpoint","full_name":"jiexu10/pinpoint","owner":{"login":"jiexu10","id":12928368,"avatar_url":"https://avatars.githubusercontent.com/u/12928368?v=3","gravatar_id":"","url":"https://api.github.com/users/jiexu10","html_url":"https://github.com/jiexu10","followers_url":"https://api.github.com/users/jiexu10/followers","following_url":"https://api.github.com/users/jiexu10/following{/other_user}","gists_url":"https://api.github.com/users/jiexu10/gists{/gist_id}","starred_url":"https://api.github.com/users/jiexu10/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jiexu10/subscriptions","organizations_url":"https://api.github.com/users/jiexu10/orgs","repos_url":"https://api.github.com/users/jiexu10/repos","events_url":"https://api.github.com/users/jiexu10/events{/privacy}","received_events_url":"https://api.github.com/users/jiexu10/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jiexu10/pinpoint","description":"Pinpoint App - Find your Food","fork":false,"url":"https://api.github.com/repos/jiexu10/pinpoint","forks_url":"https://api.github.com/repos/jiexu10/pinpoint/forks","keys_url":"https://api.github.com/repos/jiexu10/pinpoint/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jiexu10/pinpoint/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jiexu10/pinpoint/teams","hooks_url":"https://api.github.com/repos/jiexu10/pinpoint/hooks","issue_events_url":"https://api.github.com/repos/jiexu10/pinpoint/issues/events{/number}","events_url":"https://api.github.com/repos/jiexu10/pinpoint/events","assignees_url":"https://api.github.com/repos/jiexu10/pinpoint/assignees{/user}","branches_url":"https://api.github.com/repos/jiexu10/pinpoint/branches{/branch}","tags_url":"https://api.github.com/repos/jiexu10/pinpoint/tags","blobs_url":"https://api.github.com/repos/jiexu10/pinpoint/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jiexu10/pinpoint/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jiexu10/pinpoint/git/refs{/sha}","trees_url":"https://api.github.com/repos/jiexu10/pinpoint/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jiexu10/pinpoint/statuses/{sha}","languages_url":"https://api.github.com/repos/jiexu10/pinpoint/languages","stargazers_url":"https://api.github.com/repos/jiexu10/pinpoint/stargazers","contributors_url":"https://api.github.com/repos/jiexu10/pinpoint/contributors","subscribers_url":"https://api.github.com/repos/jiexu10/pinpoint/subscribers","subscription_url":"https://api.github.com/repos/jiexu10/pinpoint/subscription","commits_url":"https://api.github.com/repos/jiexu10/pinpoint/commits{/sha}","git_commits_url":"https://api.github.com/repos/jiexu10/pinpoint/git/commits{/sha}","comments_url":"https://api.github.com/repos/jiexu10/pinpoint/comments{/number}","issue_comment_url":"https://api.github.com/repos/jiexu10/pinpoint/issues/comments{/number}","contents_url":"https://api.github.com/repos/jiexu10/pinpoint/contents/{+path}","compare_url":"https://api.github.com/repos/jiexu10/pinpoint/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jiexu10/pinpoint/merges","archive_url":"https://api.github.com/repos/jiexu10/pinpoint/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jiexu10/pinpoint/downloads","issues_url":"https://api.github.com/repos/jiexu10/pinpoint/issues{/number}","pulls_url":"https://api.github.com/repos/jiexu10/pinpoint/pulls{/number}","milestones_url":"https://api.github.com/repos/jiexu10/pinpoint/milestones{/number}","notifications_url":"https://api.github.com/repos/jiexu10/pinpoint/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jiexu10/pinpoint/labels{/name}","releases_url":"https://api.github.com/repos/jiexu10/pinpoint/releases{/id}","deployments_url":"https://api.github.com/repos/jiexu10/pinpoint/deployments","created_at":"2016-01-10T00:12:40Z","updated_at":"2016-01-21T01:42:57Z","pushed_at":"2016-01-27T01:24:55Z","git_url":"git://github.com/jiexu10/pinpoint.git","ssh_url":"git@github.com:jiexu10/pinpoint.git","clone_url":"https://github.com/jiexu10/pinpoint.git","svn_url":"https://github.com/jiexu10/pinpoint","homepage":"https://pinpoint-food.herokuapp.com","size":3084,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":14,"forks":0,"open_issues":14,"watchers":1,"default_branch":"master"}},"base":{"label":"jiexu10:master","ref":"master","sha":"92480abe90c7a0c9327d2a3b7fe4c3fc936bc97d","user":{"login":"jiexu10","id":12928368,"avatar_url":"https://avatars.githubusercontent.com/u/12928368?v=3","gravatar_id":"","url":"https://api.github.com/users/jiexu10","html_url":"https://github.com/jiexu10","followers_url":"https://api.github.com/users/jiexu10/followers","following_url":"https://api.github.com/users/jiexu10/following{/other_user}","gists_url":"https://api.github.com/users/jiexu10/gists{/gist_id}","starred_url":"https://api.github.com/users/jiexu10/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jiexu10/subscriptions","organizations_url":"https://api.github.com/users/jiexu10/orgs","repos_url":"https://api.github.com/users/jiexu10/repos","events_url":"https://api.github.com/users/jiexu10/events{/privacy}","received_events_url":"https://api.github.com/users/jiexu10/received_events","type":"User","site_admin":false},"repo":{"id":49346910,"name":"pinpoint","full_name":"jiexu10/pinpoint","owner":{"login":"jiexu10","id":12928368,"avatar_url":"https://avatars.githubusercontent.com/u/12928368?v=3","gravatar_id":"","url":"https://api.github.com/users/jiexu10","html_url":"https://github.com/jiexu10","followers_url":"https://api.github.com/users/jiexu10/followers","following_url":"https://api.github.com/users/jiexu10/following{/other_user}","gists_url":"https://api.github.com/users/jiexu10/gists{/gist_id}","starred_url":"https://api.github.com/users/jiexu10/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jiexu10/subscriptions","organizations_url":"https://api.github.com/users/jiexu10/orgs","repos_url":"https://api.github.com/users/jiexu10/repos","events_url":"https://api.github.com/users/jiexu10/events{/privacy}","received_events_url":"https://api.github.com/users/jiexu10/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jiexu10/pinpoint","description":"Pinpoint App - Find your Food","fork":false,"url":"https://api.github.com/repos/jiexu10/pinpoint","forks_url":"https://api.github.com/repos/jiexu10/pinpoint/forks","keys_url":"https://api.github.com/repos/jiexu10/pinpoint/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jiexu10/pinpoint/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jiexu10/pinpoint/teams","hooks_url":"https://api.github.com/repos/jiexu10/pinpoint/hooks","issue_events_url":"https://api.github.com/repos/jiexu10/pinpoint/issues/events{/number}","events_url":"https://api.github.com/repos/jiexu10/pinpoint/events","assignees_url":"https://api.github.com/repos/jiexu10/pinpoint/assignees{/user}","branches_url":"https://api.github.com/repos/jiexu10/pinpoint/branches{/branch}","tags_url":"https://api.github.com/repos/jiexu10/pinpoint/tags","blobs_url":"https://api.github.com/repos/jiexu10/pinpoint/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jiexu10/pinpoint/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jiexu10/pinpoint/git/refs{/sha}","trees_url":"https://api.github.com/repos/jiexu10/pinpoint/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jiexu10/pinpoint/statuses/{sha}","languages_url":"https://api.github.com/repos/jiexu10/pinpoint/languages","stargazers_url":"https://api.github.com/repos/jiexu10/pinpoint/stargazers","contributors_url":"https://api.github.com/repos/jiexu10/pinpoint/contributors","subscribers_url":"https://api.github.com/repos/jiexu10/pinpoint/subscribers","subscription_url":"https://api.github.com/repos/jiexu10/pinpoint/subscription","commits_url":"https://api.github.com/repos/jiexu10/pinpoint/commits{/sha}","git_commits_url":"https://api.github.com/repos/jiexu10/pinpoint/git/commits{/sha}","comments_url":"https://api.github.com/repos/jiexu10/pinpoint/comments{/number}","issue_comment_url":"https://api.github.com/repos/jiexu10/pinpoint/issues/comments{/number}","contents_url":"https://api.github.com/repos/jiexu10/pinpoint/contents/{+path}","compare_url":"https://api.github.com/repos/jiexu10/pinpoint/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jiexu10/pinpoint/merges","archive_url":"https://api.github.com/repos/jiexu10/pinpoint/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jiexu10/pinpoint/downloads","issues_url":"https://api.github.com/repos/jiexu10/pinpoint/issues{/number}","pulls_url":"https://api.github.com/repos/jiexu10/pinpoint/pulls{/number}","milestones_url":"https://api.github.com/repos/jiexu10/pinpoint/milestones{/number}","notifications_url":"https://api.github.com/repos/jiexu10/pinpoint/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jiexu10/pinpoint/labels{/name}","releases_url":"https://api.github.com/repos/jiexu10/pinpoint/releases{/id}","deployments_url":"https://api.github.com/repos/jiexu10/pinpoint/deployments","created_at":"2016-01-10T00:12:40Z","updated_at":"2016-01-21T01:42:57Z","pushed_at":"2016-01-27T01:24:55Z","git_url":"git://github.com/jiexu10/pinpoint.git","ssh_url":"git@github.com:jiexu10/pinpoint.git","clone_url":"https://github.com/jiexu10/pinpoint.git","svn_url":"https://github.com/jiexu10/pinpoint","homepage":"https://pinpoint-food.herokuapp.com","size":3084,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":14,"forks":0,"open_issues":14,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jiexu10/pinpoint/pulls/75"},"html":{"href":"https://github.com/jiexu10/pinpoint/pull/75"},"issue":{"href":"https://api.github.com/repos/jiexu10/pinpoint/issues/75"},"comments":{"href":"https://api.github.com/repos/jiexu10/pinpoint/issues/75/comments"},"review_comments":{"href":"https://api.github.com/repos/jiexu10/pinpoint/pulls/75/comments"},"review_comment":{"href":"https://api.github.com/repos/jiexu10/pinpoint/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jiexu10/pinpoint/pulls/75/commits"},"statuses":{"href":"https://api.github.com/repos/jiexu10/pinpoint/statuses/a3519d7ef984e6252aa47e56027f628c92285a88"}}}}