{"action":"created","comment":{"url":"https://api.github.com/repos/LuccaSA/lucca-ui/pulls/comments/58676746","id":58676746,"diff_hunk":"@@ -188,6 +192,14 @@\n \t\tvar init = true; // boolean to initialise the connected user\n \t\tvar myId; // used for 'display me first' feature\n \n+\t\t/** HttpService **/\n+\t\tvar httpService = function(method){\n+\t\t\tif($scope.customHttpService &&  $scope.customHttpService[method]){\n+\t\t\t\treturn $scope.customHttpService[method];\n+\t\t\t}\n+\t\t\treturn $http[method];\n+\t\t};\n+","path":"js/directives/lucca/user-picker.js","position":29,"original_position":29,"commit_id":"9f3c7ead26960ae571bf02c8d565ce4d3b6e0c5e","original_commit_id":"9f3c7ead26960ae571bf02c8d565ce4d3b6e0c5e","user":{"login":"lucienbertin","id":10089239,"avatar_url":"https://avatars.githubusercontent.com/u/10089239?v=3","gravatar_id":"","url":"https://api.github.com/users/lucienbertin","html_url":"https://github.com/lucienbertin","followers_url":"https://api.github.com/users/lucienbertin/followers","following_url":"https://api.github.com/users/lucienbertin/following{/other_user}","gists_url":"https://api.github.com/users/lucienbertin/gists{/gist_id}","starred_url":"https://api.github.com/users/lucienbertin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lucienbertin/subscriptions","organizations_url":"https://api.github.com/users/lucienbertin/orgs","repos_url":"https://api.github.com/users/lucienbertin/repos","events_url":"https://api.github.com/users/lucienbertin/events{/privacy}","received_events_url":"https://api.github.com/users/lucienbertin/received_events","type":"User","site_admin":false},"body":"I don't like the fact that your function is called `httpService` but returns a `httpMethod`","created_at":"2016-04-06T09:31:27Z","updated_at":"2016-04-06T09:31:27Z","html_url":"https://github.com/LuccaSA/lucca-ui/pull/198#discussion_r58676746","pull_request_url":"https://api.github.com/repos/LuccaSA/lucca-ui/pulls/198","_links":{"self":{"href":"https://api.github.com/repos/LuccaSA/lucca-ui/pulls/comments/58676746"},"html":{"href":"https://github.com/LuccaSA/lucca-ui/pull/198#discussion_r58676746"},"pull_request":{"href":"https://api.github.com/repos/LuccaSA/lucca-ui/pulls/198"}}},"pull_request":{"url":"https://api.github.com/repos/LuccaSA/lucca-ui/pulls/198","id":65433838,"html_url":"https://github.com/LuccaSA/lucca-ui/pull/198","diff_url":"https://github.com/LuccaSA/lucca-ui/pull/198.diff","patch_url":"https://github.com/LuccaSA/lucca-ui/pull/198.patch","issue_url":"https://api.github.com/repos/LuccaSA/lucca-ui/issues/198","number":198,"state":"open","locked":false,"title":"Custom http service","user":{"login":"GuillaumeNury","id":12662533,"avatar_url":"https://avatars.githubusercontent.com/u/12662533?v=3","gravatar_id":"","url":"https://api.github.com/users/GuillaumeNury","html_url":"https://github.com/GuillaumeNury","followers_url":"https://api.github.com/users/GuillaumeNury/followers","following_url":"https://api.github.com/users/GuillaumeNury/following{/other_user}","gists_url":"https://api.github.com/users/GuillaumeNury/gists{/gist_id}","starred_url":"https://api.github.com/users/GuillaumeNury/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GuillaumeNury/subscriptions","organizations_url":"https://api.github.com/users/GuillaumeNury/orgs","repos_url":"https://api.github.com/users/GuillaumeNury/repos","events_url":"https://api.github.com/users/GuillaumeNury/events{/privacy}","received_events_url":"https://api.github.com/users/GuillaumeNury/received_events","type":"User","site_admin":false},"body":"Allow both `luid-user-picker` and `luid-user-picker-multiple` to handle cutomHttpService","created_at":"2016-04-06T09:19:27Z","updated_at":"2016-04-06T09:31:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"908bc9d25afacbce310dae29c72648e35ec032ea","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/LuccaSA/lucca-ui/pulls/198/commits","review_comments_url":"https://api.github.com/repos/LuccaSA/lucca-ui/pulls/198/comments","review_comment_url":"https://api.github.com/repos/LuccaSA/lucca-ui/pulls/comments{/number}","comments_url":"https://api.github.com/repos/LuccaSA/lucca-ui/issues/198/comments","statuses_url":"https://api.github.com/repos/LuccaSA/lucca-ui/statuses/9f3c7ead26960ae571bf02c8d565ce4d3b6e0c5e","head":{"label":"LuccaSA:customHttpService","ref":"customHttpService","sha":"9f3c7ead26960ae571bf02c8d565ce4d3b6e0c5e","user":{"login":"LuccaSA","id":2686158,"avatar_url":"https://avatars.githubusercontent.com/u/2686158?v=3","gravatar_id":"","url":"https://api.github.com/users/LuccaSA","html_url":"https://github.com/LuccaSA","followers_url":"https://api.github.com/users/LuccaSA/followers","following_url":"https://api.github.com/users/LuccaSA/following{/other_user}","gists_url":"https://api.github.com/users/LuccaSA/gists{/gist_id}","starred_url":"https://api.github.com/users/LuccaSA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LuccaSA/subscriptions","organizations_url":"https://api.github.com/users/LuccaSA/orgs","repos_url":"https://api.github.com/users/LuccaSA/repos","events_url":"https://api.github.com/users/LuccaSA/events{/privacy}","received_events_url":"https://api.github.com/users/LuccaSA/received_events","type":"Organization","site_admin":false},"repo":{"id":38605030,"name":"lucca-ui","full_name":"LuccaSA/lucca-ui","owner":{"login":"LuccaSA","id":2686158,"avatar_url":"https://avatars.githubusercontent.com/u/2686158?v=3","gravatar_id":"","url":"https://api.github.com/users/LuccaSA","html_url":"https://github.com/LuccaSA","followers_url":"https://api.github.com/users/LuccaSA/followers","following_url":"https://api.github.com/users/LuccaSA/following{/other_user}","gists_url":"https://api.github.com/users/LuccaSA/gists{/gist_id}","starred_url":"https://api.github.com/users/LuccaSA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LuccaSA/subscriptions","organizations_url":"https://api.github.com/users/LuccaSA/orgs","repos_url":"https://api.github.com/users/LuccaSA/repos","events_url":"https://api.github.com/users/LuccaSA/events{/privacy}","received_events_url":"https://api.github.com/users/LuccaSA/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/LuccaSA/lucca-ui","description":"Framework Sass & Angular by Lucca","fork":false,"url":"https://api.github.com/repos/LuccaSA/lucca-ui","forks_url":"https://api.github.com/repos/LuccaSA/lucca-ui/forks","keys_url":"https://api.github.com/repos/LuccaSA/lucca-ui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/LuccaSA/lucca-ui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/LuccaSA/lucca-ui/teams","hooks_url":"https://api.github.com/repos/LuccaSA/lucca-ui/hooks","issue_events_url":"https://api.github.com/repos/LuccaSA/lucca-ui/issues/events{/number}","events_url":"https://api.github.com/repos/LuccaSA/lucca-ui/events","assignees_url":"https://api.github.com/repos/LuccaSA/lucca-ui/assignees{/user}","branches_url":"https://api.github.com/repos/LuccaSA/lucca-ui/branches{/branch}","tags_url":"https://api.github.com/repos/LuccaSA/lucca-ui/tags","blobs_url":"https://api.github.com/repos/LuccaSA/lucca-ui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/LuccaSA/lucca-ui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/LuccaSA/lucca-ui/git/refs{/sha}","trees_url":"https://api.github.com/repos/LuccaSA/lucca-ui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/LuccaSA/lucca-ui/statuses/{sha}","languages_url":"https://api.github.com/repos/LuccaSA/lucca-ui/languages","stargazers_url":"https://api.github.com/repos/LuccaSA/lucca-ui/stargazers","contributors_url":"https://api.github.com/repos/LuccaSA/lucca-ui/contributors","subscribers_url":"https://api.github.com/repos/LuccaSA/lucca-ui/subscribers","subscription_url":"https://api.github.com/repos/LuccaSA/lucca-ui/subscription","commits_url":"https://api.github.com/repos/LuccaSA/lucca-ui/commits{/sha}","git_commits_url":"https://api.github.com/repos/LuccaSA/lucca-ui/git/commits{/sha}","comments_url":"https://api.github.com/repos/LuccaSA/lucca-ui/comments{/number}","issue_comment_url":"https://api.github.com/repos/LuccaSA/lucca-ui/issues/comments{/number}","contents_url":"https://api.github.com/repos/LuccaSA/lucca-ui/contents/{+path}","compare_url":"https://api.github.com/repos/LuccaSA/lucca-ui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/LuccaSA/lucca-ui/merges","archive_url":"https://api.github.com/repos/LuccaSA/lucca-ui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/LuccaSA/lucca-ui/downloads","issues_url":"https://api.github.com/repos/LuccaSA/lucca-ui/issues{/number}","pulls_url":"https://api.github.com/repos/LuccaSA/lucca-ui/pulls{/number}","milestones_url":"https://api.github.com/repos/LuccaSA/lucca-ui/milestones{/number}","notifications_url":"https://api.github.com/repos/LuccaSA/lucca-ui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/LuccaSA/lucca-ui/labels{/name}","releases_url":"https://api.github.com/repos/LuccaSA/lucca-ui/releases{/id}","deployments_url":"https://api.github.com/repos/LuccaSA/lucca-ui/deployments","created_at":"2015-07-06T07:50:16Z","updated_at":"2016-03-17T10:49:11Z","pushed_at":"2016-04-06T09:28:46Z","git_url":"git://github.com/LuccaSA/lucca-ui.git","ssh_url":"git@github.com:LuccaSA/lucca-ui.git","clone_url":"https://github.com/LuccaSA/lucca-ui.git","svn_url":"https://github.com/LuccaSA/lucca-ui","homepage":"http://luccasa.github.io/lucca-ui","size":6055,"stargazers_count":7,"watchers_count":7,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":2,"mirror_url":null,"open_issues_count":13,"forks":2,"open_issues":13,"watchers":7,"default_branch":"master"}},"base":{"label":"LuccaSA:master","ref":"master","sha":"430de3b2afc4eee8116efdbff45fabc0ee581ece","user":{"login":"LuccaSA","id":2686158,"avatar_url":"https://avatars.githubusercontent.com/u/2686158?v=3","gravatar_id":"","url":"https://api.github.com/users/LuccaSA","html_url":"https://github.com/LuccaSA","followers_url":"https://api.github.com/users/LuccaSA/followers","following_url":"https://api.github.com/users/LuccaSA/following{/other_user}","gists_url":"https://api.github.com/users/LuccaSA/gists{/gist_id}","starred_url":"https://api.github.com/users/LuccaSA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LuccaSA/subscriptions","organizations_url":"https://api.github.com/users/LuccaSA/orgs","repos_url":"https://api.github.com/users/LuccaSA/repos","events_url":"https://api.github.com/users/LuccaSA/events{/privacy}","received_events_url":"https://api.github.com/users/LuccaSA/received_events","type":"Organization","site_admin":false},"repo":{"id":38605030,"name":"lucca-ui","full_name":"LuccaSA/lucca-ui","owner":{"login":"LuccaSA","id":2686158,"avatar_url":"https://avatars.githubusercontent.com/u/2686158?v=3","gravatar_id":"","url":"https://api.github.com/users/LuccaSA","html_url":"https://github.com/LuccaSA","followers_url":"https://api.github.com/users/LuccaSA/followers","following_url":"https://api.github.com/users/LuccaSA/following{/other_user}","gists_url":"https://api.github.com/users/LuccaSA/gists{/gist_id}","starred_url":"https://api.github.com/users/LuccaSA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LuccaSA/subscriptions","organizations_url":"https://api.github.com/users/LuccaSA/orgs","repos_url":"https://api.github.com/users/LuccaSA/repos","events_url":"https://api.github.com/users/LuccaSA/events{/privacy}","received_events_url":"https://api.github.com/users/LuccaSA/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/LuccaSA/lucca-ui","description":"Framework Sass & Angular by Lucca","fork":false,"url":"https://api.github.com/repos/LuccaSA/lucca-ui","forks_url":"https://api.github.com/repos/LuccaSA/lucca-ui/forks","keys_url":"https://api.github.com/repos/LuccaSA/lucca-ui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/LuccaSA/lucca-ui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/LuccaSA/lucca-ui/teams","hooks_url":"https://api.github.com/repos/LuccaSA/lucca-ui/hooks","issue_events_url":"https://api.github.com/repos/LuccaSA/lucca-ui/issues/events{/number}","events_url":"https://api.github.com/repos/LuccaSA/lucca-ui/events","assignees_url":"https://api.github.com/repos/LuccaSA/lucca-ui/assignees{/user}","branches_url":"https://api.github.com/repos/LuccaSA/lucca-ui/branches{/branch}","tags_url":"https://api.github.com/repos/LuccaSA/lucca-ui/tags","blobs_url":"https://api.github.com/repos/LuccaSA/lucca-ui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/LuccaSA/lucca-ui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/LuccaSA/lucca-ui/git/refs{/sha}","trees_url":"https://api.github.com/repos/LuccaSA/lucca-ui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/LuccaSA/lucca-ui/statuses/{sha}","languages_url":"https://api.github.com/repos/LuccaSA/lucca-ui/languages","stargazers_url":"https://api.github.com/repos/LuccaSA/lucca-ui/stargazers","contributors_url":"https://api.github.com/repos/LuccaSA/lucca-ui/contributors","subscribers_url":"https://api.github.com/repos/LuccaSA/lucca-ui/subscribers","subscription_url":"https://api.github.com/repos/LuccaSA/lucca-ui/subscription","commits_url":"https://api.github.com/repos/LuccaSA/lucca-ui/commits{/sha}","git_commits_url":"https://api.github.com/repos/LuccaSA/lucca-ui/git/commits{/sha}","comments_url":"https://api.github.com/repos/LuccaSA/lucca-ui/comments{/number}","issue_comment_url":"https://api.github.com/repos/LuccaSA/lucca-ui/issues/comments{/number}","contents_url":"https://api.github.com/repos/LuccaSA/lucca-ui/contents/{+path}","compare_url":"https://api.github.com/repos/LuccaSA/lucca-ui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/LuccaSA/lucca-ui/merges","archive_url":"https://api.github.com/repos/LuccaSA/lucca-ui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/LuccaSA/lucca-ui/downloads","issues_url":"https://api.github.com/repos/LuccaSA/lucca-ui/issues{/number}","pulls_url":"https://api.github.com/repos/LuccaSA/lucca-ui/pulls{/number}","milestones_url":"https://api.github.com/repos/LuccaSA/lucca-ui/milestones{/number}","notifications_url":"https://api.github.com/repos/LuccaSA/lucca-ui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/LuccaSA/lucca-ui/labels{/name}","releases_url":"https://api.github.com/repos/LuccaSA/lucca-ui/releases{/id}","deployments_url":"https://api.github.com/repos/LuccaSA/lucca-ui/deployments","created_at":"2015-07-06T07:50:16Z","updated_at":"2016-03-17T10:49:11Z","pushed_at":"2016-04-06T09:28:46Z","git_url":"git://github.com/LuccaSA/lucca-ui.git","ssh_url":"git@github.com:LuccaSA/lucca-ui.git","clone_url":"https://github.com/LuccaSA/lucca-ui.git","svn_url":"https://github.com/LuccaSA/lucca-ui","homepage":"http://luccasa.github.io/lucca-ui","size":6055,"stargazers_count":7,"watchers_count":7,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":2,"mirror_url":null,"open_issues_count":13,"forks":2,"open_issues":13,"watchers":7,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/LuccaSA/lucca-ui/pulls/198"},"html":{"href":"https://github.com/LuccaSA/lucca-ui/pull/198"},"issue":{"href":"https://api.github.com/repos/LuccaSA/lucca-ui/issues/198"},"comments":{"href":"https://api.github.com/repos/LuccaSA/lucca-ui/issues/198/comments"},"review_comments":{"href":"https://api.github.com/repos/LuccaSA/lucca-ui/pulls/198/comments"},"review_comment":{"href":"https://api.github.com/repos/LuccaSA/lucca-ui/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/LuccaSA/lucca-ui/pulls/198/commits"},"statuses":{"href":"https://api.github.com/repos/LuccaSA/lucca-ui/statuses/9f3c7ead26960ae571bf02c8d565ce4d3b6e0c5e"}}}}