{"action":"created","comment":{"url":"https://api.github.com/repos/Fiware/tutorials.TourGuide-App/pulls/comments/54703778","id":54703778,"diff_hunk":"@@ -192,21 +214,24 @@ function showRestaurants(restaurants)\n \n function add_create_review_link(restaurant_name)\n {\n-\tuserInfo = JSON.parse(localStorage.getItem('userInfo'));\n+\tvar userInfo = JSON.parse(localStorage.getItem('userInfo'));\n \n \tif (! has_role(userInfo, 'End user'))\n+\t{","path":"client/js/restaurants_api.js","position":142,"original_position":142,"commit_id":"f243f80d999ad5476da040e5b1e08d0587718b57","original_commit_id":"f243f80d999ad5476da040e5b1e08d0587718b57","user":{"login":"jmcanterafonseca","id":694782,"avatar_url":"https://avatars.githubusercontent.com/u/694782?v=3","gravatar_id":"","url":"https://api.github.com/users/jmcanterafonseca","html_url":"https://github.com/jmcanterafonseca","followers_url":"https://api.github.com/users/jmcanterafonseca/followers","following_url":"https://api.github.com/users/jmcanterafonseca/following{/other_user}","gists_url":"https://api.github.com/users/jmcanterafonseca/gists{/gist_id}","starred_url":"https://api.github.com/users/jmcanterafonseca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmcanterafonseca/subscriptions","organizations_url":"https://api.github.com/users/jmcanterafonseca/orgs","repos_url":"https://api.github.com/users/jmcanterafonseca/repos","events_url":"https://api.github.com/users/jmcanterafonseca/events{/privacy}","received_events_url":"https://api.github.com/users/jmcanterafonseca/received_events","type":"User","site_admin":false},"body":"check curly braces","created_at":"2016-03-02T10:14:39Z","updated_at":"2016-03-02T10:14:39Z","html_url":"https://github.com/Fiware/tutorials.TourGuide-App/pull/27#discussion_r54703778","pull_request_url":"https://api.github.com/repos/Fiware/tutorials.TourGuide-App/pulls/27","_links":{"self":{"href":"https://api.github.com/repos/Fiware/tutorials.TourGuide-App/pulls/comments/54703778"},"html":{"href":"https://github.com/Fiware/tutorials.TourGuide-App/pull/27#discussion_r54703778"},"pull_request":{"href":"https://api.github.com/repos/Fiware/tutorials.TourGuide-App/pulls/27"}}},"pull_request":{"url":"https://api.github.com/repos/Fiware/tutorials.TourGuide-App/pulls/27","id":61216706,"html_url":"https://github.com/Fiware/tutorials.TourGuide-App/pull/27","diff_url":"https://github.com/Fiware/tutorials.TourGuide-App/pull/27.diff","patch_url":"https://github.com/Fiware/tutorials.TourGuide-App/pull/27.patch","issue_url":"https://api.github.com/repos/Fiware/tutorials.TourGuide-App/issues/27","number":27,"state":"open","locked":false,"title":" Added 'use strict' directive and fixed line length.","user":{"login":"FiwareULPGC","id":9944828,"avatar_url":"https://avatars.githubusercontent.com/u/9944828?v=3","gravatar_id":"","url":"https://api.github.com/users/FiwareULPGC","html_url":"https://github.com/FiwareULPGC","followers_url":"https://api.github.com/users/FiwareULPGC/followers","following_url":"https://api.github.com/users/FiwareULPGC/following{/other_user}","gists_url":"https://api.github.com/users/FiwareULPGC/gists{/gist_id}","starred_url":"https://api.github.com/users/FiwareULPGC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FiwareULPGC/subscriptions","organizations_url":"https://api.github.com/users/FiwareULPGC/orgs","repos_url":"https://api.github.com/users/FiwareULPGC/repos","events_url":"https://api.github.com/users/FiwareULPGC/events{/privacy}","received_events_url":"https://api.github.com/users/FiwareULPGC/received_events","type":"User","site_admin":false},"body":"This Pull Request adds the 'use strict' directive to the JavaScript files therefore, minor variable declaration changes has been made. \r\nThis Pull Request also fixes the line length to 80 characters. ","created_at":"2016-03-01T09:50:22Z","updated_at":"2016-03-02T10:14:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":"42f89a426209f8b66af9802d4df753653955447e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Fiware/tutorials.TourGuide-App/pulls/27/commits","review_comments_url":"https://api.github.com/repos/Fiware/tutorials.TourGuide-App/pulls/27/comments","review_comment_url":"https://api.github.com/repos/Fiware/tutorials.TourGuide-App/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Fiware/tutorials.TourGuide-App/issues/27/comments","statuses_url":"https://api.github.com/repos/Fiware/tutorials.TourGuide-App/statuses/f243f80d999ad5476da040e5b1e08d0587718b57","head":{"label":"FiwareULPGC:refactor/jshint","ref":"refactor/jshint","sha":"f243f80d999ad5476da040e5b1e08d0587718b57","user":{"login":"FiwareULPGC","id":9944828,"avatar_url":"https://avatars.githubusercontent.com/u/9944828?v=3","gravatar_id":"","url":"https://api.github.com/users/FiwareULPGC","html_url":"https://github.com/FiwareULPGC","followers_url":"https://api.github.com/users/FiwareULPGC/followers","following_url":"https://api.github.com/users/FiwareULPGC/following{/other_user}","gists_url":"https://api.github.com/users/FiwareULPGC/gists{/gist_id}","starred_url":"https://api.github.com/users/FiwareULPGC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FiwareULPGC/subscriptions","organizations_url":"https://api.github.com/users/FiwareULPGC/orgs","repos_url":"https://api.github.com/users/FiwareULPGC/repos","events_url":"https://api.github.com/users/FiwareULPGC/events{/privacy}","received_events_url":"https://api.github.com/users/FiwareULPGC/received_events","type":"User","site_admin":false},"repo":{"id":39492279,"name":"fiware-devguide-app","full_name":"FiwareULPGC/fiware-devguide-app","owner":{"login":"FiwareULPGC","id":9944828,"avatar_url":"https://avatars.githubusercontent.com/u/9944828?v=3","gravatar_id":"","url":"https://api.github.com/users/FiwareULPGC","html_url":"https://github.com/FiwareULPGC","followers_url":"https://api.github.com/users/FiwareULPGC/followers","following_url":"https://api.github.com/users/FiwareULPGC/following{/other_user}","gists_url":"https://api.github.com/users/FiwareULPGC/gists{/gist_id}","starred_url":"https://api.github.com/users/FiwareULPGC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FiwareULPGC/subscriptions","organizations_url":"https://api.github.com/users/FiwareULPGC/orgs","repos_url":"https://api.github.com/users/FiwareULPGC/repos","events_url":"https://api.github.com/users/FiwareULPGC/events{/privacy}","received_events_url":"https://api.github.com/users/FiwareULPGC/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/FiwareULPGC/fiware-devguide-app","description":"FIWARE Developers Guide Application","fork":true,"url":"https://api.github.com/repos/FiwareULPGC/fiware-devguide-app","forks_url":"https://api.github.com/repos/FiwareULPGC/fiware-devguide-app/forks","keys_url":"https://api.github.com/repos/FiwareULPGC/fiware-devguide-app/keys{/key_id}","collaborators_url":"https://api.github.com/repos/FiwareULPGC/fiware-devguide-app/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/FiwareULPGC/fiware-devguide-app/teams","hooks_url":"https://api.github.com/repos/FiwareULPGC/fiware-devguide-app/hooks","issue_events_url":"https://api.github.com/repos/FiwareULPGC/fiware-devguide-app/issues/events{/number}","events_url":"https://api.github.com/repos/FiwareULPGC/fiware-devguide-app/events","assignees_url":"https://api.github.com/repos/FiwareULPGC/fiware-devguide-app/assignees{/user}","branches_url":"https://api.github.com/repos/FiwareULPGC/fiware-devguide-app/branches{/branch}","tags_url":"https://api.github.com/repos/FiwareULPGC/fiware-devguide-app/tags","blobs_url":"https://api.github.com/repos/FiwareULPGC/fiware-devguide-app/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/FiwareULPGC/fiware-devguide-app/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/FiwareULPGC/fiware-devguide-app/git/refs{/sha}","trees_url":"https://api.github.com/repos/FiwareULPGC/fiware-devguide-app/git/trees{/sha}","statuses_url":"https://api.github.com/repos/FiwareULPGC/fiware-devguide-app/statuses/{sha}","languages_url":"https://api.github.com/repos/FiwareULPGC/fiware-devguide-app/languages","stargazers_url":"https://api.github.com/repos/FiwareULPGC/fiware-devguide-app/stargazers","contributors_url":"https://api.github.com/repos/FiwareULPGC/fiware-devguide-app/contributors","subscribers_url":"https://api.github.com/repos/FiwareULPGC/fiware-devguide-app/subscribers","subscription_url":"https://api.github.com/repos/FiwareULPGC/fiware-devguide-app/subscription","commits_url":"https://api.github.com/repos/FiwareULPGC/fiware-devguide-app/commits{/sha}","git_commits_url":"https://api.github.com/repos/FiwareULPGC/fiware-devguide-app/git/commits{/sha}","comments_url":"https://api.github.com/repos/FiwareULPGC/fiware-devguide-app/comments{/number}","issue_comment_url":"https://api.github.com/repos/FiwareULPGC/fiware-devguide-app/issues/comments{/number}","contents_url":"https://api.github.com/repos/FiwareULPGC/fiware-devguide-app/contents/{+path}","compare_url":"https://api.github.com/repos/FiwareULPGC/fiware-devguide-app/compare/{base}...{head}","merges_url":"https://api.github.com/repos/FiwareULPGC/fiware-devguide-app/merges","archive_url":"https://api.github.com/repos/FiwareULPGC/fiware-devguide-app/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/FiwareULPGC/fiware-devguide-app/downloads","issues_url":"https://api.github.com/repos/FiwareULPGC/fiware-devguide-app/issues{/number}","pulls_url":"https://api.github.com/repos/FiwareULPGC/fiware-devguide-app/pulls{/number}","milestones_url":"https://api.github.com/repos/FiwareULPGC/fiware-devguide-app/milestones{/number}","notifications_url":"https://api.github.com/repos/FiwareULPGC/fiware-devguide-app/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/FiwareULPGC/fiware-devguide-app/labels{/name}","releases_url":"https://api.github.com/repos/FiwareULPGC/fiware-devguide-app/releases{/id}","deployments_url":"https://api.github.com/repos/FiwareULPGC/fiware-devguide-app/deployments","created_at":"2015-07-22T07:33:11Z","updated_at":"2016-01-18T12:02:46Z","pushed_at":"2016-03-02T09:38:09Z","git_url":"git://github.com/FiwareULPGC/fiware-devguide-app.git","ssh_url":"git@github.com:FiwareULPGC/fiware-devguide-app.git","clone_url":"https://github.com/FiwareULPGC/fiware-devguide-app.git","svn_url":"https://github.com/FiwareULPGC/fiware-devguide-app","homepage":null,"size":8106,"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":"Fiware:master","ref":"master","sha":"0c30b3b51478197ad03f5b37ddcf75776698eb42","user":{"login":"Fiware","id":5936803,"avatar_url":"https://avatars.githubusercontent.com/u/5936803?v=3","gravatar_id":"","url":"https://api.github.com/users/Fiware","html_url":"https://github.com/Fiware","followers_url":"https://api.github.com/users/Fiware/followers","following_url":"https://api.github.com/users/Fiware/following{/other_user}","gists_url":"https://api.github.com/users/Fiware/gists{/gist_id}","starred_url":"https://api.github.com/users/Fiware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Fiware/subscriptions","organizations_url":"https://api.github.com/users/Fiware/orgs","repos_url":"https://api.github.com/users/Fiware/repos","events_url":"https://api.github.com/users/Fiware/events{/privacy}","received_events_url":"https://api.github.com/users/Fiware/received_events","type":"Organization","site_admin":false},"repo":{"id":38439707,"name":"tutorials.TourGuide-App","full_name":"Fiware/tutorials.TourGuide-App","owner":{"login":"Fiware","id":5936803,"avatar_url":"https://avatars.githubusercontent.com/u/5936803?v=3","gravatar_id":"","url":"https://api.github.com/users/Fiware","html_url":"https://github.com/Fiware","followers_url":"https://api.github.com/users/Fiware/followers","following_url":"https://api.github.com/users/Fiware/following{/other_user}","gists_url":"https://api.github.com/users/Fiware/gists{/gist_id}","starred_url":"https://api.github.com/users/Fiware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Fiware/subscriptions","organizations_url":"https://api.github.com/users/Fiware/orgs","repos_url":"https://api.github.com/users/Fiware/repos","events_url":"https://api.github.com/users/Fiware/events{/privacy}","received_events_url":"https://api.github.com/users/Fiware/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Fiware/tutorials.TourGuide-App","description":"FIWARE Tour Guide Application. See http://bit.ly/1pby3WP","fork":false,"url":"https://api.github.com/repos/Fiware/tutorials.TourGuide-App","forks_url":"https://api.github.com/repos/Fiware/tutorials.TourGuide-App/forks","keys_url":"https://api.github.com/repos/Fiware/tutorials.TourGuide-App/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Fiware/tutorials.TourGuide-App/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Fiware/tutorials.TourGuide-App/teams","hooks_url":"https://api.github.com/repos/Fiware/tutorials.TourGuide-App/hooks","issue_events_url":"https://api.github.com/repos/Fiware/tutorials.TourGuide-App/issues/events{/number}","events_url":"https://api.github.com/repos/Fiware/tutorials.TourGuide-App/events","assignees_url":"https://api.github.com/repos/Fiware/tutorials.TourGuide-App/assignees{/user}","branches_url":"https://api.github.com/repos/Fiware/tutorials.TourGuide-App/branches{/branch}","tags_url":"https://api.github.com/repos/Fiware/tutorials.TourGuide-App/tags","blobs_url":"https://api.github.com/repos/Fiware/tutorials.TourGuide-App/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Fiware/tutorials.TourGuide-App/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Fiware/tutorials.TourGuide-App/git/refs{/sha}","trees_url":"https://api.github.com/repos/Fiware/tutorials.TourGuide-App/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Fiware/tutorials.TourGuide-App/statuses/{sha}","languages_url":"https://api.github.com/repos/Fiware/tutorials.TourGuide-App/languages","stargazers_url":"https://api.github.com/repos/Fiware/tutorials.TourGuide-App/stargazers","contributors_url":"https://api.github.com/repos/Fiware/tutorials.TourGuide-App/contributors","subscribers_url":"https://api.github.com/repos/Fiware/tutorials.TourGuide-App/subscribers","subscription_url":"https://api.github.com/repos/Fiware/tutorials.TourGuide-App/subscription","commits_url":"https://api.github.com/repos/Fiware/tutorials.TourGuide-App/commits{/sha}","git_commits_url":"https://api.github.com/repos/Fiware/tutorials.TourGuide-App/git/commits{/sha}","comments_url":"https://api.github.com/repos/Fiware/tutorials.TourGuide-App/comments{/number}","issue_comment_url":"https://api.github.com/repos/Fiware/tutorials.TourGuide-App/issues/comments{/number}","contents_url":"https://api.github.com/repos/Fiware/tutorials.TourGuide-App/contents/{+path}","compare_url":"https://api.github.com/repos/Fiware/tutorials.TourGuide-App/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Fiware/tutorials.TourGuide-App/merges","archive_url":"https://api.github.com/repos/Fiware/tutorials.TourGuide-App/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Fiware/tutorials.TourGuide-App/downloads","issues_url":"https://api.github.com/repos/Fiware/tutorials.TourGuide-App/issues{/number}","pulls_url":"https://api.github.com/repos/Fiware/tutorials.TourGuide-App/pulls{/number}","milestones_url":"https://api.github.com/repos/Fiware/tutorials.TourGuide-App/milestones{/number}","notifications_url":"https://api.github.com/repos/Fiware/tutorials.TourGuide-App/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Fiware/tutorials.TourGuide-App/labels{/name}","releases_url":"https://api.github.com/repos/Fiware/tutorials.TourGuide-App/releases{/id}","deployments_url":"https://api.github.com/repos/Fiware/tutorials.TourGuide-App/deployments","created_at":"2015-07-02T15:08:43Z","updated_at":"2016-02-26T20:04:07Z","pushed_at":"2016-03-02T03:10:54Z","git_url":"git://github.com/Fiware/tutorials.TourGuide-App.git","ssh_url":"git@github.com:Fiware/tutorials.TourGuide-App.git","clone_url":"https://github.com/Fiware/tutorials.TourGuide-App.git","svn_url":"https://github.com/Fiware/tutorials.TourGuide-App","homepage":"","size":8135,"stargazers_count":4,"watchers_count":4,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":12,"forks":7,"open_issues":12,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Fiware/tutorials.TourGuide-App/pulls/27"},"html":{"href":"https://github.com/Fiware/tutorials.TourGuide-App/pull/27"},"issue":{"href":"https://api.github.com/repos/Fiware/tutorials.TourGuide-App/issues/27"},"comments":{"href":"https://api.github.com/repos/Fiware/tutorials.TourGuide-App/issues/27/comments"},"review_comments":{"href":"https://api.github.com/repos/Fiware/tutorials.TourGuide-App/pulls/27/comments"},"review_comment":{"href":"https://api.github.com/repos/Fiware/tutorials.TourGuide-App/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Fiware/tutorials.TourGuide-App/pulls/27/commits"},"statuses":{"href":"https://api.github.com/repos/Fiware/tutorials.TourGuide-App/statuses/f243f80d999ad5476da040e5b1e08d0587718b57"}}}}