{"action":"created","comment":{"url":"https://api.github.com/repos/andrasq/node-qqsort/pulls/comments/44704235","id":44704235,"diff_hunk":"@@ -0,0 +1,84 @@\n+/**\n+ * quicker quicksort\n+ * non-blocking, efficient\n+ *\n+ * 2015-10-18 - AR.\n+ */\n+\n+'use strict'\n+\n+var nextTick = global.setImmediate || process.nextTick\n+\n+module.exports = function qqsort( array, compar, callback ) {","path":"qqsort.js","position":12,"original_position":12,"commit_id":"cbe81b78424ba3a476d2d0c8fab519a8d330b1a0","original_commit_id":"cbe81b78424ba3a476d2d0c8fab519a8d330b1a0","user":{"login":"mjsalinger","id":2452620,"avatar_url":"https://avatars.githubusercontent.com/u/2452620?v=3","gravatar_id":"","url":"https://api.github.com/users/mjsalinger","html_url":"https://github.com/mjsalinger","followers_url":"https://api.github.com/users/mjsalinger/followers","following_url":"https://api.github.com/users/mjsalinger/following{/other_user}","gists_url":"https://api.github.com/users/mjsalinger/gists{/gist_id}","starred_url":"https://api.github.com/users/mjsalinger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mjsalinger/subscriptions","organizations_url":"https://api.github.com/users/mjsalinger/orgs","repos_url":"https://api.github.com/users/mjsalinger/repos","events_url":"https://api.github.com/users/mjsalinger/events{/privacy}","received_events_url":"https://api.github.com/users/mjsalinger/received_events","type":"User","site_admin":false},"body":"Can you gracefully handle the error case where someone just calls `qqsort()` without passing any arguments?  ","created_at":"2015-11-12T19:41:06Z","updated_at":"2015-11-12T19:41:06Z","html_url":"https://github.com/andrasq/node-qqsort/pull/1#discussion_r44704235","pull_request_url":"https://api.github.com/repos/andrasq/node-qqsort/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/andrasq/node-qqsort/pulls/comments/44704235"},"html":{"href":"https://github.com/andrasq/node-qqsort/pull/1#discussion_r44704235"},"pull_request":{"href":"https://api.github.com/repos/andrasq/node-qqsort/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/andrasq/node-qqsort/pulls/1","id":50556397,"html_url":"https://github.com/andrasq/node-qqsort/pull/1","diff_url":"https://github.com/andrasq/node-qqsort/pull/1.diff","patch_url":"https://github.com/andrasq/node-qqsort/pull/1.patch","issue_url":"https://api.github.com/repos/andrasq/node-qqsort/issues/1","number":1,"state":"open","locked":false,"title":"qqsort 1.0.5 review","user":{"login":"andrasq","id":5438027,"avatar_url":"https://avatars.githubusercontent.com/u/5438027?v=3","gravatar_id":"","url":"https://api.github.com/users/andrasq","html_url":"https://github.com/andrasq","followers_url":"https://api.github.com/users/andrasq/followers","following_url":"https://api.github.com/users/andrasq/following{/other_user}","gists_url":"https://api.github.com/users/andrasq/gists{/gist_id}","starred_url":"https://api.github.com/users/andrasq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrasq/subscriptions","organizations_url":"https://api.github.com/users/andrasq/orgs","repos_url":"https://api.github.com/users/andrasq/repos","events_url":"https://api.github.com/users/andrasq/events{/privacy}","received_events_url":"https://api.github.com/users/andrasq/received_events","type":"User","site_admin":false},"body":"non-blocking quicksort with unit tests","created_at":"2015-11-12T19:33:50Z","updated_at":"2015-11-12T19:41:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a24f02c5c1a687231cf3b2b87006b900b1e0e3f2","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/andrasq/node-qqsort/pulls/1/commits","review_comments_url":"https://api.github.com/repos/andrasq/node-qqsort/pulls/1/comments","review_comment_url":"https://api.github.com/repos/andrasq/node-qqsort/pulls/comments{/number}","comments_url":"https://api.github.com/repos/andrasq/node-qqsort/issues/1/comments","statuses_url":"https://api.github.com/repos/andrasq/node-qqsort/statuses/cbe81b78424ba3a476d2d0c8fab519a8d330b1a0","head":{"label":"andrasq:review1","ref":"review1","sha":"cbe81b78424ba3a476d2d0c8fab519a8d330b1a0","user":{"login":"andrasq","id":5438027,"avatar_url":"https://avatars.githubusercontent.com/u/5438027?v=3","gravatar_id":"","url":"https://api.github.com/users/andrasq","html_url":"https://github.com/andrasq","followers_url":"https://api.github.com/users/andrasq/followers","following_url":"https://api.github.com/users/andrasq/following{/other_user}","gists_url":"https://api.github.com/users/andrasq/gists{/gist_id}","starred_url":"https://api.github.com/users/andrasq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrasq/subscriptions","organizations_url":"https://api.github.com/users/andrasq/orgs","repos_url":"https://api.github.com/users/andrasq/repos","events_url":"https://api.github.com/users/andrasq/events{/privacy}","received_events_url":"https://api.github.com/users/andrasq/received_events","type":"User","site_admin":false},"repo":{"id":44498154,"name":"node-qqsort","full_name":"andrasq/node-qqsort","owner":{"login":"andrasq","id":5438027,"avatar_url":"https://avatars.githubusercontent.com/u/5438027?v=3","gravatar_id":"","url":"https://api.github.com/users/andrasq","html_url":"https://github.com/andrasq","followers_url":"https://api.github.com/users/andrasq/followers","following_url":"https://api.github.com/users/andrasq/following{/other_user}","gists_url":"https://api.github.com/users/andrasq/gists{/gist_id}","starred_url":"https://api.github.com/users/andrasq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrasq/subscriptions","organizations_url":"https://api.github.com/users/andrasq/orgs","repos_url":"https://api.github.com/users/andrasq/repos","events_url":"https://api.github.com/users/andrasq/events{/privacy}","received_events_url":"https://api.github.com/users/andrasq/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/andrasq/node-qqsort","description":"fast, non-blocking quicksort","fork":false,"url":"https://api.github.com/repos/andrasq/node-qqsort","forks_url":"https://api.github.com/repos/andrasq/node-qqsort/forks","keys_url":"https://api.github.com/repos/andrasq/node-qqsort/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andrasq/node-qqsort/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andrasq/node-qqsort/teams","hooks_url":"https://api.github.com/repos/andrasq/node-qqsort/hooks","issue_events_url":"https://api.github.com/repos/andrasq/node-qqsort/issues/events{/number}","events_url":"https://api.github.com/repos/andrasq/node-qqsort/events","assignees_url":"https://api.github.com/repos/andrasq/node-qqsort/assignees{/user}","branches_url":"https://api.github.com/repos/andrasq/node-qqsort/branches{/branch}","tags_url":"https://api.github.com/repos/andrasq/node-qqsort/tags","blobs_url":"https://api.github.com/repos/andrasq/node-qqsort/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andrasq/node-qqsort/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andrasq/node-qqsort/git/refs{/sha}","trees_url":"https://api.github.com/repos/andrasq/node-qqsort/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andrasq/node-qqsort/statuses/{sha}","languages_url":"https://api.github.com/repos/andrasq/node-qqsort/languages","stargazers_url":"https://api.github.com/repos/andrasq/node-qqsort/stargazers","contributors_url":"https://api.github.com/repos/andrasq/node-qqsort/contributors","subscribers_url":"https://api.github.com/repos/andrasq/node-qqsort/subscribers","subscription_url":"https://api.github.com/repos/andrasq/node-qqsort/subscription","commits_url":"https://api.github.com/repos/andrasq/node-qqsort/commits{/sha}","git_commits_url":"https://api.github.com/repos/andrasq/node-qqsort/git/commits{/sha}","comments_url":"https://api.github.com/repos/andrasq/node-qqsort/comments{/number}","issue_comment_url":"https://api.github.com/repos/andrasq/node-qqsort/issues/comments{/number}","contents_url":"https://api.github.com/repos/andrasq/node-qqsort/contents/{+path}","compare_url":"https://api.github.com/repos/andrasq/node-qqsort/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andrasq/node-qqsort/merges","archive_url":"https://api.github.com/repos/andrasq/node-qqsort/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andrasq/node-qqsort/downloads","issues_url":"https://api.github.com/repos/andrasq/node-qqsort/issues{/number}","pulls_url":"https://api.github.com/repos/andrasq/node-qqsort/pulls{/number}","milestones_url":"https://api.github.com/repos/andrasq/node-qqsort/milestones{/number}","notifications_url":"https://api.github.com/repos/andrasq/node-qqsort/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andrasq/node-qqsort/labels{/name}","releases_url":"https://api.github.com/repos/andrasq/node-qqsort/releases{/id}","created_at":"2015-10-18T21:53:17Z","updated_at":"2015-10-18T21:55:00Z","pushed_at":"2015-11-12T19:33:50Z","git_url":"git://github.com/andrasq/node-qqsort.git","ssh_url":"git@github.com:andrasq/node-qqsort.git","clone_url":"https://github.com/andrasq/node-qqsort.git","svn_url":"https://github.com/andrasq/node-qqsort","homepage":null,"size":148,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"andrasq:empty","ref":"empty","sha":"dce78e3d7fe8d6eff4645e41bae0f61f6419bbb6","user":{"login":"andrasq","id":5438027,"avatar_url":"https://avatars.githubusercontent.com/u/5438027?v=3","gravatar_id":"","url":"https://api.github.com/users/andrasq","html_url":"https://github.com/andrasq","followers_url":"https://api.github.com/users/andrasq/followers","following_url":"https://api.github.com/users/andrasq/following{/other_user}","gists_url":"https://api.github.com/users/andrasq/gists{/gist_id}","starred_url":"https://api.github.com/users/andrasq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrasq/subscriptions","organizations_url":"https://api.github.com/users/andrasq/orgs","repos_url":"https://api.github.com/users/andrasq/repos","events_url":"https://api.github.com/users/andrasq/events{/privacy}","received_events_url":"https://api.github.com/users/andrasq/received_events","type":"User","site_admin":false},"repo":{"id":44498154,"name":"node-qqsort","full_name":"andrasq/node-qqsort","owner":{"login":"andrasq","id":5438027,"avatar_url":"https://avatars.githubusercontent.com/u/5438027?v=3","gravatar_id":"","url":"https://api.github.com/users/andrasq","html_url":"https://github.com/andrasq","followers_url":"https://api.github.com/users/andrasq/followers","following_url":"https://api.github.com/users/andrasq/following{/other_user}","gists_url":"https://api.github.com/users/andrasq/gists{/gist_id}","starred_url":"https://api.github.com/users/andrasq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrasq/subscriptions","organizations_url":"https://api.github.com/users/andrasq/orgs","repos_url":"https://api.github.com/users/andrasq/repos","events_url":"https://api.github.com/users/andrasq/events{/privacy}","received_events_url":"https://api.github.com/users/andrasq/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/andrasq/node-qqsort","description":"fast, non-blocking quicksort","fork":false,"url":"https://api.github.com/repos/andrasq/node-qqsort","forks_url":"https://api.github.com/repos/andrasq/node-qqsort/forks","keys_url":"https://api.github.com/repos/andrasq/node-qqsort/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andrasq/node-qqsort/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andrasq/node-qqsort/teams","hooks_url":"https://api.github.com/repos/andrasq/node-qqsort/hooks","issue_events_url":"https://api.github.com/repos/andrasq/node-qqsort/issues/events{/number}","events_url":"https://api.github.com/repos/andrasq/node-qqsort/events","assignees_url":"https://api.github.com/repos/andrasq/node-qqsort/assignees{/user}","branches_url":"https://api.github.com/repos/andrasq/node-qqsort/branches{/branch}","tags_url":"https://api.github.com/repos/andrasq/node-qqsort/tags","blobs_url":"https://api.github.com/repos/andrasq/node-qqsort/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andrasq/node-qqsort/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andrasq/node-qqsort/git/refs{/sha}","trees_url":"https://api.github.com/repos/andrasq/node-qqsort/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andrasq/node-qqsort/statuses/{sha}","languages_url":"https://api.github.com/repos/andrasq/node-qqsort/languages","stargazers_url":"https://api.github.com/repos/andrasq/node-qqsort/stargazers","contributors_url":"https://api.github.com/repos/andrasq/node-qqsort/contributors","subscribers_url":"https://api.github.com/repos/andrasq/node-qqsort/subscribers","subscription_url":"https://api.github.com/repos/andrasq/node-qqsort/subscription","commits_url":"https://api.github.com/repos/andrasq/node-qqsort/commits{/sha}","git_commits_url":"https://api.github.com/repos/andrasq/node-qqsort/git/commits{/sha}","comments_url":"https://api.github.com/repos/andrasq/node-qqsort/comments{/number}","issue_comment_url":"https://api.github.com/repos/andrasq/node-qqsort/issues/comments{/number}","contents_url":"https://api.github.com/repos/andrasq/node-qqsort/contents/{+path}","compare_url":"https://api.github.com/repos/andrasq/node-qqsort/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andrasq/node-qqsort/merges","archive_url":"https://api.github.com/repos/andrasq/node-qqsort/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andrasq/node-qqsort/downloads","issues_url":"https://api.github.com/repos/andrasq/node-qqsort/issues{/number}","pulls_url":"https://api.github.com/repos/andrasq/node-qqsort/pulls{/number}","milestones_url":"https://api.github.com/repos/andrasq/node-qqsort/milestones{/number}","notifications_url":"https://api.github.com/repos/andrasq/node-qqsort/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andrasq/node-qqsort/labels{/name}","releases_url":"https://api.github.com/repos/andrasq/node-qqsort/releases{/id}","created_at":"2015-10-18T21:53:17Z","updated_at":"2015-10-18T21:55:00Z","pushed_at":"2015-11-12T19:33:50Z","git_url":"git://github.com/andrasq/node-qqsort.git","ssh_url":"git@github.com:andrasq/node-qqsort.git","clone_url":"https://github.com/andrasq/node-qqsort.git","svn_url":"https://github.com/andrasq/node-qqsort","homepage":null,"size":148,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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/andrasq/node-qqsort/pulls/1"},"html":{"href":"https://github.com/andrasq/node-qqsort/pull/1"},"issue":{"href":"https://api.github.com/repos/andrasq/node-qqsort/issues/1"},"comments":{"href":"https://api.github.com/repos/andrasq/node-qqsort/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/andrasq/node-qqsort/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/andrasq/node-qqsort/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/andrasq/node-qqsort/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/andrasq/node-qqsort/statuses/cbe81b78424ba3a476d2d0c8fab519a8d330b1a0"}}}}