{"action":"created","comment":{"url":"https://api.github.com/repos/nss-day-cohort-13/spa-milestone-quiz-josephkane/pulls/comments/63084838","id":63084838,"diff_hunk":"@@ -0,0 +1,55 @@\n+var CarLot = (function(oldCarLot){\n+\n+\tvar selectedId = \"\";\n+\tvar userInput = document.getElementById(\"textInputBar\");\n+\n+\toldCarLot.activateEvents = function (array) {\n+\t\tvar inventoryCards = document.getElementsByClassName(\"inventoryCard\");\n+\t\tvar textInputBar = document.getElementById(\"textInputBar\");","path":"eventHandlers.js","position":8,"original_position":8,"commit_id":"a9f78427273e7f6972d29edbb296b356067bc69b","original_commit_id":"a9f78427273e7f6972d29edbb296b356067bc69b","user":{"login":"NewEvolution","id":591490,"avatar_url":"https://avatars.githubusercontent.com/u/591490?v=3","gravatar_id":"","url":"https://api.github.com/users/NewEvolution","html_url":"https://github.com/NewEvolution","followers_url":"https://api.github.com/users/NewEvolution/followers","following_url":"https://api.github.com/users/NewEvolution/following{/other_user}","gists_url":"https://api.github.com/users/NewEvolution/gists{/gist_id}","starred_url":"https://api.github.com/users/NewEvolution/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NewEvolution/subscriptions","organizations_url":"https://api.github.com/users/NewEvolution/orgs","repos_url":"https://api.github.com/users/NewEvolution/repos","events_url":"https://api.github.com/users/NewEvolution/events{/privacy}","received_events_url":"https://api.github.com/users/NewEvolution/received_events","type":"User","site_admin":false},"body":"You're grabbing ```textInputBar``` here but you've already grabbed it on a higher scope on line 4, so you could just use that one internally to this function as well (in fact, you don't even use ```textInputBar``` in here)","created_at":"2016-05-12T19:48:06Z","updated_at":"2016-05-12T19:48:06Z","html_url":"https://github.com/nss-day-cohort-13/spa-milestone-quiz-josephkane/pull/1#discussion_r63084838","pull_request_url":"https://api.github.com/repos/nss-day-cohort-13/spa-milestone-quiz-josephkane/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/nss-day-cohort-13/spa-milestone-quiz-josephkane/pulls/comments/63084838"},"html":{"href":"https://github.com/nss-day-cohort-13/spa-milestone-quiz-josephkane/pull/1#discussion_r63084838"},"pull_request":{"href":"https://api.github.com/repos/nss-day-cohort-13/spa-milestone-quiz-josephkane/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/nss-day-cohort-13/spa-milestone-quiz-josephkane/pulls/1","id":69585742,"html_url":"https://github.com/nss-day-cohort-13/spa-milestone-quiz-josephkane/pull/1","diff_url":"https://github.com/nss-day-cohort-13/spa-milestone-quiz-josephkane/pull/1.diff","patch_url":"https://github.com/nss-day-cohort-13/spa-milestone-quiz-josephkane/pull/1.patch","issue_url":"https://api.github.com/repos/nss-day-cohort-13/spa-milestone-quiz-josephkane/issues/1","number":1,"state":"open","locked":false,"title":"Quiz","user":{"login":"josephkane","id":18269936,"avatar_url":"https://avatars.githubusercontent.com/u/18269936?v=3","gravatar_id":"","url":"https://api.github.com/users/josephkane","html_url":"https://github.com/josephkane","followers_url":"https://api.github.com/users/josephkane/followers","following_url":"https://api.github.com/users/josephkane/following{/other_user}","gists_url":"https://api.github.com/users/josephkane/gists{/gist_id}","starred_url":"https://api.github.com/users/josephkane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josephkane/subscriptions","organizations_url":"https://api.github.com/users/josephkane/orgs","repos_url":"https://api.github.com/users/josephkane/repos","events_url":"https://api.github.com/users/josephkane/events{/privacy}","received_events_url":"https://api.github.com/users/josephkane/received_events","type":"User","site_admin":false},"body":"Not sure if this was in the requirements, but my code should alter the \"description\" key of the correct array object upon hitting the return key/submit button, as long as text is entered in the input field. ","created_at":"2016-05-10T22:04:04Z","updated_at":"2016-05-12T19:48:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":"772e5825fe6588a36329c8c9d39ebfe4bf3783ee","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/nss-day-cohort-13/spa-milestone-quiz-josephkane/pulls/1/commits","review_comments_url":"https://api.github.com/repos/nss-day-cohort-13/spa-milestone-quiz-josephkane/pulls/1/comments","review_comment_url":"https://api.github.com/repos/nss-day-cohort-13/spa-milestone-quiz-josephkane/pulls/comments{/number}","comments_url":"https://api.github.com/repos/nss-day-cohort-13/spa-milestone-quiz-josephkane/issues/1/comments","statuses_url":"https://api.github.com/repos/nss-day-cohort-13/spa-milestone-quiz-josephkane/statuses/a9f78427273e7f6972d29edbb296b356067bc69b","head":{"label":"nss-day-cohort-13:quiz","ref":"quiz","sha":"a9f78427273e7f6972d29edbb296b356067bc69b","user":{"login":"nss-day-cohort-13","id":17909385,"avatar_url":"https://avatars.githubusercontent.com/u/17909385?v=3","gravatar_id":"","url":"https://api.github.com/users/nss-day-cohort-13","html_url":"https://github.com/nss-day-cohort-13","followers_url":"https://api.github.com/users/nss-day-cohort-13/followers","following_url":"https://api.github.com/users/nss-day-cohort-13/following{/other_user}","gists_url":"https://api.github.com/users/nss-day-cohort-13/gists{/gist_id}","starred_url":"https://api.github.com/users/nss-day-cohort-13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nss-day-cohort-13/subscriptions","organizations_url":"https://api.github.com/users/nss-day-cohort-13/orgs","repos_url":"https://api.github.com/users/nss-day-cohort-13/repos","events_url":"https://api.github.com/users/nss-day-cohort-13/events{/privacy}","received_events_url":"https://api.github.com/users/nss-day-cohort-13/received_events","type":"Organization","site_admin":false},"repo":{"id":58158390,"name":"spa-milestone-quiz-josephkane","full_name":"nss-day-cohort-13/spa-milestone-quiz-josephkane","owner":{"login":"nss-day-cohort-13","id":17909385,"avatar_url":"https://avatars.githubusercontent.com/u/17909385?v=3","gravatar_id":"","url":"https://api.github.com/users/nss-day-cohort-13","html_url":"https://github.com/nss-day-cohort-13","followers_url":"https://api.github.com/users/nss-day-cohort-13/followers","following_url":"https://api.github.com/users/nss-day-cohort-13/following{/other_user}","gists_url":"https://api.github.com/users/nss-day-cohort-13/gists{/gist_id}","starred_url":"https://api.github.com/users/nss-day-cohort-13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nss-day-cohort-13/subscriptions","organizations_url":"https://api.github.com/users/nss-day-cohort-13/orgs","repos_url":"https://api.github.com/users/nss-day-cohort-13/repos","events_url":"https://api.github.com/users/nss-day-cohort-13/events{/privacy}","received_events_url":"https://api.github.com/users/nss-day-cohort-13/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/nss-day-cohort-13/spa-milestone-quiz-josephkane","description":"spa-milestone-quiz-josephkane created by GitHub Classroom","fork":false,"url":"https://api.github.com/repos/nss-day-cohort-13/spa-milestone-quiz-josephkane","forks_url":"https://api.github.com/repos/nss-day-cohort-13/spa-milestone-quiz-josephkane/forks","keys_url":"https://api.github.com/repos/nss-day-cohort-13/spa-milestone-quiz-josephkane/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nss-day-cohort-13/spa-milestone-quiz-josephkane/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nss-day-cohort-13/spa-milestone-quiz-josephkane/teams","hooks_url":"https://api.github.com/repos/nss-day-cohort-13/spa-milestone-quiz-josephkane/hooks","issue_events_url":"https://api.github.com/repos/nss-day-cohort-13/spa-milestone-quiz-josephkane/issues/events{/number}","events_url":"https://api.github.com/repos/nss-day-cohort-13/spa-milestone-quiz-josephkane/events","assignees_url":"https://api.github.com/repos/nss-day-cohort-13/spa-milestone-quiz-josephkane/assignees{/user}","branches_url":"https://api.github.com/repos/nss-day-cohort-13/spa-milestone-quiz-josephkane/branches{/branch}","tags_url":"https://api.github.com/repos/nss-day-cohort-13/spa-milestone-quiz-josephkane/tags","blobs_url":"https://api.github.com/repos/nss-day-cohort-13/spa-milestone-quiz-josephkane/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nss-day-cohort-13/spa-milestone-quiz-josephkane/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nss-day-cohort-13/spa-milestone-quiz-josephkane/git/refs{/sha}","trees_url":"https://api.github.com/repos/nss-day-cohort-13/spa-milestone-quiz-josephkane/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nss-day-cohort-13/spa-milestone-quiz-josephkane/statuses/{sha}","languages_url":"https://api.github.com/repos/nss-day-cohort-13/spa-milestone-quiz-josephkane/languages","stargazers_url":"https://api.github.com/repos/nss-day-cohort-13/spa-milestone-quiz-josephkane/stargazers","contributors_url":"https://api.github.com/repos/nss-day-cohort-13/spa-milestone-quiz-josephkane/contributors","subscribers_url":"https://api.github.com/repos/nss-day-cohort-13/spa-milestone-quiz-josephkane/subscribers","subscription_url":"https://api.github.com/repos/nss-day-cohort-13/spa-milestone-quiz-josephkane/subscription","commits_url":"https://api.github.com/repos/nss-day-cohort-13/spa-milestone-quiz-josephkane/commits{/sha}","git_commits_url":"https://api.github.com/repos/nss-day-cohort-13/spa-milestone-quiz-josephkane/git/commits{/sha}","comments_url":"https://api.github.com/repos/nss-day-cohort-13/spa-milestone-quiz-josephkane/comments{/number}","issue_comment_url":"https://api.github.com/repos/nss-day-cohort-13/spa-milestone-quiz-josephkane/issues/comments{/number}","contents_url":"https://api.github.com/repos/nss-day-cohort-13/spa-milestone-quiz-josephkane/contents/{+path}","compare_url":"https://api.github.com/repos/nss-day-cohort-13/spa-milestone-quiz-josephkane/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nss-day-cohort-13/spa-milestone-quiz-josephkane/merges","archive_url":"https://api.github.com/repos/nss-day-cohort-13/spa-milestone-quiz-josephkane/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nss-day-cohort-13/spa-milestone-quiz-josephkane/downloads","issues_url":"https://api.github.com/repos/nss-day-cohort-13/spa-milestone-quiz-josephkane/issues{/number}","pulls_url":"https://api.github.com/repos/nss-day-cohort-13/spa-milestone-quiz-josephkane/pulls{/number}","milestones_url":"https://api.github.com/repos/nss-day-cohort-13/spa-milestone-quiz-josephkane/milestones{/number}","notifications_url":"https://api.github.com/repos/nss-day-cohort-13/spa-milestone-quiz-josephkane/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nss-day-cohort-13/spa-milestone-quiz-josephkane/labels{/name}","releases_url":"https://api.github.com/repos/nss-day-cohort-13/spa-milestone-quiz-josephkane/releases{/id}","deployments_url":"https://api.github.com/repos/nss-day-cohort-13/spa-milestone-quiz-josephkane/deployments","created_at":"2016-05-05T20:24:37Z","updated_at":"2016-05-05T20:24:37Z","pushed_at":"2016-05-10T22:32:41Z","git_url":"git://github.com/nss-day-cohort-13/spa-milestone-quiz-josephkane.git","ssh_url":"git@github.com:nss-day-cohort-13/spa-milestone-quiz-josephkane.git","clone_url":"https://github.com/nss-day-cohort-13/spa-milestone-quiz-josephkane.git","svn_url":"https://github.com/nss-day-cohort-13/spa-milestone-quiz-josephkane","homepage":null,"size":16,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"nss-day-cohort-13:master","ref":"master","sha":"44e6fbb797d407767e66fd61dab9dd6f761ab5a6","user":{"login":"nss-day-cohort-13","id":17909385,"avatar_url":"https://avatars.githubusercontent.com/u/17909385?v=3","gravatar_id":"","url":"https://api.github.com/users/nss-day-cohort-13","html_url":"https://github.com/nss-day-cohort-13","followers_url":"https://api.github.com/users/nss-day-cohort-13/followers","following_url":"https://api.github.com/users/nss-day-cohort-13/following{/other_user}","gists_url":"https://api.github.com/users/nss-day-cohort-13/gists{/gist_id}","starred_url":"https://api.github.com/users/nss-day-cohort-13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nss-day-cohort-13/subscriptions","organizations_url":"https://api.github.com/users/nss-day-cohort-13/orgs","repos_url":"https://api.github.com/users/nss-day-cohort-13/repos","events_url":"https://api.github.com/users/nss-day-cohort-13/events{/privacy}","received_events_url":"https://api.github.com/users/nss-day-cohort-13/received_events","type":"Organization","site_admin":false},"repo":{"id":58158390,"name":"spa-milestone-quiz-josephkane","full_name":"nss-day-cohort-13/spa-milestone-quiz-josephkane","owner":{"login":"nss-day-cohort-13","id":17909385,"avatar_url":"https://avatars.githubusercontent.com/u/17909385?v=3","gravatar_id":"","url":"https://api.github.com/users/nss-day-cohort-13","html_url":"https://github.com/nss-day-cohort-13","followers_url":"https://api.github.com/users/nss-day-cohort-13/followers","following_url":"https://api.github.com/users/nss-day-cohort-13/following{/other_user}","gists_url":"https://api.github.com/users/nss-day-cohort-13/gists{/gist_id}","starred_url":"https://api.github.com/users/nss-day-cohort-13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nss-day-cohort-13/subscriptions","organizations_url":"https://api.github.com/users/nss-day-cohort-13/orgs","repos_url":"https://api.github.com/users/nss-day-cohort-13/repos","events_url":"https://api.github.com/users/nss-day-cohort-13/events{/privacy}","received_events_url":"https://api.github.com/users/nss-day-cohort-13/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/nss-day-cohort-13/spa-milestone-quiz-josephkane","description":"spa-milestone-quiz-josephkane created by GitHub Classroom","fork":false,"url":"https://api.github.com/repos/nss-day-cohort-13/spa-milestone-quiz-josephkane","forks_url":"https://api.github.com/repos/nss-day-cohort-13/spa-milestone-quiz-josephkane/forks","keys_url":"https://api.github.com/repos/nss-day-cohort-13/spa-milestone-quiz-josephkane/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nss-day-cohort-13/spa-milestone-quiz-josephkane/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nss-day-cohort-13/spa-milestone-quiz-josephkane/teams","hooks_url":"https://api.github.com/repos/nss-day-cohort-13/spa-milestone-quiz-josephkane/hooks","issue_events_url":"https://api.github.com/repos/nss-day-cohort-13/spa-milestone-quiz-josephkane/issues/events{/number}","events_url":"https://api.github.com/repos/nss-day-cohort-13/spa-milestone-quiz-josephkane/events","assignees_url":"https://api.github.com/repos/nss-day-cohort-13/spa-milestone-quiz-josephkane/assignees{/user}","branches_url":"https://api.github.com/repos/nss-day-cohort-13/spa-milestone-quiz-josephkane/branches{/branch}","tags_url":"https://api.github.com/repos/nss-day-cohort-13/spa-milestone-quiz-josephkane/tags","blobs_url":"https://api.github.com/repos/nss-day-cohort-13/spa-milestone-quiz-josephkane/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nss-day-cohort-13/spa-milestone-quiz-josephkane/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nss-day-cohort-13/spa-milestone-quiz-josephkane/git/refs{/sha}","trees_url":"https://api.github.com/repos/nss-day-cohort-13/spa-milestone-quiz-josephkane/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nss-day-cohort-13/spa-milestone-quiz-josephkane/statuses/{sha}","languages_url":"https://api.github.com/repos/nss-day-cohort-13/spa-milestone-quiz-josephkane/languages","stargazers_url":"https://api.github.com/repos/nss-day-cohort-13/spa-milestone-quiz-josephkane/stargazers","contributors_url":"https://api.github.com/repos/nss-day-cohort-13/spa-milestone-quiz-josephkane/contributors","subscribers_url":"https://api.github.com/repos/nss-day-cohort-13/spa-milestone-quiz-josephkane/subscribers","subscription_url":"https://api.github.com/repos/nss-day-cohort-13/spa-milestone-quiz-josephkane/subscription","commits_url":"https://api.github.com/repos/nss-day-cohort-13/spa-milestone-quiz-josephkane/commits{/sha}","git_commits_url":"https://api.github.com/repos/nss-day-cohort-13/spa-milestone-quiz-josephkane/git/commits{/sha}","comments_url":"https://api.github.com/repos/nss-day-cohort-13/spa-milestone-quiz-josephkane/comments{/number}","issue_comment_url":"https://api.github.com/repos/nss-day-cohort-13/spa-milestone-quiz-josephkane/issues/comments{/number}","contents_url":"https://api.github.com/repos/nss-day-cohort-13/spa-milestone-quiz-josephkane/contents/{+path}","compare_url":"https://api.github.com/repos/nss-day-cohort-13/spa-milestone-quiz-josephkane/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nss-day-cohort-13/spa-milestone-quiz-josephkane/merges","archive_url":"https://api.github.com/repos/nss-day-cohort-13/spa-milestone-quiz-josephkane/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nss-day-cohort-13/spa-milestone-quiz-josephkane/downloads","issues_url":"https://api.github.com/repos/nss-day-cohort-13/spa-milestone-quiz-josephkane/issues{/number}","pulls_url":"https://api.github.com/repos/nss-day-cohort-13/spa-milestone-quiz-josephkane/pulls{/number}","milestones_url":"https://api.github.com/repos/nss-day-cohort-13/spa-milestone-quiz-josephkane/milestones{/number}","notifications_url":"https://api.github.com/repos/nss-day-cohort-13/spa-milestone-quiz-josephkane/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nss-day-cohort-13/spa-milestone-quiz-josephkane/labels{/name}","releases_url":"https://api.github.com/repos/nss-day-cohort-13/spa-milestone-quiz-josephkane/releases{/id}","deployments_url":"https://api.github.com/repos/nss-day-cohort-13/spa-milestone-quiz-josephkane/deployments","created_at":"2016-05-05T20:24:37Z","updated_at":"2016-05-05T20:24:37Z","pushed_at":"2016-05-10T22:32:41Z","git_url":"git://github.com/nss-day-cohort-13/spa-milestone-quiz-josephkane.git","ssh_url":"git@github.com:nss-day-cohort-13/spa-milestone-quiz-josephkane.git","clone_url":"https://github.com/nss-day-cohort-13/spa-milestone-quiz-josephkane.git","svn_url":"https://github.com/nss-day-cohort-13/spa-milestone-quiz-josephkane","homepage":null,"size":16,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/nss-day-cohort-13/spa-milestone-quiz-josephkane/pulls/1"},"html":{"href":"https://github.com/nss-day-cohort-13/spa-milestone-quiz-josephkane/pull/1"},"issue":{"href":"https://api.github.com/repos/nss-day-cohort-13/spa-milestone-quiz-josephkane/issues/1"},"comments":{"href":"https://api.github.com/repos/nss-day-cohort-13/spa-milestone-quiz-josephkane/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/nss-day-cohort-13/spa-milestone-quiz-josephkane/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/nss-day-cohort-13/spa-milestone-quiz-josephkane/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/nss-day-cohort-13/spa-milestone-quiz-josephkane/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/nss-day-cohort-13/spa-milestone-quiz-josephkane/statuses/a9f78427273e7f6972d29edbb296b356067bc69b"}}}}