{"action":"created","comment":{"url":"https://api.github.com/repos/sgmap/mes-aides-api/pulls/comments/37536357","id":37536357,"diff_hunk":"@@ -4,10 +4,17 @@ var periods = require('./periods');\n var PRESTATIONS = require('../prestations');\n \n \n-module.exports = function reverseMap(openFiscaFamille, date) {\n+module.exports = function reverseMap(openFiscaFamille, date, injectedRessources) {","path":"lib/simulation/openfisca/mapping/reverse.js","position":null,"original_position":5,"commit_id":"273e76abd11867852177def269413ff55849c640","original_commit_id":"c6b72a27428d31691cdae303331ccf62e3b86da3","user":{"login":"fpagnoux","id":11834997,"avatar_url":"https://avatars.githubusercontent.com/u/11834997?v=3","gravatar_id":"","url":"https://api.github.com/users/fpagnoux","html_url":"https://github.com/fpagnoux","followers_url":"https://api.github.com/users/fpagnoux/followers","following_url":"https://api.github.com/users/fpagnoux/following{/other_user}","gists_url":"https://api.github.com/users/fpagnoux/gists{/gist_id}","starred_url":"https://api.github.com/users/fpagnoux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fpagnoux/subscriptions","organizations_url":"https://api.github.com/users/fpagnoux/orgs","repos_url":"https://api.github.com/users/fpagnoux/repos","events_url":"https://api.github.com/users/fpagnoux/events{/privacy}","received_events_url":"https://api.github.com/users/fpagnoux/received_events","type":"User","site_admin":false},"body":"I reorganized the two functions, giving to reverseMap the responsibility to compute the injected resources. Is it more clear ? ","created_at":"2015-08-20T14:38:27Z","updated_at":"2015-08-20T14:38:27Z","html_url":"https://github.com/sgmap/mes-aides-api/pull/40#discussion_r37536357","pull_request_url":"https://api.github.com/repos/sgmap/mes-aides-api/pulls/40","_links":{"self":{"href":"https://api.github.com/repos/sgmap/mes-aides-api/pulls/comments/37536357"},"html":{"href":"https://github.com/sgmap/mes-aides-api/pull/40#discussion_r37536357"},"pull_request":{"href":"https://api.github.com/repos/sgmap/mes-aides-api/pulls/40"}}},"pull_request":{"url":"https://api.github.com/repos/sgmap/mes-aides-api/pulls/40","id":40787592,"html_url":"https://github.com/sgmap/mes-aides-api/pull/40","diff_url":"https://github.com/sgmap/mes-aides-api/pull/40.diff","patch_url":"https://github.com/sgmap/mes-aides-api/pull/40.patch","issue_url":"https://api.github.com/repos/sgmap/mes-aides-api/issues/40","number":40,"state":"open","locked":false,"title":"Ne pas afficher presta injectees","user":{"login":"fpagnoux","id":11834997,"avatar_url":"https://avatars.githubusercontent.com/u/11834997?v=3","gravatar_id":"","url":"https://api.github.com/users/fpagnoux","html_url":"https://github.com/fpagnoux","followers_url":"https://api.github.com/users/fpagnoux/followers","following_url":"https://api.github.com/users/fpagnoux/following{/other_user}","gists_url":"https://api.github.com/users/fpagnoux/gists{/gist_id}","starred_url":"https://api.github.com/users/fpagnoux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fpagnoux/subscriptions","organizations_url":"https://api.github.com/users/fpagnoux/orgs","repos_url":"https://api.github.com/users/fpagnoux/repos","events_url":"https://api.github.com/users/fpagnoux/events{/privacy}","received_events_url":"https://api.github.com/users/fpagnoux/received_events","type":"User","site_admin":false},"body":"Connected to sgmap/mes-aides-ui#118\r\n\r\nSimilar to reverted #35  with a small bug fix. \r\n\r\nRelies on sgmap/mes-aides-ui#136","created_at":"2015-07-24T15:39:12Z","updated_at":"2015-08-20T14:38:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"999b8ca5ea4b160317f7f466c2eb2b9d8e05281f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/sgmap/mes-aides-api/pulls/40/commits","review_comments_url":"https://api.github.com/repos/sgmap/mes-aides-api/pulls/40/comments","review_comment_url":"https://api.github.com/repos/sgmap/mes-aides-api/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sgmap/mes-aides-api/issues/40/comments","statuses_url":"https://api.github.com/repos/sgmap/mes-aides-api/statuses/273e76abd11867852177def269413ff55849c640","head":{"label":"sgmap:ne-pas-afficher-presta-injectees","ref":"ne-pas-afficher-presta-injectees","sha":"273e76abd11867852177def269413ff55849c640","user":{"login":"sgmap","id":7874148,"avatar_url":"https://avatars.githubusercontent.com/u/7874148?v=3","gravatar_id":"","url":"https://api.github.com/users/sgmap","html_url":"https://github.com/sgmap","followers_url":"https://api.github.com/users/sgmap/followers","following_url":"https://api.github.com/users/sgmap/following{/other_user}","gists_url":"https://api.github.com/users/sgmap/gists{/gist_id}","starred_url":"https://api.github.com/users/sgmap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sgmap/subscriptions","organizations_url":"https://api.github.com/users/sgmap/orgs","repos_url":"https://api.github.com/users/sgmap/repos","events_url":"https://api.github.com/users/sgmap/events{/privacy}","received_events_url":"https://api.github.com/users/sgmap/received_events","type":"Organization","site_admin":false},"repo":{"id":23540628,"name":"mes-aides-api","full_name":"sgmap/mes-aides-api","owner":{"login":"sgmap","id":7874148,"avatar_url":"https://avatars.githubusercontent.com/u/7874148?v=3","gravatar_id":"","url":"https://api.github.com/users/sgmap","html_url":"https://github.com/sgmap","followers_url":"https://api.github.com/users/sgmap/followers","following_url":"https://api.github.com/users/sgmap/following{/other_user}","gists_url":"https://api.github.com/users/sgmap/gists{/gist_id}","starred_url":"https://api.github.com/users/sgmap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sgmap/subscriptions","organizations_url":"https://api.github.com/users/sgmap/orgs","repos_url":"https://api.github.com/users/sgmap/repos","events_url":"https://api.github.com/users/sgmap/events{/privacy}","received_events_url":"https://api.github.com/users/sgmap/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sgmap/mes-aides-api","description":"A mapping interface between the mes-aides user interface and the OpenFisca simulation engine.","fork":false,"url":"https://api.github.com/repos/sgmap/mes-aides-api","forks_url":"https://api.github.com/repos/sgmap/mes-aides-api/forks","keys_url":"https://api.github.com/repos/sgmap/mes-aides-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sgmap/mes-aides-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sgmap/mes-aides-api/teams","hooks_url":"https://api.github.com/repos/sgmap/mes-aides-api/hooks","issue_events_url":"https://api.github.com/repos/sgmap/mes-aides-api/issues/events{/number}","events_url":"https://api.github.com/repos/sgmap/mes-aides-api/events","assignees_url":"https://api.github.com/repos/sgmap/mes-aides-api/assignees{/user}","branches_url":"https://api.github.com/repos/sgmap/mes-aides-api/branches{/branch}","tags_url":"https://api.github.com/repos/sgmap/mes-aides-api/tags","blobs_url":"https://api.github.com/repos/sgmap/mes-aides-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sgmap/mes-aides-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sgmap/mes-aides-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/sgmap/mes-aides-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sgmap/mes-aides-api/statuses/{sha}","languages_url":"https://api.github.com/repos/sgmap/mes-aides-api/languages","stargazers_url":"https://api.github.com/repos/sgmap/mes-aides-api/stargazers","contributors_url":"https://api.github.com/repos/sgmap/mes-aides-api/contributors","subscribers_url":"https://api.github.com/repos/sgmap/mes-aides-api/subscribers","subscription_url":"https://api.github.com/repos/sgmap/mes-aides-api/subscription","commits_url":"https://api.github.com/repos/sgmap/mes-aides-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/sgmap/mes-aides-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/sgmap/mes-aides-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/sgmap/mes-aides-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/sgmap/mes-aides-api/contents/{+path}","compare_url":"https://api.github.com/repos/sgmap/mes-aides-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sgmap/mes-aides-api/merges","archive_url":"https://api.github.com/repos/sgmap/mes-aides-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sgmap/mes-aides-api/downloads","issues_url":"https://api.github.com/repos/sgmap/mes-aides-api/issues{/number}","pulls_url":"https://api.github.com/repos/sgmap/mes-aides-api/pulls{/number}","milestones_url":"https://api.github.com/repos/sgmap/mes-aides-api/milestones{/number}","notifications_url":"https://api.github.com/repos/sgmap/mes-aides-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sgmap/mes-aides-api/labels{/name}","releases_url":"https://api.github.com/repos/sgmap/mes-aides-api/releases{/id}","created_at":"2014-09-01T11:45:44Z","updated_at":"2015-06-22T09:30:12Z","pushed_at":"2015-08-20T14:35:30Z","git_url":"git://github.com/sgmap/mes-aides-api.git","ssh_url":"git@github.com:sgmap/mes-aides-api.git","clone_url":"https://github.com/sgmap/mes-aides-api.git","svn_url":"https://github.com/sgmap/mes-aides-api","homepage":"https://mes-aides.gouv.fr","size":1506,"stargazers_count":19,"watchers_count":19,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":13,"forks":1,"open_issues":13,"watchers":19,"default_branch":"master"}},"base":{"label":"sgmap:master","ref":"master","sha":"9a7e975eeb94badd226d0b305638b03981d03eb9","user":{"login":"sgmap","id":7874148,"avatar_url":"https://avatars.githubusercontent.com/u/7874148?v=3","gravatar_id":"","url":"https://api.github.com/users/sgmap","html_url":"https://github.com/sgmap","followers_url":"https://api.github.com/users/sgmap/followers","following_url":"https://api.github.com/users/sgmap/following{/other_user}","gists_url":"https://api.github.com/users/sgmap/gists{/gist_id}","starred_url":"https://api.github.com/users/sgmap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sgmap/subscriptions","organizations_url":"https://api.github.com/users/sgmap/orgs","repos_url":"https://api.github.com/users/sgmap/repos","events_url":"https://api.github.com/users/sgmap/events{/privacy}","received_events_url":"https://api.github.com/users/sgmap/received_events","type":"Organization","site_admin":false},"repo":{"id":23540628,"name":"mes-aides-api","full_name":"sgmap/mes-aides-api","owner":{"login":"sgmap","id":7874148,"avatar_url":"https://avatars.githubusercontent.com/u/7874148?v=3","gravatar_id":"","url":"https://api.github.com/users/sgmap","html_url":"https://github.com/sgmap","followers_url":"https://api.github.com/users/sgmap/followers","following_url":"https://api.github.com/users/sgmap/following{/other_user}","gists_url":"https://api.github.com/users/sgmap/gists{/gist_id}","starred_url":"https://api.github.com/users/sgmap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sgmap/subscriptions","organizations_url":"https://api.github.com/users/sgmap/orgs","repos_url":"https://api.github.com/users/sgmap/repos","events_url":"https://api.github.com/users/sgmap/events{/privacy}","received_events_url":"https://api.github.com/users/sgmap/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sgmap/mes-aides-api","description":"A mapping interface between the mes-aides user interface and the OpenFisca simulation engine.","fork":false,"url":"https://api.github.com/repos/sgmap/mes-aides-api","forks_url":"https://api.github.com/repos/sgmap/mes-aides-api/forks","keys_url":"https://api.github.com/repos/sgmap/mes-aides-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sgmap/mes-aides-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sgmap/mes-aides-api/teams","hooks_url":"https://api.github.com/repos/sgmap/mes-aides-api/hooks","issue_events_url":"https://api.github.com/repos/sgmap/mes-aides-api/issues/events{/number}","events_url":"https://api.github.com/repos/sgmap/mes-aides-api/events","assignees_url":"https://api.github.com/repos/sgmap/mes-aides-api/assignees{/user}","branches_url":"https://api.github.com/repos/sgmap/mes-aides-api/branches{/branch}","tags_url":"https://api.github.com/repos/sgmap/mes-aides-api/tags","blobs_url":"https://api.github.com/repos/sgmap/mes-aides-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sgmap/mes-aides-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sgmap/mes-aides-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/sgmap/mes-aides-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sgmap/mes-aides-api/statuses/{sha}","languages_url":"https://api.github.com/repos/sgmap/mes-aides-api/languages","stargazers_url":"https://api.github.com/repos/sgmap/mes-aides-api/stargazers","contributors_url":"https://api.github.com/repos/sgmap/mes-aides-api/contributors","subscribers_url":"https://api.github.com/repos/sgmap/mes-aides-api/subscribers","subscription_url":"https://api.github.com/repos/sgmap/mes-aides-api/subscription","commits_url":"https://api.github.com/repos/sgmap/mes-aides-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/sgmap/mes-aides-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/sgmap/mes-aides-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/sgmap/mes-aides-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/sgmap/mes-aides-api/contents/{+path}","compare_url":"https://api.github.com/repos/sgmap/mes-aides-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sgmap/mes-aides-api/merges","archive_url":"https://api.github.com/repos/sgmap/mes-aides-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sgmap/mes-aides-api/downloads","issues_url":"https://api.github.com/repos/sgmap/mes-aides-api/issues{/number}","pulls_url":"https://api.github.com/repos/sgmap/mes-aides-api/pulls{/number}","milestones_url":"https://api.github.com/repos/sgmap/mes-aides-api/milestones{/number}","notifications_url":"https://api.github.com/repos/sgmap/mes-aides-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sgmap/mes-aides-api/labels{/name}","releases_url":"https://api.github.com/repos/sgmap/mes-aides-api/releases{/id}","created_at":"2014-09-01T11:45:44Z","updated_at":"2015-06-22T09:30:12Z","pushed_at":"2015-08-20T14:35:30Z","git_url":"git://github.com/sgmap/mes-aides-api.git","ssh_url":"git@github.com:sgmap/mes-aides-api.git","clone_url":"https://github.com/sgmap/mes-aides-api.git","svn_url":"https://github.com/sgmap/mes-aides-api","homepage":"https://mes-aides.gouv.fr","size":1506,"stargazers_count":19,"watchers_count":19,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":13,"forks":1,"open_issues":13,"watchers":19,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sgmap/mes-aides-api/pulls/40"},"html":{"href":"https://github.com/sgmap/mes-aides-api/pull/40"},"issue":{"href":"https://api.github.com/repos/sgmap/mes-aides-api/issues/40"},"comments":{"href":"https://api.github.com/repos/sgmap/mes-aides-api/issues/40/comments"},"review_comments":{"href":"https://api.github.com/repos/sgmap/mes-aides-api/pulls/40/comments"},"review_comment":{"href":"https://api.github.com/repos/sgmap/mes-aides-api/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sgmap/mes-aides-api/pulls/40/commits"},"statuses":{"href":"https://api.github.com/repos/sgmap/mes-aides-api/statuses/273e76abd11867852177def269413ff55849c640"}}}}