{"action":"created","comment":{"url":"https://api.github.com/repos/tryber/sd-01-week9-project-shopping-cart/pulls/comments/345750122","pull_request_review_id":316232228,"id":345750122,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDM0NTc1MDEyMg==","diff_hunk":"@@ -0,0 +1,164 @@\n+\n+function saveName() {\n+  const inputName = document.getElementsByClassName('input-name')[0];\n+  inputName.addEventListener('blur', () => sessionStorage.setItem('name', inputName.value));\n+}\n+\n+function setCookie() {\n+  const inputTermsAgree = document.getElementsByClassName('input-terms')[0];\n+  const days = 7;\n+  inputTermsAgree.addEventListener('change', function settingCookie() {\n+    const expires = new Date(Date.now() + (days * 864e5)).toUTCString();\n+    document.cookie = 'terms-agree =' + encodeURIComponent(inputTermsAgree.checked) + '; expires=' + expires + '; path=' + '/';","path":"antoniopaolillo/script.js","position":12,"original_position":12,"commit_id":"4e17159bbcc2cdffdfb56bb6f8ed9492a3ab3ade","original_commit_id":"4e17159bbcc2cdffdfb56bb6f8ed9492a3ab3ade","user":{"login":"codeclimate[bot]","id":36754821,"node_id":"MDM6Qm90MzY3NTQ4MjE=","avatar_url":"https://avatars0.githubusercontent.com/in/9403?v=4","gravatar_id":"","url":"https://api.github.com/users/codeclimate%5Bbot%5D","html_url":"https://github.com/apps/codeclimate","followers_url":"https://api.github.com/users/codeclimate%5Bbot%5D/followers","following_url":"https://api.github.com/users/codeclimate%5Bbot%5D/following{/other_user}","gists_url":"https://api.github.com/users/codeclimate%5Bbot%5D/gists{/gist_id}","starred_url":"https://api.github.com/users/codeclimate%5Bbot%5D/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codeclimate%5Bbot%5D/subscriptions","organizations_url":"https://api.github.com/users/codeclimate%5Bbot%5D/orgs","repos_url":"https://api.github.com/users/codeclimate%5Bbot%5D/repos","events_url":"https://api.github.com/users/codeclimate%5Bbot%5D/events{/privacy}","received_events_url":"https://api.github.com/users/codeclimate%5Bbot%5D/received_events","type":"Bot","site_admin":false},"body":"Unexpected string concatenation.","created_at":"2019-11-13T13:12:54Z","updated_at":"2019-11-13T13:12:55Z","html_url":"https://github.com/tryber/sd-01-week9-project-shopping-cart/pull/4#discussion_r345750122","pull_request_url":"https://api.github.com/repos/tryber/sd-01-week9-project-shopping-cart/pulls/4","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/tryber/sd-01-week9-project-shopping-cart/pulls/comments/345750122"},"html":{"href":"https://github.com/tryber/sd-01-week9-project-shopping-cart/pull/4#discussion_r345750122"},"pull_request":{"href":"https://api.github.com/repos/tryber/sd-01-week9-project-shopping-cart/pulls/4"}}},"pull_request":{"url":"https://api.github.com/repos/tryber/sd-01-week9-project-shopping-cart/pulls/4","id":339544789,"node_id":"MDExOlB1bGxSZXF1ZXN0MzM5NTQ0Nzg5","html_url":"https://github.com/tryber/sd-01-week9-project-shopping-cart/pull/4","diff_url":"https://github.com/tryber/sd-01-week9-project-shopping-cart/pull/4.diff","patch_url":"https://github.com/tryber/sd-01-week9-project-shopping-cart/pull/4.patch","issue_url":"https://api.github.com/repos/tryber/sd-01-week9-project-shopping-cart/issues/4","number":4,"state":"open","locked":false,"title":"iniciando projeto! vqv","user":{"login":"antoniopaolillo","id":49873495,"node_id":"MDQ6VXNlcjQ5ODczNDk1","avatar_url":"https://avatars3.githubusercontent.com/u/49873495?v=4","gravatar_id":"","url":"https://api.github.com/users/antoniopaolillo","html_url":"https://github.com/antoniopaolillo","followers_url":"https://api.github.com/users/antoniopaolillo/followers","following_url":"https://api.github.com/users/antoniopaolillo/following{/other_user}","gists_url":"https://api.github.com/users/antoniopaolillo/gists{/gist_id}","starred_url":"https://api.github.com/users/antoniopaolillo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/antoniopaolillo/subscriptions","organizations_url":"https://api.github.com/users/antoniopaolillo/orgs","repos_url":"https://api.github.com/users/antoniopaolillo/repos","events_url":"https://api.github.com/users/antoniopaolillo/events{/privacy}","received_events_url":"https://api.github.com/users/antoniopaolillo/received_events","type":"User","site_admin":false},"body":"","created_at":"2019-11-11T17:44:03Z","updated_at":"2019-11-13T13:12:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":"12d67d741e4528d13f3b157c6371b582b5ccd918","assignee":null,"assignees":[],"requested_reviewers":[{"login":"thiagopnobre","id":5624432,"node_id":"MDQ6VXNlcjU2MjQ0MzI=","avatar_url":"https://avatars3.githubusercontent.com/u/5624432?v=4","gravatar_id":"","url":"https://api.github.com/users/thiagopnobre","html_url":"https://github.com/thiagopnobre","followers_url":"https://api.github.com/users/thiagopnobre/followers","following_url":"https://api.github.com/users/thiagopnobre/following{/other_user}","gists_url":"https://api.github.com/users/thiagopnobre/gists{/gist_id}","starred_url":"https://api.github.com/users/thiagopnobre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thiagopnobre/subscriptions","organizations_url":"https://api.github.com/users/thiagopnobre/orgs","repos_url":"https://api.github.com/users/thiagopnobre/repos","events_url":"https://api.github.com/users/thiagopnobre/events{/privacy}","received_events_url":"https://api.github.com/users/thiagopnobre/received_events","type":"User","site_admin":false},{"login":"jeanpsv","id":16016822,"node_id":"MDQ6VXNlcjE2MDE2ODIy","avatar_url":"https://avatars0.githubusercontent.com/u/16016822?v=4","gravatar_id":"","url":"https://api.github.com/users/jeanpsv","html_url":"https://github.com/jeanpsv","followers_url":"https://api.github.com/users/jeanpsv/followers","following_url":"https://api.github.com/users/jeanpsv/following{/other_user}","gists_url":"https://api.github.com/users/jeanpsv/gists{/gist_id}","starred_url":"https://api.github.com/users/jeanpsv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeanpsv/subscriptions","organizations_url":"https://api.github.com/users/jeanpsv/orgs","repos_url":"https://api.github.com/users/jeanpsv/repos","events_url":"https://api.github.com/users/jeanpsv/events{/privacy}","received_events_url":"https://api.github.com/users/jeanpsv/received_events","type":"User","site_admin":false}],"requested_teams":[{"name":"Monitors","id":3419652,"node_id":"MDQ6VGVhbTM0MTk2NTI=","slug":"monitors","description":"Tryber's Monitors ","privacy":"closed","url":"https://api.github.com/teams/3419652","html_url":"https://github.com/orgs/tryber/teams/monitors","members_url":"https://api.github.com/teams/3419652/members{/member}","repositories_url":"https://api.github.com/teams/3419652/repos","permission":"pull"}],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/tryber/sd-01-week9-project-shopping-cart/pulls/4/commits","review_comments_url":"https://api.github.com/repos/tryber/sd-01-week9-project-shopping-cart/pulls/4/comments","review_comment_url":"https://api.github.com/repos/tryber/sd-01-week9-project-shopping-cart/pulls/comments{/number}","comments_url":"https://api.github.com/repos/tryber/sd-01-week9-project-shopping-cart/issues/4/comments","statuses_url":"https://api.github.com/repos/tryber/sd-01-week9-project-shopping-cart/statuses/4e17159bbcc2cdffdfb56bb6f8ed9492a3ab3ade","head":{"label":"tryber:antoniopaolillo-project-shopping-cart","ref":"antoniopaolillo-project-shopping-cart","sha":"4e17159bbcc2cdffdfb56bb6f8ed9492a3ab3ade","user":{"login":"tryber","id":55410300,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU1NDEwMzAw","avatar_url":"https://avatars2.githubusercontent.com/u/55410300?v=4","gravatar_id":"","url":"https://api.github.com/users/tryber","html_url":"https://github.com/tryber","followers_url":"https://api.github.com/users/tryber/followers","following_url":"https://api.github.com/users/tryber/following{/other_user}","gists_url":"https://api.github.com/users/tryber/gists{/gist_id}","starred_url":"https://api.github.com/users/tryber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tryber/subscriptions","organizations_url":"https://api.github.com/users/tryber/orgs","repos_url":"https://api.github.com/users/tryber/repos","events_url":"https://api.github.com/users/tryber/events{/privacy}","received_events_url":"https://api.github.com/users/tryber/received_events","type":"Organization","site_admin":false},"repo":{"id":219576993,"node_id":"MDEwOlJlcG9zaXRvcnkyMTk1NzY5OTM=","name":"sd-01-week9-project-shopping-cart","full_name":"tryber/sd-01-week9-project-shopping-cart","private":false,"owner":{"login":"tryber","id":55410300,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU1NDEwMzAw","avatar_url":"https://avatars2.githubusercontent.com/u/55410300?v=4","gravatar_id":"","url":"https://api.github.com/users/tryber","html_url":"https://github.com/tryber","followers_url":"https://api.github.com/users/tryber/followers","following_url":"https://api.github.com/users/tryber/following{/other_user}","gists_url":"https://api.github.com/users/tryber/gists{/gist_id}","starred_url":"https://api.github.com/users/tryber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tryber/subscriptions","organizations_url":"https://api.github.com/users/tryber/orgs","repos_url":"https://api.github.com/users/tryber/repos","events_url":"https://api.github.com/users/tryber/events{/privacy}","received_events_url":"https://api.github.com/users/tryber/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/tryber/sd-01-week9-project-shopping-cart","description":"Repositório para o aluno enviar o projeto da semana 9 do curso. Tema: Web Storage e JavaScript Promises","fork":false,"url":"https://api.github.com/repos/tryber/sd-01-week9-project-shopping-cart","forks_url":"https://api.github.com/repos/tryber/sd-01-week9-project-shopping-cart/forks","keys_url":"https://api.github.com/repos/tryber/sd-01-week9-project-shopping-cart/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tryber/sd-01-week9-project-shopping-cart/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tryber/sd-01-week9-project-shopping-cart/teams","hooks_url":"https://api.github.com/repos/tryber/sd-01-week9-project-shopping-cart/hooks","issue_events_url":"https://api.github.com/repos/tryber/sd-01-week9-project-shopping-cart/issues/events{/number}","events_url":"https://api.github.com/repos/tryber/sd-01-week9-project-shopping-cart/events","assignees_url":"https://api.github.com/repos/tryber/sd-01-week9-project-shopping-cart/assignees{/user}","branches_url":"https://api.github.com/repos/tryber/sd-01-week9-project-shopping-cart/branches{/branch}","tags_url":"https://api.github.com/repos/tryber/sd-01-week9-project-shopping-cart/tags","blobs_url":"https://api.github.com/repos/tryber/sd-01-week9-project-shopping-cart/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tryber/sd-01-week9-project-shopping-cart/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tryber/sd-01-week9-project-shopping-cart/git/refs{/sha}","trees_url":"https://api.github.com/repos/tryber/sd-01-week9-project-shopping-cart/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tryber/sd-01-week9-project-shopping-cart/statuses/{sha}","languages_url":"https://api.github.com/repos/tryber/sd-01-week9-project-shopping-cart/languages","stargazers_url":"https://api.github.com/repos/tryber/sd-01-week9-project-shopping-cart/stargazers","contributors_url":"https://api.github.com/repos/tryber/sd-01-week9-project-shopping-cart/contributors","subscribers_url":"https://api.github.com/repos/tryber/sd-01-week9-project-shopping-cart/subscribers","subscription_url":"https://api.github.com/repos/tryber/sd-01-week9-project-shopping-cart/subscription","commits_url":"https://api.github.com/repos/tryber/sd-01-week9-project-shopping-cart/commits{/sha}","git_commits_url":"https://api.github.com/repos/tryber/sd-01-week9-project-shopping-cart/git/commits{/sha}","comments_url":"https://api.github.com/repos/tryber/sd-01-week9-project-shopping-cart/comments{/number}","issue_comment_url":"https://api.github.com/repos/tryber/sd-01-week9-project-shopping-cart/issues/comments{/number}","contents_url":"https://api.github.com/repos/tryber/sd-01-week9-project-shopping-cart/contents/{+path}","compare_url":"https://api.github.com/repos/tryber/sd-01-week9-project-shopping-cart/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tryber/sd-01-week9-project-shopping-cart/merges","archive_url":"https://api.github.com/repos/tryber/sd-01-week9-project-shopping-cart/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tryber/sd-01-week9-project-shopping-cart/downloads","issues_url":"https://api.github.com/repos/tryber/sd-01-week9-project-shopping-cart/issues{/number}","pulls_url":"https://api.github.com/repos/tryber/sd-01-week9-project-shopping-cart/pulls{/number}","milestones_url":"https://api.github.com/repos/tryber/sd-01-week9-project-shopping-cart/milestones{/number}","notifications_url":"https://api.github.com/repos/tryber/sd-01-week9-project-shopping-cart/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tryber/sd-01-week9-project-shopping-cart/labels{/name}","releases_url":"https://api.github.com/repos/tryber/sd-01-week9-project-shopping-cart/releases{/id}","deployments_url":"https://api.github.com/repos/tryber/sd-01-week9-project-shopping-cart/deployments","created_at":"2019-11-04T19:10:50Z","updated_at":"2019-11-08T18:35:09Z","pushed_at":"2019-11-13T13:12:29Z","git_url":"git://github.com/tryber/sd-01-week9-project-shopping-cart.git","ssh_url":"git@github.com:tryber/sd-01-week9-project-shopping-cart.git","clone_url":"https://github.com/tryber/sd-01-week9-project-shopping-cart.git","svn_url":"https://github.com/tryber/sd-01-week9-project-shopping-cart","homepage":"","size":101,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":11,"license":null,"forks":0,"open_issues":11,"watchers":0,"default_branch":"master"}},"base":{"label":"tryber:master","ref":"master","sha":"61ab0a9a937ca376175d031a9519e4878ebbf4b5","user":{"login":"tryber","id":55410300,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU1NDEwMzAw","avatar_url":"https://avatars2.githubusercontent.com/u/55410300?v=4","gravatar_id":"","url":"https://api.github.com/users/tryber","html_url":"https://github.com/tryber","followers_url":"https://api.github.com/users/tryber/followers","following_url":"https://api.github.com/users/tryber/following{/other_user}","gists_url":"https://api.github.com/users/tryber/gists{/gist_id}","starred_url":"https://api.github.com/users/tryber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tryber/subscriptions","organizations_url":"https://api.github.com/users/tryber/orgs","repos_url":"https://api.github.com/users/tryber/repos","events_url":"https://api.github.com/users/tryber/events{/privacy}","received_events_url":"https://api.github.com/users/tryber/received_events","type":"Organization","site_admin":false},"repo":{"id":219576993,"node_id":"MDEwOlJlcG9zaXRvcnkyMTk1NzY5OTM=","name":"sd-01-week9-project-shopping-cart","full_name":"tryber/sd-01-week9-project-shopping-cart","private":false,"owner":{"login":"tryber","id":55410300,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU1NDEwMzAw","avatar_url":"https://avatars2.githubusercontent.com/u/55410300?v=4","gravatar_id":"","url":"https://api.github.com/users/tryber","html_url":"https://github.com/tryber","followers_url":"https://api.github.com/users/tryber/followers","following_url":"https://api.github.com/users/tryber/following{/other_user}","gists_url":"https://api.github.com/users/tryber/gists{/gist_id}","starred_url":"https://api.github.com/users/tryber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tryber/subscriptions","organizations_url":"https://api.github.com/users/tryber/orgs","repos_url":"https://api.github.com/users/tryber/repos","events_url":"https://api.github.com/users/tryber/events{/privacy}","received_events_url":"https://api.github.com/users/tryber/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/tryber/sd-01-week9-project-shopping-cart","description":"Repositório para o aluno enviar o projeto da semana 9 do curso. Tema: Web Storage e JavaScript Promises","fork":false,"url":"https://api.github.com/repos/tryber/sd-01-week9-project-shopping-cart","forks_url":"https://api.github.com/repos/tryber/sd-01-week9-project-shopping-cart/forks","keys_url":"https://api.github.com/repos/tryber/sd-01-week9-project-shopping-cart/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tryber/sd-01-week9-project-shopping-cart/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tryber/sd-01-week9-project-shopping-cart/teams","hooks_url":"https://api.github.com/repos/tryber/sd-01-week9-project-shopping-cart/hooks","issue_events_url":"https://api.github.com/repos/tryber/sd-01-week9-project-shopping-cart/issues/events{/number}","events_url":"https://api.github.com/repos/tryber/sd-01-week9-project-shopping-cart/events","assignees_url":"https://api.github.com/repos/tryber/sd-01-week9-project-shopping-cart/assignees{/user}","branches_url":"https://api.github.com/repos/tryber/sd-01-week9-project-shopping-cart/branches{/branch}","tags_url":"https://api.github.com/repos/tryber/sd-01-week9-project-shopping-cart/tags","blobs_url":"https://api.github.com/repos/tryber/sd-01-week9-project-shopping-cart/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tryber/sd-01-week9-project-shopping-cart/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tryber/sd-01-week9-project-shopping-cart/git/refs{/sha}","trees_url":"https://api.github.com/repos/tryber/sd-01-week9-project-shopping-cart/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tryber/sd-01-week9-project-shopping-cart/statuses/{sha}","languages_url":"https://api.github.com/repos/tryber/sd-01-week9-project-shopping-cart/languages","stargazers_url":"https://api.github.com/repos/tryber/sd-01-week9-project-shopping-cart/stargazers","contributors_url":"https://api.github.com/repos/tryber/sd-01-week9-project-shopping-cart/contributors","subscribers_url":"https://api.github.com/repos/tryber/sd-01-week9-project-shopping-cart/subscribers","subscription_url":"https://api.github.com/repos/tryber/sd-01-week9-project-shopping-cart/subscription","commits_url":"https://api.github.com/repos/tryber/sd-01-week9-project-shopping-cart/commits{/sha}","git_commits_url":"https://api.github.com/repos/tryber/sd-01-week9-project-shopping-cart/git/commits{/sha}","comments_url":"https://api.github.com/repos/tryber/sd-01-week9-project-shopping-cart/comments{/number}","issue_comment_url":"https://api.github.com/repos/tryber/sd-01-week9-project-shopping-cart/issues/comments{/number}","contents_url":"https://api.github.com/repos/tryber/sd-01-week9-project-shopping-cart/contents/{+path}","compare_url":"https://api.github.com/repos/tryber/sd-01-week9-project-shopping-cart/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tryber/sd-01-week9-project-shopping-cart/merges","archive_url":"https://api.github.com/repos/tryber/sd-01-week9-project-shopping-cart/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tryber/sd-01-week9-project-shopping-cart/downloads","issues_url":"https://api.github.com/repos/tryber/sd-01-week9-project-shopping-cart/issues{/number}","pulls_url":"https://api.github.com/repos/tryber/sd-01-week9-project-shopping-cart/pulls{/number}","milestones_url":"https://api.github.com/repos/tryber/sd-01-week9-project-shopping-cart/milestones{/number}","notifications_url":"https://api.github.com/repos/tryber/sd-01-week9-project-shopping-cart/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tryber/sd-01-week9-project-shopping-cart/labels{/name}","releases_url":"https://api.github.com/repos/tryber/sd-01-week9-project-shopping-cart/releases{/id}","deployments_url":"https://api.github.com/repos/tryber/sd-01-week9-project-shopping-cart/deployments","created_at":"2019-11-04T19:10:50Z","updated_at":"2019-11-08T18:35:09Z","pushed_at":"2019-11-13T13:12:29Z","git_url":"git://github.com/tryber/sd-01-week9-project-shopping-cart.git","ssh_url":"git@github.com:tryber/sd-01-week9-project-shopping-cart.git","clone_url":"https://github.com/tryber/sd-01-week9-project-shopping-cart.git","svn_url":"https://github.com/tryber/sd-01-week9-project-shopping-cart","homepage":"","size":101,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":11,"license":null,"forks":0,"open_issues":11,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/tryber/sd-01-week9-project-shopping-cart/pulls/4"},"html":{"href":"https://github.com/tryber/sd-01-week9-project-shopping-cart/pull/4"},"issue":{"href":"https://api.github.com/repos/tryber/sd-01-week9-project-shopping-cart/issues/4"},"comments":{"href":"https://api.github.com/repos/tryber/sd-01-week9-project-shopping-cart/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/tryber/sd-01-week9-project-shopping-cart/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/tryber/sd-01-week9-project-shopping-cart/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/tryber/sd-01-week9-project-shopping-cart/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/tryber/sd-01-week9-project-shopping-cart/statuses/4e17159bbcc2cdffdfb56bb6f8ed9492a3ab3ade"}},"author_association":"NONE"}}
{"actor":{"display_login":"codeclimate"}}