GitHub PullRequestReviewCommentEvent at 2014-11-04 14:09:44
Repository: iinChecker
Actor: notABluesSinger
Payload: {"action":"created","comment":{"url":"https://api.github.com/repos/Shortbreaks/iinChecker/pulls/comments/19803839","id":19803839,"diff_hunk":"@@ -59,8 +64,33 @@\n \t\t\t\t\tif( ++providerCount < providers.length ) {\n \t\t\t\t\t\tself.makeRequest( iin, providerCount, callback );\n \t\t\t\t\t} else {\n-\t\t\t\t\t\t// Return the err in the error callback, or if no error send back the http status code\n-\t\t\t\t\t\tcallback( error || response.statusCode );\n+\t\t\t\t\t\t// Maybe one last attempt here with RegEx? If that does not work then error\n+\t\t\t\t\t\tvar patterns = require( '../configs/patterns' );\n+\t\t\t\t\t\t\n+\t\t\t\t\t\t// Set out null info object\n+\t\t\t\t\t\tvar cardInfo = {\n+\t\t\t\t\t\t\tiin: iin,\n+\t\t\t\t\t\t\tbrand: null,","path":"lib/iinChecker.js","position":34,"original_position":34,"commit_id":"6cac88c92396b52cfb898fa23ddbf7f54dfae070","original_commit_id":"6cac88c92396b52cfb898fa23ddbf7f54dfae070","user":{"login":"notABluesSinger","id":6094305,"avatar_url":"https://avatars.githubusercontent.com/u/6094305?v=2","gravatar_id":"","url":"https://api.github.com/users/notABluesSinger","html_url":"https://github.com/notABluesSinger","followers_url":"https://api.github.com/users/notABluesSinger/followers","following_url":"https://api.github.com/users/notABluesSinger/following{/other_user}","gists_url":"https://api.github.com/users/notABluesSinger/gists{/gist_id}","starred_url":"https://api.github.com/users/notABluesSinger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/notABluesSinger/subscriptions","organizations_url":"https://api.github.com/users/notABluesSinger/orgs","repos_url":"https://api.github.com/users/notABluesSinger/repos","events_url":"https://api.github.com/users/notABluesSinger/events{/privacy}","received_events_url":"https://api.github.com/users/notABluesSinger/received_events","type":"User","site_admin":false},"body":"Scratch that, read rest of code","created_at":"2014-11-04T14:09:44Z","updated_at":"2014-11-04T14:09:44Z","html_url":"https://github.com/Shortbreaks/iinChecker/pull/21#discussion_r19803839","pull_request_url":"https://api.github.com/repos/Shortbreaks/iinChecker/pulls/21","_links":{"self":{"href":"https://api.github.com/repos/Shortbreaks/iinChecker/pulls/comments/19803839"},"html":{"href":"https://github.com/Shortbreaks/iinChecker/pull/21#discussion_r19803839"},"pull_request":{"href":"https://api.github.com/repos/Shortbreaks/iinChecker/pulls/21"}}},"pull_request":{"url":"https://api.github.com/repos/Shortbreaks/iinChecker/pulls/21","id":23831097,"html_url":"https://github.com/Shortbreaks/iinChecker/pull/21","diff_url":"https://github.com/Shortbreaks/iinChecker/pull/21.diff","patch_url":"https://github.com/Shortbreaks/iinChecker/pull/21.patch","issue_url":"https://api.github.com/repos/Shortbreaks/iinChecker/issues/21","number":21,"state":"open","locked":false,"title":"My attempt at a RegEx solution","user":{"login":"hpoom","id":111315,"avatar_url":"https://avatars.githubusercontent.com/u/111315?v=2","gravatar_id":"","url":"https://api.github.com/users/hpoom","html_url":"https://github.com/hpoom","followers_url":"https://api.github.com/users/hpoom/followers","following_url":"https://api.github.com/users/hpoom/following{/other_user}","gists_url":"https://api.github.com/users/hpoom/gists{/gist_id}","starred_url":"https://api.github.com/users/hpoom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hpoom/subscriptions","organizations_url":"https://api.github.com/users/hpoom/orgs","repos_url":"https://api.github.com/users/hpoom/repos","events_url":"https://api.github.com/users/hpoom/events{/privacy}","received_events_url":"https://api.github.com/users/hpoom/received_events","type":"User","site_admin":false},"body":"Fixes #19","created_at":"2014-11-04T13:23:10Z","updated_at":"2014-11-04T14:09:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e7be0ed2a81f7311deb32c3a039049a5e530cd8f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Shortbreaks/iinChecker/pulls/21/commits","review_comments_url":"https://api.github.com/repos/Shortbreaks/iinChecker/pulls/21/comments","review_comment_url":"https://api.github.com/repos/Shortbreaks/iinChecker/pulls/comments/{number}","comments_url":"https://api.github.com/repos/Shortbreaks/iinChecker/issues/21/comments","statuses_url":"https://api.github.com/repos/Shortbreaks/iinChecker/statuses/6cac88c92396b52cfb898fa23ddbf7f54dfae070","head":{"label":"hpoom:master","ref":"master","sha":"6cac88c92396b52cfb898fa23ddbf7f54dfae070","user":{"login":"hpoom","id":111315,"avatar_url":"https://avatars.githubusercontent.com/u/111315?v=2","gravatar_id":"","url":"https://api.github.com/users/hpoom","html_url":"https://github.com/hpoom","followers_url":"https://api.github.com/users/hpoom/followers","following_url":"https://api.github.com/users/hpoom/following{/other_user}","gists_url":"https://api.github.com/users/hpoom/gists{/gist_id}","starred_url":"https://api.github.com/users/hpoom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hpoom/subscriptions","organizations_url":"https://api.github.com/users/hpoom/orgs","repos_url":"https://api.github.com/users/hpoom/repos","events_url":"https://api.github.com/users/hpoom/events{/privacy}","received_events_url":"https://api.github.com/users/hpoom/received_events","type":"User","site_admin":false},"repo":{"id":26162899,"name":"iinChecker","full_name":"hpoom/iinChecker","owner":{"login":"hpoom","id":111315,"avatar_url":"https://avatars.githubusercontent.com/u/111315?v=2","gravatar_id":"","url":"https://api.github.com/users/hpoom","html_url":"https://github.com/hpoom","followers_url":"https://api.github.com/users/hpoom/followers","following_url":"https://api.github.com/users/hpoom/following{/other_user}","gists_url":"https://api.github.com/users/hpoom/gists{/gist_id}","starred_url":"https://api.github.com/users/hpoom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hpoom/subscriptions","organizations_url":"https://api.github.com/users/hpoom/orgs","repos_url":"https://api.github.com/users/hpoom/repos","events_url":"https://api.github.com/users/hpoom/events{/privacy}","received_events_url":"https://api.github.com/users/hpoom/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/hpoom/iinChecker","description":"Issuer identification number checker which returns details about a credit/debit card","fork":true,"url":"https://api.github.com/repos/hpoom/iinChecker","forks_url":"https://api.github.com/repos/hpoom/iinChecker/forks","keys_url":"https://api.github.com/repos/hpoom/iinChecker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hpoom/iinChecker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hpoom/iinChecker/teams","hooks_url":"https://api.github.com/repos/hpoom/iinChecker/hooks","issue_events_url":"https://api.github.com/repos/hpoom/iinChecker/issues/events{/number}","events_url":"https://api.github.com/repos/hpoom/iinChecker/events","assignees_url":"https://api.github.com/repos/hpoom/iinChecker/assignees{/user}","branches_url":"https://api.github.com/repos/hpoom/iinChecker/branches{/branch}","tags_url":"https://api.github.com/repos/hpoom/iinChecker/tags","blobs_url":"https://api.github.com/repos/hpoom/iinChecker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hpoom/iinChecker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hpoom/iinChecker/git/refs{/sha}","trees_url":"https://api.github.com/repos/hpoom/iinChecker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hpoom/iinChecker/statuses/{sha}","languages_url":"https://api.github.com/repos/hpoom/iinChecker/languages","stargazers_url":"https://api.github.com/repos/hpoom/iinChecker/stargazers","contributors_url":"https://api.github.com/repos/hpoom/iinChecker/contributors","subscribers_url":"https://api.github.com/repos/hpoom/iinChecker/subscribers","subscription_url":"https://api.github.com/repos/hpoom/iinChecker/subscription","commits_url":"https://api.github.com/repos/hpoom/iinChecker/commits{/sha}","git_commits_url":"https://api.github.com/repos/hpoom/iinChecker/git/commits{/sha}","comments_url":"https://api.github.com/repos/hpoom/iinChecker/comments{/number}","issue_comment_url":"https://api.github.com/repos/hpoom/iinChecker/issues/comments/{number}","contents_url":"https://api.github.com/repos/hpoom/iinChecker/contents/{+path}","compare_url":"https://api.github.com/repos/hpoom/iinChecker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hpoom/iinChecker/merges","archive_url":"https://api.github.com/repos/hpoom/iinChecker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hpoom/iinChecker/downloads","issues_url":"https://api.github.com/repos/hpoom/iinChecker/issues{/number}","pulls_url":"https://api.github.com/repos/hpoom/iinChecker/pulls{/number}","milestones_url":"https://api.github.com/repos/hpoom/iinChecker/milestones{/number}","notifications_url":"https://api.github.com/repos/hpoom/iinChecker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hpoom/iinChecker/labels{/name}","releases_url":"https://api.github.com/repos/hpoom/iinChecker/releases{/id}","created_at":"2014-11-04T09:54:11Z","updated_at":"2014-11-04T11:50:48Z","pushed_at":"2014-11-04T13:57:31Z","git_url":"git://github.com/hpoom/iinChecker.git","ssh_url":"git@github.com:hpoom/iinChecker.git","clone_url":"https://github.com/hpoom/iinChecker.git","svn_url":"https://github.com/hpoom/iinChecker","homepage":"","size":488,"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":"Shortbreaks:master","ref":"master","sha":"839bd8d91b283373ed4a911e6a0f4a8249e51b45","user":{"login":"Shortbreaks","id":6961610,"avatar_url":"https://avatars.githubusercontent.com/u/6961610?v=2","gravatar_id":"","url":"https://api.github.com/users/Shortbreaks","html_url":"https://github.com/Shortbreaks","followers_url":"https://api.github.com/users/Shortbreaks/followers","following_url":"https://api.github.com/users/Shortbreaks/following{/other_user}","gists_url":"https://api.github.com/users/Shortbreaks/gists{/gist_id}","starred_url":"https://api.github.com/users/Shortbreaks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shortbreaks/subscriptions","organizations_url":"https://api.github.com/users/Shortbreaks/orgs","repos_url":"https://api.github.com/users/Shortbreaks/repos","events_url":"https://api.github.com/users/Shortbreaks/events{/privacy}","received_events_url":"https://api.github.com/users/Shortbreaks/received_events","type":"Organization","site_admin":false},"repo":{"id":22911460,"name":"iinChecker","full_name":"Shortbreaks/iinChecker","owner":{"login":"Shortbreaks","id":6961610,"avatar_url":"https://avatars.githubusercontent.com/u/6961610?v=2","gravatar_id":"","url":"https://api.github.com/users/Shortbreaks","html_url":"https://github.com/Shortbreaks","followers_url":"https://api.github.com/users/Shortbreaks/followers","following_url":"https://api.github.com/users/Shortbreaks/following{/other_user}","gists_url":"https://api.github.com/users/Shortbreaks/gists{/gist_id}","starred_url":"https://api.github.com/users/Shortbreaks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shortbreaks/subscriptions","organizations_url":"https://api.github.com/users/Shortbreaks/orgs","repos_url":"https://api.github.com/users/Shortbreaks/repos","events_url":"https://api.github.com/users/Shortbreaks/events{/privacy}","received_events_url":"https://api.github.com/users/Shortbreaks/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Shortbreaks/iinChecker","description":"Issuer identification number checker which returns details about a credit/debit card","fork":false,"url":"https://api.github.com/repos/Shortbreaks/iinChecker","forks_url":"https://api.github.com/repos/Shortbreaks/iinChecker/forks","keys_url":"https://api.github.com/repos/Shortbreaks/iinChecker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Shortbreaks/iinChecker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Shortbreaks/iinChecker/teams","hooks_url":"https://api.github.com/repos/Shortbreaks/iinChecker/hooks","issue_events_url":"https://api.github.com/repos/Shortbreaks/iinChecker/issues/events{/number}","events_url":"https://api.github.com/repos/Shortbreaks/iinChecker/events","assignees_url":"https://api.github.com/repos/Shortbreaks/iinChecker/assignees{/user}","branches_url":"https://api.github.com/repos/Shortbreaks/iinChecker/branches{/branch}","tags_url":"https://api.github.com/repos/Shortbreaks/iinChecker/tags","blobs_url":"https://api.github.com/repos/Shortbreaks/iinChecker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Shortbreaks/iinChecker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Shortbreaks/iinChecker/git/refs{/sha}","trees_url":"https://api.github.com/repos/Shortbreaks/iinChecker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Shortbreaks/iinChecker/statuses/{sha}","languages_url":"https://api.github.com/repos/Shortbreaks/iinChecker/languages","stargazers_url":"https://api.github.com/repos/Shortbreaks/iinChecker/stargazers","contributors_url":"https://api.github.com/repos/Shortbreaks/iinChecker/contributors","subscribers_url":"https://api.github.com/repos/Shortbreaks/iinChecker/subscribers","subscription_url":"https://api.github.com/repos/Shortbreaks/iinChecker/subscription","commits_url":"https://api.github.com/repos/Shortbreaks/iinChecker/commits{/sha}","git_commits_url":"https://api.github.com/repos/Shortbreaks/iinChecker/git/commits{/sha}","comments_url":"https://api.github.com/repos/Shortbreaks/iinChecker/comments{/number}","issue_comment_url":"https://api.github.com/repos/Shortbreaks/iinChecker/issues/comments/{number}","contents_url":"https://api.github.com/repos/Shortbreaks/iinChecker/contents/{+path}","compare_url":"https://api.github.com/repos/Shortbreaks/iinChecker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Shortbreaks/iinChecker/merges","archive_url":"https://api.github.com/repos/Shortbreaks/iinChecker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Shortbreaks/iinChecker/downloads","issues_url":"https://api.github.com/repos/Shortbreaks/iinChecker/issues{/number}","pulls_url":"https://api.github.com/repos/Shortbreaks/iinChecker/pulls{/number}","milestones_url":"https://api.github.com/repos/Shortbreaks/iinChecker/milestones{/number}","notifications_url":"https://api.github.com/repos/Shortbreaks/iinChecker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Shortbreaks/iinChecker/labels{/name}","releases_url":"https://api.github.com/repos/Shortbreaks/iinChecker/releases{/id}","created_at":"2014-08-13T10:11:34Z","updated_at":"2014-09-09T18:43:15Z","pushed_at":"2014-11-04T10:58:53Z","git_url":"git://github.com/Shortbreaks/iinChecker.git","ssh_url":"git@github.com:Shortbreaks/iinChecker.git","clone_url":"https://github.com/Shortbreaks/iinChecker.git","svn_url":"https://github.com/Shortbreaks/iinChecker","homepage":"","size":488,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":4,"forks":1,"open_issues":4,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Shortbreaks/iinChecker/pulls/21"},"html":{"href":"https://github.com/Shortbreaks/iinChecker/pull/21"},"issue":{"href":"https://api.github.com/repos/Shortbreaks/iinChecker/issues/21"},"comments":{"href":"https://api.github.com/repos/Shortbreaks/iinChecker/issues/21/comments"},"review_comments":{"href":"https://api.github.com/repos/Shortbreaks/iinChecker/pulls/21/comments"},"review_comment":{"href":"https://api.github.com/repos/Shortbreaks/iinChecker/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/Shortbreaks/iinChecker/pulls/21/commits"},"statuses":{"href":"https://api.github.com/repos/Shortbreaks/iinChecker/statuses/6cac88c92396b52cfb898fa23ddbf7f54dfae070"}}}}