{"action":"created","comment":{"url":"https://api.github.com/repos/AnyFetch/pdfocr.anyfetch.com/pulls/comments/23927917","id":23927917,"diff_hunk":"@@ -10,12 +14,60 @@ var async = require('async');\n  * @param {object} changes object provided by anyFetch's API. Update this object to send document's modification to anyFetch's API.\n  * @param {function} cb Callback, first parameter is the error if any, then the processed data\n  */\n-module.exports = function(path, document, changes, cb) {\n-  async.waterfall([\n-    function(cb) {\n-      cb();\n+\n+ module.exports = function(path, document, changes, finalCallback) {","path":"lib/index.js","position":22,"original_position":22,"commit_id":"42adfbb7a76fc4101e6af0483c46f80729433a99","original_commit_id":"42adfbb7a76fc4101e6af0483c46f80729433a99","user":{"login":"Neamar","id":536844,"avatar_url":"https://avatars.githubusercontent.com/u/536844?v=3","gravatar_id":"","url":"https://api.github.com/users/Neamar","html_url":"https://github.com/Neamar","followers_url":"https://api.github.com/users/Neamar/followers","following_url":"https://api.github.com/users/Neamar/following{/other_user}","gists_url":"https://api.github.com/users/Neamar/gists{/gist_id}","starred_url":"https://api.github.com/users/Neamar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Neamar/subscriptions","organizations_url":"https://api.github.com/users/Neamar/orgs","repos_url":"https://api.github.com/users/Neamar/repos","events_url":"https://api.github.com/users/Neamar/events{/privacy}","received_events_url":"https://api.github.com/users/Neamar/received_events","type":"User","site_admin":false},"body":"use `cb` or `next`","created_at":"2015-02-02T14:38:38Z","updated_at":"2015-02-02T14:38:38Z","html_url":"https://github.com/AnyFetch/pdfocr.anyfetch.com/pull/1#discussion_r23927917","pull_request_url":"https://api.github.com/repos/AnyFetch/pdfocr.anyfetch.com/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/AnyFetch/pdfocr.anyfetch.com/pulls/comments/23927917"},"html":{"href":"https://github.com/AnyFetch/pdfocr.anyfetch.com/pull/1#discussion_r23927917"},"pull_request":{"href":"https://api.github.com/repos/AnyFetch/pdfocr.anyfetch.com/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/AnyFetch/pdfocr.anyfetch.com/pulls/1","id":28472076,"html_url":"https://github.com/AnyFetch/pdfocr.anyfetch.com/pull/1","diff_url":"https://github.com/AnyFetch/pdfocr.anyfetch.com/pull/1.diff","patch_url":"https://github.com/AnyFetch/pdfocr.anyfetch.com/pull/1.patch","issue_url":"https://api.github.com/repos/AnyFetch/pdfocr.anyfetch.com/issues/1","number":1,"state":"open","locked":false,"title":"First pull request, basic program implemented","user":{"login":"Antonhansel","id":4123811,"avatar_url":"https://avatars.githubusercontent.com/u/4123811?v=3","gravatar_id":"","url":"https://api.github.com/users/Antonhansel","html_url":"https://github.com/Antonhansel","followers_url":"https://api.github.com/users/Antonhansel/followers","following_url":"https://api.github.com/users/Antonhansel/following{/other_user}","gists_url":"https://api.github.com/users/Antonhansel/gists{/gist_id}","starred_url":"https://api.github.com/users/Antonhansel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Antonhansel/subscriptions","organizations_url":"https://api.github.com/users/Antonhansel/orgs","repos_url":"https://api.github.com/users/Antonhansel/repos","events_url":"https://api.github.com/users/Antonhansel/events{/privacy}","received_events_url":"https://api.github.com/users/Antonhansel/received_events","type":"User","site_admin":false},"body":null,"created_at":"2015-02-02T14:34:08Z","updated_at":"2015-02-02T14:38:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":"cf1e3d91578422eeef722dcb5387a967fddce19e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/AnyFetch/pdfocr.anyfetch.com/pulls/1/commits","review_comments_url":"https://api.github.com/repos/AnyFetch/pdfocr.anyfetch.com/pulls/1/comments","review_comment_url":"https://api.github.com/repos/AnyFetch/pdfocr.anyfetch.com/pulls/comments/{number}","comments_url":"https://api.github.com/repos/AnyFetch/pdfocr.anyfetch.com/issues/1/comments","statuses_url":"https://api.github.com/repos/AnyFetch/pdfocr.anyfetch.com/statuses/42adfbb7a76fc4101e6af0483c46f80729433a99","head":{"label":"AnyFetch:dev","ref":"dev","sha":"42adfbb7a76fc4101e6af0483c46f80729433a99","user":{"login":"AnyFetch","id":3952848,"avatar_url":"https://avatars.githubusercontent.com/u/3952848?v=3","gravatar_id":"","url":"https://api.github.com/users/AnyFetch","html_url":"https://github.com/AnyFetch","followers_url":"https://api.github.com/users/AnyFetch/followers","following_url":"https://api.github.com/users/AnyFetch/following{/other_user}","gists_url":"https://api.github.com/users/AnyFetch/gists{/gist_id}","starred_url":"https://api.github.com/users/AnyFetch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AnyFetch/subscriptions","organizations_url":"https://api.github.com/users/AnyFetch/orgs","repos_url":"https://api.github.com/users/AnyFetch/repos","events_url":"https://api.github.com/users/AnyFetch/events{/privacy}","received_events_url":"https://api.github.com/users/AnyFetch/received_events","type":"Organization","site_admin":false},"repo":{"id":30181562,"name":"pdfocr.anyfetch.com","full_name":"AnyFetch/pdfocr.anyfetch.com","owner":{"login":"AnyFetch","id":3952848,"avatar_url":"https://avatars.githubusercontent.com/u/3952848?v=3","gravatar_id":"","url":"https://api.github.com/users/AnyFetch","html_url":"https://github.com/AnyFetch","followers_url":"https://api.github.com/users/AnyFetch/followers","following_url":"https://api.github.com/users/AnyFetch/following{/other_user}","gists_url":"https://api.github.com/users/AnyFetch/gists{/gist_id}","starred_url":"https://api.github.com/users/AnyFetch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AnyFetch/subscriptions","organizations_url":"https://api.github.com/users/AnyFetch/orgs","repos_url":"https://api.github.com/users/AnyFetch/repos","events_url":"https://api.github.com/users/AnyFetch/events{/privacy}","received_events_url":"https://api.github.com/users/AnyFetch/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/AnyFetch/pdfocr.anyfetch.com","description":"Hydration for scanned PDF","fork":false,"url":"https://api.github.com/repos/AnyFetch/pdfocr.anyfetch.com","forks_url":"https://api.github.com/repos/AnyFetch/pdfocr.anyfetch.com/forks","keys_url":"https://api.github.com/repos/AnyFetch/pdfocr.anyfetch.com/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AnyFetch/pdfocr.anyfetch.com/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AnyFetch/pdfocr.anyfetch.com/teams","hooks_url":"https://api.github.com/repos/AnyFetch/pdfocr.anyfetch.com/hooks","issue_events_url":"https://api.github.com/repos/AnyFetch/pdfocr.anyfetch.com/issues/events{/number}","events_url":"https://api.github.com/repos/AnyFetch/pdfocr.anyfetch.com/events","assignees_url":"https://api.github.com/repos/AnyFetch/pdfocr.anyfetch.com/assignees{/user}","branches_url":"https://api.github.com/repos/AnyFetch/pdfocr.anyfetch.com/branches{/branch}","tags_url":"https://api.github.com/repos/AnyFetch/pdfocr.anyfetch.com/tags","blobs_url":"https://api.github.com/repos/AnyFetch/pdfocr.anyfetch.com/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AnyFetch/pdfocr.anyfetch.com/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AnyFetch/pdfocr.anyfetch.com/git/refs{/sha}","trees_url":"https://api.github.com/repos/AnyFetch/pdfocr.anyfetch.com/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AnyFetch/pdfocr.anyfetch.com/statuses/{sha}","languages_url":"https://api.github.com/repos/AnyFetch/pdfocr.anyfetch.com/languages","stargazers_url":"https://api.github.com/repos/AnyFetch/pdfocr.anyfetch.com/stargazers","contributors_url":"https://api.github.com/repos/AnyFetch/pdfocr.anyfetch.com/contributors","subscribers_url":"https://api.github.com/repos/AnyFetch/pdfocr.anyfetch.com/subscribers","subscription_url":"https://api.github.com/repos/AnyFetch/pdfocr.anyfetch.com/subscription","commits_url":"https://api.github.com/repos/AnyFetch/pdfocr.anyfetch.com/commits{/sha}","git_commits_url":"https://api.github.com/repos/AnyFetch/pdfocr.anyfetch.com/git/commits{/sha}","comments_url":"https://api.github.com/repos/AnyFetch/pdfocr.anyfetch.com/comments{/number}","issue_comment_url":"https://api.github.com/repos/AnyFetch/pdfocr.anyfetch.com/issues/comments/{number}","contents_url":"https://api.github.com/repos/AnyFetch/pdfocr.anyfetch.com/contents/{+path}","compare_url":"https://api.github.com/repos/AnyFetch/pdfocr.anyfetch.com/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AnyFetch/pdfocr.anyfetch.com/merges","archive_url":"https://api.github.com/repos/AnyFetch/pdfocr.anyfetch.com/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AnyFetch/pdfocr.anyfetch.com/downloads","issues_url":"https://api.github.com/repos/AnyFetch/pdfocr.anyfetch.com/issues{/number}","pulls_url":"https://api.github.com/repos/AnyFetch/pdfocr.anyfetch.com/pulls{/number}","milestones_url":"https://api.github.com/repos/AnyFetch/pdfocr.anyfetch.com/milestones{/number}","notifications_url":"https://api.github.com/repos/AnyFetch/pdfocr.anyfetch.com/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AnyFetch/pdfocr.anyfetch.com/labels{/name}","releases_url":"https://api.github.com/repos/AnyFetch/pdfocr.anyfetch.com/releases{/id}","created_at":"2015-02-02T10:14:03Z","updated_at":"2015-02-02T10:18:10Z","pushed_at":"2015-02-02T14:32:52Z","git_url":"git://github.com/AnyFetch/pdfocr.anyfetch.com.git","ssh_url":"git@github.com:AnyFetch/pdfocr.anyfetch.com.git","clone_url":"https://github.com/AnyFetch/pdfocr.anyfetch.com.git","svn_url":"https://github.com/AnyFetch/pdfocr.anyfetch.com","homepage":null,"size":0,"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":"AnyFetch:master","ref":"master","sha":"f82748a3b9839b1ab1857f6a8f4df4445b72ab1d","user":{"login":"AnyFetch","id":3952848,"avatar_url":"https://avatars.githubusercontent.com/u/3952848?v=3","gravatar_id":"","url":"https://api.github.com/users/AnyFetch","html_url":"https://github.com/AnyFetch","followers_url":"https://api.github.com/users/AnyFetch/followers","following_url":"https://api.github.com/users/AnyFetch/following{/other_user}","gists_url":"https://api.github.com/users/AnyFetch/gists{/gist_id}","starred_url":"https://api.github.com/users/AnyFetch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AnyFetch/subscriptions","organizations_url":"https://api.github.com/users/AnyFetch/orgs","repos_url":"https://api.github.com/users/AnyFetch/repos","events_url":"https://api.github.com/users/AnyFetch/events{/privacy}","received_events_url":"https://api.github.com/users/AnyFetch/received_events","type":"Organization","site_admin":false},"repo":{"id":30181562,"name":"pdfocr.anyfetch.com","full_name":"AnyFetch/pdfocr.anyfetch.com","owner":{"login":"AnyFetch","id":3952848,"avatar_url":"https://avatars.githubusercontent.com/u/3952848?v=3","gravatar_id":"","url":"https://api.github.com/users/AnyFetch","html_url":"https://github.com/AnyFetch","followers_url":"https://api.github.com/users/AnyFetch/followers","following_url":"https://api.github.com/users/AnyFetch/following{/other_user}","gists_url":"https://api.github.com/users/AnyFetch/gists{/gist_id}","starred_url":"https://api.github.com/users/AnyFetch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AnyFetch/subscriptions","organizations_url":"https://api.github.com/users/AnyFetch/orgs","repos_url":"https://api.github.com/users/AnyFetch/repos","events_url":"https://api.github.com/users/AnyFetch/events{/privacy}","received_events_url":"https://api.github.com/users/AnyFetch/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/AnyFetch/pdfocr.anyfetch.com","description":"Hydration for scanned PDF","fork":false,"url":"https://api.github.com/repos/AnyFetch/pdfocr.anyfetch.com","forks_url":"https://api.github.com/repos/AnyFetch/pdfocr.anyfetch.com/forks","keys_url":"https://api.github.com/repos/AnyFetch/pdfocr.anyfetch.com/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AnyFetch/pdfocr.anyfetch.com/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AnyFetch/pdfocr.anyfetch.com/teams","hooks_url":"https://api.github.com/repos/AnyFetch/pdfocr.anyfetch.com/hooks","issue_events_url":"https://api.github.com/repos/AnyFetch/pdfocr.anyfetch.com/issues/events{/number}","events_url":"https://api.github.com/repos/AnyFetch/pdfocr.anyfetch.com/events","assignees_url":"https://api.github.com/repos/AnyFetch/pdfocr.anyfetch.com/assignees{/user}","branches_url":"https://api.github.com/repos/AnyFetch/pdfocr.anyfetch.com/branches{/branch}","tags_url":"https://api.github.com/repos/AnyFetch/pdfocr.anyfetch.com/tags","blobs_url":"https://api.github.com/repos/AnyFetch/pdfocr.anyfetch.com/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AnyFetch/pdfocr.anyfetch.com/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AnyFetch/pdfocr.anyfetch.com/git/refs{/sha}","trees_url":"https://api.github.com/repos/AnyFetch/pdfocr.anyfetch.com/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AnyFetch/pdfocr.anyfetch.com/statuses/{sha}","languages_url":"https://api.github.com/repos/AnyFetch/pdfocr.anyfetch.com/languages","stargazers_url":"https://api.github.com/repos/AnyFetch/pdfocr.anyfetch.com/stargazers","contributors_url":"https://api.github.com/repos/AnyFetch/pdfocr.anyfetch.com/contributors","subscribers_url":"https://api.github.com/repos/AnyFetch/pdfocr.anyfetch.com/subscribers","subscription_url":"https://api.github.com/repos/AnyFetch/pdfocr.anyfetch.com/subscription","commits_url":"https://api.github.com/repos/AnyFetch/pdfocr.anyfetch.com/commits{/sha}","git_commits_url":"https://api.github.com/repos/AnyFetch/pdfocr.anyfetch.com/git/commits{/sha}","comments_url":"https://api.github.com/repos/AnyFetch/pdfocr.anyfetch.com/comments{/number}","issue_comment_url":"https://api.github.com/repos/AnyFetch/pdfocr.anyfetch.com/issues/comments/{number}","contents_url":"https://api.github.com/repos/AnyFetch/pdfocr.anyfetch.com/contents/{+path}","compare_url":"https://api.github.com/repos/AnyFetch/pdfocr.anyfetch.com/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AnyFetch/pdfocr.anyfetch.com/merges","archive_url":"https://api.github.com/repos/AnyFetch/pdfocr.anyfetch.com/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AnyFetch/pdfocr.anyfetch.com/downloads","issues_url":"https://api.github.com/repos/AnyFetch/pdfocr.anyfetch.com/issues{/number}","pulls_url":"https://api.github.com/repos/AnyFetch/pdfocr.anyfetch.com/pulls{/number}","milestones_url":"https://api.github.com/repos/AnyFetch/pdfocr.anyfetch.com/milestones{/number}","notifications_url":"https://api.github.com/repos/AnyFetch/pdfocr.anyfetch.com/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AnyFetch/pdfocr.anyfetch.com/labels{/name}","releases_url":"https://api.github.com/repos/AnyFetch/pdfocr.anyfetch.com/releases{/id}","created_at":"2015-02-02T10:14:03Z","updated_at":"2015-02-02T10:18:10Z","pushed_at":"2015-02-02T14:32:52Z","git_url":"git://github.com/AnyFetch/pdfocr.anyfetch.com.git","ssh_url":"git@github.com:AnyFetch/pdfocr.anyfetch.com.git","clone_url":"https://github.com/AnyFetch/pdfocr.anyfetch.com.git","svn_url":"https://github.com/AnyFetch/pdfocr.anyfetch.com","homepage":null,"size":0,"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/AnyFetch/pdfocr.anyfetch.com/pulls/1"},"html":{"href":"https://github.com/AnyFetch/pdfocr.anyfetch.com/pull/1"},"issue":{"href":"https://api.github.com/repos/AnyFetch/pdfocr.anyfetch.com/issues/1"},"comments":{"href":"https://api.github.com/repos/AnyFetch/pdfocr.anyfetch.com/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/AnyFetch/pdfocr.anyfetch.com/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/AnyFetch/pdfocr.anyfetch.com/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/AnyFetch/pdfocr.anyfetch.com/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/AnyFetch/pdfocr.anyfetch.com/statuses/42adfbb7a76fc4101e6af0483c46f80729433a99"}}}}