{"action":"created","comment":{"url":"https://api.github.com/repos/apiaryio/fury.js/pulls/comments/39849019","id":39849019,"diff_hunk":"@@ -124,28 +124,32 @@ export function detect(source) {\n   return source.match(/some-test/i) !== null;\n }\n \n-export function parse({source, generateSourceMap}, done) {\n-  // Here you convert the source into refract elements.\n+export function parse({minim, generateSourceMap, source}, done) {","path":"README.md","position":15,"original_position":15,"commit_id":"2dba6d1fdc12df1ff24f4c82a2d83247984e3153","original_commit_id":"2dba6d1fdc12df1ff24f4c82a2d83247984e3153","user":{"login":"danielgtaylor","id":106826,"avatar_url":"https://avatars.githubusercontent.com/u/106826?v=3","gravatar_id":"","url":"https://api.github.com/users/danielgtaylor","html_url":"https://github.com/danielgtaylor","followers_url":"https://api.github.com/users/danielgtaylor/followers","following_url":"https://api.github.com/users/danielgtaylor/following{/other_user}","gists_url":"https://api.github.com/users/danielgtaylor/gists{/gist_id}","starred_url":"https://api.github.com/users/danielgtaylor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielgtaylor/subscriptions","organizations_url":"https://api.github.com/users/danielgtaylor/orgs","repos_url":"https://api.github.com/users/danielgtaylor/repos","events_url":"https://api.github.com/users/danielgtaylor/events{/privacy}","received_events_url":"https://api.github.com/users/danielgtaylor/received_events","type":"User","site_admin":false},"body":"@pksunkara in this case `minim` is an input parameter to the function. The code is equivalent to this ES5 code:\r\n\r\n```js\r\nfunction parse(options, done) {\r\n  var generateSourceMap = options.generateSourceMap;\r\n  var minim = options.minim;\r\n  var source = options.source;\r\n  // ...\r\n}\r\n\r\nexports.parse = parse;\r\n```","created_at":"2015-09-18T12:23:35Z","updated_at":"2015-09-18T12:23:35Z","html_url":"https://github.com/apiaryio/fury.js/pull/48#discussion_r39849019","pull_request_url":"https://api.github.com/repos/apiaryio/fury.js/pulls/48","_links":{"self":{"href":"https://api.github.com/repos/apiaryio/fury.js/pulls/comments/39849019"},"html":{"href":"https://github.com/apiaryio/fury.js/pull/48#discussion_r39849019"},"pull_request":{"href":"https://api.github.com/repos/apiaryio/fury.js/pulls/48"}}},"pull_request":{"url":"https://api.github.com/repos/apiaryio/fury.js/pulls/48","id":44423625,"html_url":"https://github.com/apiaryio/fury.js/pull/48","diff_url":"https://github.com/apiaryio/fury.js/pull/48.diff","patch_url":"https://github.com/apiaryio/fury.js/pull/48.patch","issue_url":"https://api.github.com/repos/apiaryio/fury.js/issues/48","number":48,"state":"open","locked":false,"title":"Prep for Refract release","user":{"login":"danielgtaylor","id":106826,"avatar_url":"https://avatars.githubusercontent.com/u/106826?v=3","gravatar_id":"","url":"https://api.github.com/users/danielgtaylor","html_url":"https://github.com/danielgtaylor","followers_url":"https://api.github.com/users/danielgtaylor/followers","following_url":"https://api.github.com/users/danielgtaylor/following{/other_user}","gists_url":"https://api.github.com/users/danielgtaylor/gists{/gist_id}","starred_url":"https://api.github.com/users/danielgtaylor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielgtaylor/subscriptions","organizations_url":"https://api.github.com/users/danielgtaylor/orgs","repos_url":"https://api.github.com/users/danielgtaylor/repos","events_url":"https://api.github.com/users/danielgtaylor/events{/privacy}","received_events_url":"https://api.github.com/users/danielgtaylor/received_events","type":"User","site_admin":false},"body":"This branch and PR are tracking the changes required for a refract-capable Fury.js release.\r\n\r\n* [x] Update to Minim 0.11.x and use namespaces\r\n* [x] Split API description elements into their own [package](https://github.com/refractproject/minim-api-description)\r\n* [x] Split parse result elements into their own [package](https://github.com/refractproject/minim-parse-result)\r\n  * [ ] ~~Update for source maps / files~~ (moved to next release)\r\n* [x] Update Fury to allow parser/serializers to be in different packages (e.g. use pure-js parser and pure-js serializer for API Blueprint)\r\n* [x] Split API Blueprint parser into its own [package](https://github.com/apiaryio/fury-adapter-apib-parser)\r\n  * [x] Use protagonist@refract\r\n  * [x] Update to protagonist@1.0.0\r\n* [x] Split API Blueprint serializer into its own [package](https://github.com/apiaryio/fury-adapter-apib-serializer)\r\n  * [x] Switch from unmaintained Swig to Nunjucks\r\n* [ ] ~~Split Swagger adapter into its own package~~ (moved to next release)\r\n* [x] Update legacy interface to use protagonist@1.0.0 but return APIB AST+MSON Refract\r\n* [x] Fixes/enhancements to the Swagger adapter to support a customer\r\n* [x] Bump version","created_at":"2015-09-08T12:01:46Z","updated_at":"2015-09-18T12:23:35Z","closed_at":null,"merged_at":null,"merge_commit_sha":"32a99430569e6c8a8a9df82b19b0ed790e2f5d40","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/apiaryio/fury.js/pulls/48/commits","review_comments_url":"https://api.github.com/repos/apiaryio/fury.js/pulls/48/comments","review_comment_url":"https://api.github.com/repos/apiaryio/fury.js/pulls/comments{/number}","comments_url":"https://api.github.com/repos/apiaryio/fury.js/issues/48/comments","statuses_url":"https://api.github.com/repos/apiaryio/fury.js/statuses/2dba6d1fdc12df1ff24f4c82a2d83247984e3153","head":{"label":"apiaryio:daniel/release-prep","ref":"daniel/release-prep","sha":"2dba6d1fdc12df1ff24f4c82a2d83247984e3153","user":{"login":"apiaryio","id":765943,"avatar_url":"https://avatars.githubusercontent.com/u/765943?v=3","gravatar_id":"","url":"https://api.github.com/users/apiaryio","html_url":"https://github.com/apiaryio","followers_url":"https://api.github.com/users/apiaryio/followers","following_url":"https://api.github.com/users/apiaryio/following{/other_user}","gists_url":"https://api.github.com/users/apiaryio/gists{/gist_id}","starred_url":"https://api.github.com/users/apiaryio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apiaryio/subscriptions","organizations_url":"https://api.github.com/users/apiaryio/orgs","repos_url":"https://api.github.com/users/apiaryio/repos","events_url":"https://api.github.com/users/apiaryio/events{/privacy}","received_events_url":"https://api.github.com/users/apiaryio/received_events","type":"Organization","site_admin":false},"repo":{"id":30531423,"name":"fury.js","full_name":"apiaryio/fury.js","owner":{"login":"apiaryio","id":765943,"avatar_url":"https://avatars.githubusercontent.com/u/765943?v=3","gravatar_id":"","url":"https://api.github.com/users/apiaryio","html_url":"https://github.com/apiaryio","followers_url":"https://api.github.com/users/apiaryio/followers","following_url":"https://api.github.com/users/apiaryio/following{/other_user}","gists_url":"https://api.github.com/users/apiaryio/gists{/gist_id}","starred_url":"https://api.github.com/users/apiaryio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apiaryio/subscriptions","organizations_url":"https://api.github.com/users/apiaryio/orgs","repos_url":"https://api.github.com/users/apiaryio/repos","events_url":"https://api.github.com/users/apiaryio/events{/privacy}","received_events_url":"https://api.github.com/users/apiaryio/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/apiaryio/fury.js","description":"API Description SDK","fork":false,"url":"https://api.github.com/repos/apiaryio/fury.js","forks_url":"https://api.github.com/repos/apiaryio/fury.js/forks","keys_url":"https://api.github.com/repos/apiaryio/fury.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apiaryio/fury.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apiaryio/fury.js/teams","hooks_url":"https://api.github.com/repos/apiaryio/fury.js/hooks","issue_events_url":"https://api.github.com/repos/apiaryio/fury.js/issues/events{/number}","events_url":"https://api.github.com/repos/apiaryio/fury.js/events","assignees_url":"https://api.github.com/repos/apiaryio/fury.js/assignees{/user}","branches_url":"https://api.github.com/repos/apiaryio/fury.js/branches{/branch}","tags_url":"https://api.github.com/repos/apiaryio/fury.js/tags","blobs_url":"https://api.github.com/repos/apiaryio/fury.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apiaryio/fury.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apiaryio/fury.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/apiaryio/fury.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apiaryio/fury.js/statuses/{sha}","languages_url":"https://api.github.com/repos/apiaryio/fury.js/languages","stargazers_url":"https://api.github.com/repos/apiaryio/fury.js/stargazers","contributors_url":"https://api.github.com/repos/apiaryio/fury.js/contributors","subscribers_url":"https://api.github.com/repos/apiaryio/fury.js/subscribers","subscription_url":"https://api.github.com/repos/apiaryio/fury.js/subscription","commits_url":"https://api.github.com/repos/apiaryio/fury.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/apiaryio/fury.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/apiaryio/fury.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/apiaryio/fury.js/issues/comments{/number}","contents_url":"https://api.github.com/repos/apiaryio/fury.js/contents/{+path}","compare_url":"https://api.github.com/repos/apiaryio/fury.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apiaryio/fury.js/merges","archive_url":"https://api.github.com/repos/apiaryio/fury.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apiaryio/fury.js/downloads","issues_url":"https://api.github.com/repos/apiaryio/fury.js/issues{/number}","pulls_url":"https://api.github.com/repos/apiaryio/fury.js/pulls{/number}","milestones_url":"https://api.github.com/repos/apiaryio/fury.js/milestones{/number}","notifications_url":"https://api.github.com/repos/apiaryio/fury.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apiaryio/fury.js/labels{/name}","releases_url":"https://api.github.com/repos/apiaryio/fury.js/releases{/id}","created_at":"2015-02-09T10:51:42Z","updated_at":"2015-08-31T11:05:50Z","pushed_at":"2015-09-18T08:22:47Z","git_url":"git://github.com/apiaryio/fury.js.git","ssh_url":"git@github.com:apiaryio/fury.js.git","clone_url":"https://github.com/apiaryio/fury.js.git","svn_url":"https://github.com/apiaryio/fury.js","homepage":"","size":835,"stargazers_count":14,"watchers_count":14,"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":14,"default_branch":"master"}},"base":{"label":"apiaryio:master","ref":"master","sha":"e02e74706ec02a26449d00f07efd3c93f76b267e","user":{"login":"apiaryio","id":765943,"avatar_url":"https://avatars.githubusercontent.com/u/765943?v=3","gravatar_id":"","url":"https://api.github.com/users/apiaryio","html_url":"https://github.com/apiaryio","followers_url":"https://api.github.com/users/apiaryio/followers","following_url":"https://api.github.com/users/apiaryio/following{/other_user}","gists_url":"https://api.github.com/users/apiaryio/gists{/gist_id}","starred_url":"https://api.github.com/users/apiaryio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apiaryio/subscriptions","organizations_url":"https://api.github.com/users/apiaryio/orgs","repos_url":"https://api.github.com/users/apiaryio/repos","events_url":"https://api.github.com/users/apiaryio/events{/privacy}","received_events_url":"https://api.github.com/users/apiaryio/received_events","type":"Organization","site_admin":false},"repo":{"id":30531423,"name":"fury.js","full_name":"apiaryio/fury.js","owner":{"login":"apiaryio","id":765943,"avatar_url":"https://avatars.githubusercontent.com/u/765943?v=3","gravatar_id":"","url":"https://api.github.com/users/apiaryio","html_url":"https://github.com/apiaryio","followers_url":"https://api.github.com/users/apiaryio/followers","following_url":"https://api.github.com/users/apiaryio/following{/other_user}","gists_url":"https://api.github.com/users/apiaryio/gists{/gist_id}","starred_url":"https://api.github.com/users/apiaryio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apiaryio/subscriptions","organizations_url":"https://api.github.com/users/apiaryio/orgs","repos_url":"https://api.github.com/users/apiaryio/repos","events_url":"https://api.github.com/users/apiaryio/events{/privacy}","received_events_url":"https://api.github.com/users/apiaryio/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/apiaryio/fury.js","description":"API Description SDK","fork":false,"url":"https://api.github.com/repos/apiaryio/fury.js","forks_url":"https://api.github.com/repos/apiaryio/fury.js/forks","keys_url":"https://api.github.com/repos/apiaryio/fury.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apiaryio/fury.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apiaryio/fury.js/teams","hooks_url":"https://api.github.com/repos/apiaryio/fury.js/hooks","issue_events_url":"https://api.github.com/repos/apiaryio/fury.js/issues/events{/number}","events_url":"https://api.github.com/repos/apiaryio/fury.js/events","assignees_url":"https://api.github.com/repos/apiaryio/fury.js/assignees{/user}","branches_url":"https://api.github.com/repos/apiaryio/fury.js/branches{/branch}","tags_url":"https://api.github.com/repos/apiaryio/fury.js/tags","blobs_url":"https://api.github.com/repos/apiaryio/fury.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apiaryio/fury.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apiaryio/fury.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/apiaryio/fury.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apiaryio/fury.js/statuses/{sha}","languages_url":"https://api.github.com/repos/apiaryio/fury.js/languages","stargazers_url":"https://api.github.com/repos/apiaryio/fury.js/stargazers","contributors_url":"https://api.github.com/repos/apiaryio/fury.js/contributors","subscribers_url":"https://api.github.com/repos/apiaryio/fury.js/subscribers","subscription_url":"https://api.github.com/repos/apiaryio/fury.js/subscription","commits_url":"https://api.github.com/repos/apiaryio/fury.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/apiaryio/fury.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/apiaryio/fury.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/apiaryio/fury.js/issues/comments{/number}","contents_url":"https://api.github.com/repos/apiaryio/fury.js/contents/{+path}","compare_url":"https://api.github.com/repos/apiaryio/fury.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apiaryio/fury.js/merges","archive_url":"https://api.github.com/repos/apiaryio/fury.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apiaryio/fury.js/downloads","issues_url":"https://api.github.com/repos/apiaryio/fury.js/issues{/number}","pulls_url":"https://api.github.com/repos/apiaryio/fury.js/pulls{/number}","milestones_url":"https://api.github.com/repos/apiaryio/fury.js/milestones{/number}","notifications_url":"https://api.github.com/repos/apiaryio/fury.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apiaryio/fury.js/labels{/name}","releases_url":"https://api.github.com/repos/apiaryio/fury.js/releases{/id}","created_at":"2015-02-09T10:51:42Z","updated_at":"2015-08-31T11:05:50Z","pushed_at":"2015-09-18T08:22:47Z","git_url":"git://github.com/apiaryio/fury.js.git","ssh_url":"git@github.com:apiaryio/fury.js.git","clone_url":"https://github.com/apiaryio/fury.js.git","svn_url":"https://github.com/apiaryio/fury.js","homepage":"","size":835,"stargazers_count":14,"watchers_count":14,"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":14,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/apiaryio/fury.js/pulls/48"},"html":{"href":"https://github.com/apiaryio/fury.js/pull/48"},"issue":{"href":"https://api.github.com/repos/apiaryio/fury.js/issues/48"},"comments":{"href":"https://api.github.com/repos/apiaryio/fury.js/issues/48/comments"},"review_comments":{"href":"https://api.github.com/repos/apiaryio/fury.js/pulls/48/comments"},"review_comment":{"href":"https://api.github.com/repos/apiaryio/fury.js/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/apiaryio/fury.js/pulls/48/commits"},"statuses":{"href":"https://api.github.com/repos/apiaryio/fury.js/statuses/2dba6d1fdc12df1ff24f4c82a2d83247984e3153"}}}}