{"action":"created","comment":{"url":"https://api.github.com/repos/honestweb/pocket/pulls/comments/56132393","id":56132393,"diff_hunk":"@@ -0,0 +1,27 @@\n+var minQuantity = 1;\n+var maxQuantity = 999;\n+\n+function validateInputRange(elem) {\n+  value = +elem.val();","path":"app/assets/javascripts/application/validations.js","position":5,"original_position":5,"commit_id":"30ad546fa2dd07b9513902f954b50b7905ab384f","original_commit_id":"30ad546fa2dd07b9513902f954b50b7905ab384f","user":{"login":"houndci-bot","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"'value' is not defined.","created_at":"2016-03-15T09:05:57Z","updated_at":"2016-03-15T09:05:57Z","html_url":"https://github.com/honestweb/pocket/pull/8#discussion_r56132393","pull_request_url":"https://api.github.com/repos/honestweb/pocket/pulls/8","_links":{"self":{"href":"https://api.github.com/repos/honestweb/pocket/pulls/comments/56132393"},"html":{"href":"https://github.com/honestweb/pocket/pull/8#discussion_r56132393"},"pull_request":{"href":"https://api.github.com/repos/honestweb/pocket/pulls/8"}}},"pull_request":{"url":"https://api.github.com/repos/honestweb/pocket/pulls/8","id":62641874,"html_url":"https://github.com/honestweb/pocket/pull/8","diff_url":"https://github.com/honestweb/pocket/pull/8.diff","patch_url":"https://github.com/honestweb/pocket/pull/8.patch","issue_url":"https://api.github.com/repos/honestweb/pocket/issues/8","number":8,"state":"open","locked":false,"title":"Implement shopping cart","user":{"login":"honestweb","id":8902399,"avatar_url":"https://avatars.githubusercontent.com/u/8902399?v=3","gravatar_id":"","url":"https://api.github.com/users/honestweb","html_url":"https://github.com/honestweb","followers_url":"https://api.github.com/users/honestweb/followers","following_url":"https://api.github.com/users/honestweb/following{/other_user}","gists_url":"https://api.github.com/users/honestweb/gists{/gist_id}","starred_url":"https://api.github.com/users/honestweb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/honestweb/subscriptions","organizations_url":"https://api.github.com/users/honestweb/orgs","repos_url":"https://api.github.com/users/honestweb/repos","events_url":"https://api.github.com/users/honestweb/events{/privacy}","received_events_url":"https://api.github.com/users/honestweb/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-03-12T13:51:51Z","updated_at":"2016-03-15T09:05:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":"fef5e301d748d23942ee3667c636740d7384ec63","assignee":{"login":"davetoxa","id":417317,"avatar_url":"https://avatars.githubusercontent.com/u/417317?v=3","gravatar_id":"","url":"https://api.github.com/users/davetoxa","html_url":"https://github.com/davetoxa","followers_url":"https://api.github.com/users/davetoxa/followers","following_url":"https://api.github.com/users/davetoxa/following{/other_user}","gists_url":"https://api.github.com/users/davetoxa/gists{/gist_id}","starred_url":"https://api.github.com/users/davetoxa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davetoxa/subscriptions","organizations_url":"https://api.github.com/users/davetoxa/orgs","repos_url":"https://api.github.com/users/davetoxa/repos","events_url":"https://api.github.com/users/davetoxa/events{/privacy}","received_events_url":"https://api.github.com/users/davetoxa/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/honestweb/pocket/pulls/8/commits","review_comments_url":"https://api.github.com/repos/honestweb/pocket/pulls/8/comments","review_comment_url":"https://api.github.com/repos/honestweb/pocket/pulls/comments{/number}","comments_url":"https://api.github.com/repos/honestweb/pocket/issues/8/comments","statuses_url":"https://api.github.com/repos/honestweb/pocket/statuses/30ad546fa2dd07b9513902f954b50b7905ab384f","head":{"label":"honestweb:cart","ref":"cart","sha":"30ad546fa2dd07b9513902f954b50b7905ab384f","user":{"login":"honestweb","id":8902399,"avatar_url":"https://avatars.githubusercontent.com/u/8902399?v=3","gravatar_id":"","url":"https://api.github.com/users/honestweb","html_url":"https://github.com/honestweb","followers_url":"https://api.github.com/users/honestweb/followers","following_url":"https://api.github.com/users/honestweb/following{/other_user}","gists_url":"https://api.github.com/users/honestweb/gists{/gist_id}","starred_url":"https://api.github.com/users/honestweb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/honestweb/subscriptions","organizations_url":"https://api.github.com/users/honestweb/orgs","repos_url":"https://api.github.com/users/honestweb/repos","events_url":"https://api.github.com/users/honestweb/events{/privacy}","received_events_url":"https://api.github.com/users/honestweb/received_events","type":"User","site_admin":false},"repo":{"id":49820544,"name":"pocket","full_name":"honestweb/pocket","owner":{"login":"honestweb","id":8902399,"avatar_url":"https://avatars.githubusercontent.com/u/8902399?v=3","gravatar_id":"","url":"https://api.github.com/users/honestweb","html_url":"https://github.com/honestweb","followers_url":"https://api.github.com/users/honestweb/followers","following_url":"https://api.github.com/users/honestweb/following{/other_user}","gists_url":"https://api.github.com/users/honestweb/gists{/gist_id}","starred_url":"https://api.github.com/users/honestweb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/honestweb/subscriptions","organizations_url":"https://api.github.com/users/honestweb/orgs","repos_url":"https://api.github.com/users/honestweb/repos","events_url":"https://api.github.com/users/honestweb/events{/privacy}","received_events_url":"https://api.github.com/users/honestweb/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/honestweb/pocket","description":"Online store (in development)","fork":false,"url":"https://api.github.com/repos/honestweb/pocket","forks_url":"https://api.github.com/repos/honestweb/pocket/forks","keys_url":"https://api.github.com/repos/honestweb/pocket/keys{/key_id}","collaborators_url":"https://api.github.com/repos/honestweb/pocket/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/honestweb/pocket/teams","hooks_url":"https://api.github.com/repos/honestweb/pocket/hooks","issue_events_url":"https://api.github.com/repos/honestweb/pocket/issues/events{/number}","events_url":"https://api.github.com/repos/honestweb/pocket/events","assignees_url":"https://api.github.com/repos/honestweb/pocket/assignees{/user}","branches_url":"https://api.github.com/repos/honestweb/pocket/branches{/branch}","tags_url":"https://api.github.com/repos/honestweb/pocket/tags","blobs_url":"https://api.github.com/repos/honestweb/pocket/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/honestweb/pocket/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/honestweb/pocket/git/refs{/sha}","trees_url":"https://api.github.com/repos/honestweb/pocket/git/trees{/sha}","statuses_url":"https://api.github.com/repos/honestweb/pocket/statuses/{sha}","languages_url":"https://api.github.com/repos/honestweb/pocket/languages","stargazers_url":"https://api.github.com/repos/honestweb/pocket/stargazers","contributors_url":"https://api.github.com/repos/honestweb/pocket/contributors","subscribers_url":"https://api.github.com/repos/honestweb/pocket/subscribers","subscription_url":"https://api.github.com/repos/honestweb/pocket/subscription","commits_url":"https://api.github.com/repos/honestweb/pocket/commits{/sha}","git_commits_url":"https://api.github.com/repos/honestweb/pocket/git/commits{/sha}","comments_url":"https://api.github.com/repos/honestweb/pocket/comments{/number}","issue_comment_url":"https://api.github.com/repos/honestweb/pocket/issues/comments{/number}","contents_url":"https://api.github.com/repos/honestweb/pocket/contents/{+path}","compare_url":"https://api.github.com/repos/honestweb/pocket/compare/{base}...{head}","merges_url":"https://api.github.com/repos/honestweb/pocket/merges","archive_url":"https://api.github.com/repos/honestweb/pocket/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/honestweb/pocket/downloads","issues_url":"https://api.github.com/repos/honestweb/pocket/issues{/number}","pulls_url":"https://api.github.com/repos/honestweb/pocket/pulls{/number}","milestones_url":"https://api.github.com/repos/honestweb/pocket/milestones{/number}","notifications_url":"https://api.github.com/repos/honestweb/pocket/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/honestweb/pocket/labels{/name}","releases_url":"https://api.github.com/repos/honestweb/pocket/releases{/id}","deployments_url":"https://api.github.com/repos/honestweb/pocket/deployments","created_at":"2016-01-17T14:27:45Z","updated_at":"2016-02-28T13:06:34Z","pushed_at":"2016-03-15T09:05:44Z","git_url":"git://github.com/honestweb/pocket.git","ssh_url":"git@github.com:honestweb/pocket.git","clone_url":"https://github.com/honestweb/pocket.git","svn_url":"https://github.com/honestweb/pocket","homepage":"","size":207,"stargazers_count":0,"watchers_count":0,"language":"Ruby","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":"honestweb:master","ref":"master","sha":"efd296f4fa2d6e2d540f9175186fb245be827b55","user":{"login":"honestweb","id":8902399,"avatar_url":"https://avatars.githubusercontent.com/u/8902399?v=3","gravatar_id":"","url":"https://api.github.com/users/honestweb","html_url":"https://github.com/honestweb","followers_url":"https://api.github.com/users/honestweb/followers","following_url":"https://api.github.com/users/honestweb/following{/other_user}","gists_url":"https://api.github.com/users/honestweb/gists{/gist_id}","starred_url":"https://api.github.com/users/honestweb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/honestweb/subscriptions","organizations_url":"https://api.github.com/users/honestweb/orgs","repos_url":"https://api.github.com/users/honestweb/repos","events_url":"https://api.github.com/users/honestweb/events{/privacy}","received_events_url":"https://api.github.com/users/honestweb/received_events","type":"User","site_admin":false},"repo":{"id":49820544,"name":"pocket","full_name":"honestweb/pocket","owner":{"login":"honestweb","id":8902399,"avatar_url":"https://avatars.githubusercontent.com/u/8902399?v=3","gravatar_id":"","url":"https://api.github.com/users/honestweb","html_url":"https://github.com/honestweb","followers_url":"https://api.github.com/users/honestweb/followers","following_url":"https://api.github.com/users/honestweb/following{/other_user}","gists_url":"https://api.github.com/users/honestweb/gists{/gist_id}","starred_url":"https://api.github.com/users/honestweb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/honestweb/subscriptions","organizations_url":"https://api.github.com/users/honestweb/orgs","repos_url":"https://api.github.com/users/honestweb/repos","events_url":"https://api.github.com/users/honestweb/events{/privacy}","received_events_url":"https://api.github.com/users/honestweb/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/honestweb/pocket","description":"Online store (in development)","fork":false,"url":"https://api.github.com/repos/honestweb/pocket","forks_url":"https://api.github.com/repos/honestweb/pocket/forks","keys_url":"https://api.github.com/repos/honestweb/pocket/keys{/key_id}","collaborators_url":"https://api.github.com/repos/honestweb/pocket/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/honestweb/pocket/teams","hooks_url":"https://api.github.com/repos/honestweb/pocket/hooks","issue_events_url":"https://api.github.com/repos/honestweb/pocket/issues/events{/number}","events_url":"https://api.github.com/repos/honestweb/pocket/events","assignees_url":"https://api.github.com/repos/honestweb/pocket/assignees{/user}","branches_url":"https://api.github.com/repos/honestweb/pocket/branches{/branch}","tags_url":"https://api.github.com/repos/honestweb/pocket/tags","blobs_url":"https://api.github.com/repos/honestweb/pocket/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/honestweb/pocket/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/honestweb/pocket/git/refs{/sha}","trees_url":"https://api.github.com/repos/honestweb/pocket/git/trees{/sha}","statuses_url":"https://api.github.com/repos/honestweb/pocket/statuses/{sha}","languages_url":"https://api.github.com/repos/honestweb/pocket/languages","stargazers_url":"https://api.github.com/repos/honestweb/pocket/stargazers","contributors_url":"https://api.github.com/repos/honestweb/pocket/contributors","subscribers_url":"https://api.github.com/repos/honestweb/pocket/subscribers","subscription_url":"https://api.github.com/repos/honestweb/pocket/subscription","commits_url":"https://api.github.com/repos/honestweb/pocket/commits{/sha}","git_commits_url":"https://api.github.com/repos/honestweb/pocket/git/commits{/sha}","comments_url":"https://api.github.com/repos/honestweb/pocket/comments{/number}","issue_comment_url":"https://api.github.com/repos/honestweb/pocket/issues/comments{/number}","contents_url":"https://api.github.com/repos/honestweb/pocket/contents/{+path}","compare_url":"https://api.github.com/repos/honestweb/pocket/compare/{base}...{head}","merges_url":"https://api.github.com/repos/honestweb/pocket/merges","archive_url":"https://api.github.com/repos/honestweb/pocket/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/honestweb/pocket/downloads","issues_url":"https://api.github.com/repos/honestweb/pocket/issues{/number}","pulls_url":"https://api.github.com/repos/honestweb/pocket/pulls{/number}","milestones_url":"https://api.github.com/repos/honestweb/pocket/milestones{/number}","notifications_url":"https://api.github.com/repos/honestweb/pocket/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/honestweb/pocket/labels{/name}","releases_url":"https://api.github.com/repos/honestweb/pocket/releases{/id}","deployments_url":"https://api.github.com/repos/honestweb/pocket/deployments","created_at":"2016-01-17T14:27:45Z","updated_at":"2016-02-28T13:06:34Z","pushed_at":"2016-03-15T09:05:44Z","git_url":"git://github.com/honestweb/pocket.git","ssh_url":"git@github.com:honestweb/pocket.git","clone_url":"https://github.com/honestweb/pocket.git","svn_url":"https://github.com/honestweb/pocket","homepage":"","size":207,"stargazers_count":0,"watchers_count":0,"language":"Ruby","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/honestweb/pocket/pulls/8"},"html":{"href":"https://github.com/honestweb/pocket/pull/8"},"issue":{"href":"https://api.github.com/repos/honestweb/pocket/issues/8"},"comments":{"href":"https://api.github.com/repos/honestweb/pocket/issues/8/comments"},"review_comments":{"href":"https://api.github.com/repos/honestweb/pocket/pulls/8/comments"},"review_comment":{"href":"https://api.github.com/repos/honestweb/pocket/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/honestweb/pocket/pulls/8/commits"},"statuses":{"href":"https://api.github.com/repos/honestweb/pocket/statuses/30ad546fa2dd07b9513902f954b50b7905ab384f"}}}}