{"action":"created","comment":{"url":"https://api.github.com/repos/coopTilleuls/hm-admin/pulls/comments/63323868","id":63323868,"diff_hunk":"@@ -1,11 +1,16 @@\n-import { Component } from '@angular/core';\n+import {Component, Input} from '@angular/core';\n+import {ConfigService} from './services/config/config';\n \n @Component({\n   moduleId: module.id,\n   selector: 'hm-admin-app',\n   templateUrl: 'hm-admin.component.html',\n   styleUrls: ['hm-admin.component.css']\n })\n-export class HmAdminComponent {\n+export class HmAdminComponent extends ConfigService {\n+  @Input('config') config: any;\n+\n+  ngOnInit() { this._hookMeIfYouCan(this.config); }","path":"src/hm-admin/hm-admin.component.ts","position":15,"original_position":15,"commit_id":"512391b954c7d9cae320a607103cb8a30452472d","original_commit_id":"512391b954c7d9cae320a607103cb8a30452472d","user":{"login":"Gregcop1","id":1257968,"avatar_url":"https://avatars.githubusercontent.com/u/1257968?v=3","gravatar_id":"","url":"https://api.github.com/users/Gregcop1","html_url":"https://github.com/Gregcop1","followers_url":"https://api.github.com/users/Gregcop1/followers","following_url":"https://api.github.com/users/Gregcop1/following{/other_user}","gists_url":"https://api.github.com/users/Gregcop1/gists{/gist_id}","starred_url":"https://api.github.com/users/Gregcop1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gregcop1/subscriptions","organizations_url":"https://api.github.com/users/Gregcop1/orgs","repos_url":"https://api.github.com/users/Gregcop1/repos","events_url":"https://api.github.com/users/Gregcop1/events{/privacy}","received_events_url":"https://api.github.com/users/Gregcop1/received_events","type":"User","site_admin":false},"body":"you don't implement OnInit so think function will never be called","created_at":"2016-05-16T08:38:21Z","updated_at":"2016-05-16T08:38:21Z","html_url":"https://github.com/coopTilleuls/hm-admin/pull/8#discussion_r63323868","pull_request_url":"https://api.github.com/repos/coopTilleuls/hm-admin/pulls/8","_links":{"self":{"href":"https://api.github.com/repos/coopTilleuls/hm-admin/pulls/comments/63323868"},"html":{"href":"https://github.com/coopTilleuls/hm-admin/pull/8#discussion_r63323868"},"pull_request":{"href":"https://api.github.com/repos/coopTilleuls/hm-admin/pulls/8"}}},"pull_request":{"url":"https://api.github.com/repos/coopTilleuls/hm-admin/pulls/8","id":70093599,"html_url":"https://github.com/coopTilleuls/hm-admin/pull/8","diff_url":"https://github.com/coopTilleuls/hm-admin/pull/8.diff","patch_url":"https://github.com/coopTilleuls/hm-admin/pull/8.patch","issue_url":"https://api.github.com/repos/coopTilleuls/hm-admin/issues/8","number":8,"state":"open","locked":false,"title":"feat: make the project configurable","user":{"login":"Simperfit","id":3451634,"avatar_url":"https://avatars.githubusercontent.com/u/3451634?v=3","gravatar_id":"","url":"https://api.github.com/users/Simperfit","html_url":"https://github.com/Simperfit","followers_url":"https://api.github.com/users/Simperfit/followers","following_url":"https://api.github.com/users/Simperfit/following{/other_user}","gists_url":"https://api.github.com/users/Simperfit/gists{/gist_id}","starred_url":"https://api.github.com/users/Simperfit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Simperfit/subscriptions","organizations_url":"https://api.github.com/users/Simperfit/orgs","repos_url":"https://api.github.com/users/Simperfit/repos","events_url":"https://api.github.com/users/Simperfit/events{/privacy}","received_events_url":"https://api.github.com/users/Simperfit/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-05-14T14:35:04Z","updated_at":"2016-05-16T08:38:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4bb77b18580b5db644694df2b6999bfb61fd4380","assignee":null,"milestone":{"url":"https://api.github.com/repos/coopTilleuls/hm-admin/milestones/1","html_url":"https://github.com/coopTilleuls/hm-admin/milestones/0.1.0","labels_url":"https://api.github.com/repos/coopTilleuls/hm-admin/milestones/1/labels","id":1766778,"number":1,"title":"0.1.0","description":"","creator":{"login":"Simperfit","id":3451634,"avatar_url":"https://avatars.githubusercontent.com/u/3451634?v=3","gravatar_id":"","url":"https://api.github.com/users/Simperfit","html_url":"https://github.com/Simperfit","followers_url":"https://api.github.com/users/Simperfit/followers","following_url":"https://api.github.com/users/Simperfit/following{/other_user}","gists_url":"https://api.github.com/users/Simperfit/gists{/gist_id}","starred_url":"https://api.github.com/users/Simperfit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Simperfit/subscriptions","organizations_url":"https://api.github.com/users/Simperfit/orgs","repos_url":"https://api.github.com/users/Simperfit/repos","events_url":"https://api.github.com/users/Simperfit/events{/privacy}","received_events_url":"https://api.github.com/users/Simperfit/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":0,"state":"open","created_at":"2016-05-15T08:06:43Z","updated_at":"2016-05-15T08:07:04Z","due_on":"2016-05-14T22:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/coopTilleuls/hm-admin/pulls/8/commits","review_comments_url":"https://api.github.com/repos/coopTilleuls/hm-admin/pulls/8/comments","review_comment_url":"https://api.github.com/repos/coopTilleuls/hm-admin/pulls/comments{/number}","comments_url":"https://api.github.com/repos/coopTilleuls/hm-admin/issues/8/comments","statuses_url":"https://api.github.com/repos/coopTilleuls/hm-admin/statuses/512391b954c7d9cae320a607103cb8a30452472d","head":{"label":"Simperfit:feature/init-configurable-project","ref":"feature/init-configurable-project","sha":"512391b954c7d9cae320a607103cb8a30452472d","user":{"login":"Simperfit","id":3451634,"avatar_url":"https://avatars.githubusercontent.com/u/3451634?v=3","gravatar_id":"","url":"https://api.github.com/users/Simperfit","html_url":"https://github.com/Simperfit","followers_url":"https://api.github.com/users/Simperfit/followers","following_url":"https://api.github.com/users/Simperfit/following{/other_user}","gists_url":"https://api.github.com/users/Simperfit/gists{/gist_id}","starred_url":"https://api.github.com/users/Simperfit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Simperfit/subscriptions","organizations_url":"https://api.github.com/users/Simperfit/orgs","repos_url":"https://api.github.com/users/Simperfit/repos","events_url":"https://api.github.com/users/Simperfit/events{/privacy}","received_events_url":"https://api.github.com/users/Simperfit/received_events","type":"User","site_admin":false},"repo":{"id":58656517,"name":"hm-admin","full_name":"Simperfit/hm-admin","owner":{"login":"Simperfit","id":3451634,"avatar_url":"https://avatars.githubusercontent.com/u/3451634?v=3","gravatar_id":"","url":"https://api.github.com/users/Simperfit","html_url":"https://github.com/Simperfit","followers_url":"https://api.github.com/users/Simperfit/followers","following_url":"https://api.github.com/users/Simperfit/following{/other_user}","gists_url":"https://api.github.com/users/Simperfit/gists{/gist_id}","starred_url":"https://api.github.com/users/Simperfit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Simperfit/subscriptions","organizations_url":"https://api.github.com/users/Simperfit/orgs","repos_url":"https://api.github.com/users/Simperfit/repos","events_url":"https://api.github.com/users/Simperfit/events{/privacy}","received_events_url":"https://api.github.com/users/Simperfit/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Simperfit/hm-admin","description":"hm-admin is an angular2 component which help you to build backoffice automatically for an hypermedia API","fork":true,"url":"https://api.github.com/repos/Simperfit/hm-admin","forks_url":"https://api.github.com/repos/Simperfit/hm-admin/forks","keys_url":"https://api.github.com/repos/Simperfit/hm-admin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Simperfit/hm-admin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Simperfit/hm-admin/teams","hooks_url":"https://api.github.com/repos/Simperfit/hm-admin/hooks","issue_events_url":"https://api.github.com/repos/Simperfit/hm-admin/issues/events{/number}","events_url":"https://api.github.com/repos/Simperfit/hm-admin/events","assignees_url":"https://api.github.com/repos/Simperfit/hm-admin/assignees{/user}","branches_url":"https://api.github.com/repos/Simperfit/hm-admin/branches{/branch}","tags_url":"https://api.github.com/repos/Simperfit/hm-admin/tags","blobs_url":"https://api.github.com/repos/Simperfit/hm-admin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Simperfit/hm-admin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Simperfit/hm-admin/git/refs{/sha}","trees_url":"https://api.github.com/repos/Simperfit/hm-admin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Simperfit/hm-admin/statuses/{sha}","languages_url":"https://api.github.com/repos/Simperfit/hm-admin/languages","stargazers_url":"https://api.github.com/repos/Simperfit/hm-admin/stargazers","contributors_url":"https://api.github.com/repos/Simperfit/hm-admin/contributors","subscribers_url":"https://api.github.com/repos/Simperfit/hm-admin/subscribers","subscription_url":"https://api.github.com/repos/Simperfit/hm-admin/subscription","commits_url":"https://api.github.com/repos/Simperfit/hm-admin/commits{/sha}","git_commits_url":"https://api.github.com/repos/Simperfit/hm-admin/git/commits{/sha}","comments_url":"https://api.github.com/repos/Simperfit/hm-admin/comments{/number}","issue_comment_url":"https://api.github.com/repos/Simperfit/hm-admin/issues/comments{/number}","contents_url":"https://api.github.com/repos/Simperfit/hm-admin/contents/{+path}","compare_url":"https://api.github.com/repos/Simperfit/hm-admin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Simperfit/hm-admin/merges","archive_url":"https://api.github.com/repos/Simperfit/hm-admin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Simperfit/hm-admin/downloads","issues_url":"https://api.github.com/repos/Simperfit/hm-admin/issues{/number}","pulls_url":"https://api.github.com/repos/Simperfit/hm-admin/pulls{/number}","milestones_url":"https://api.github.com/repos/Simperfit/hm-admin/milestones{/number}","notifications_url":"https://api.github.com/repos/Simperfit/hm-admin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Simperfit/hm-admin/labels{/name}","releases_url":"https://api.github.com/repos/Simperfit/hm-admin/releases{/id}","deployments_url":"https://api.github.com/repos/Simperfit/hm-admin/deployments","created_at":"2016-05-12T16:02:59Z","updated_at":"2016-05-12T12:27:11Z","pushed_at":"2016-05-16T08:21:56Z","git_url":"git://github.com/Simperfit/hm-admin.git","ssh_url":"git@github.com:Simperfit/hm-admin.git","clone_url":"https://github.com/Simperfit/hm-admin.git","svn_url":"https://github.com/Simperfit/hm-admin","homepage":null,"size":17,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"coopTilleuls:feature/init-configurable-project","ref":"feature/init-configurable-project","sha":"4bddaee99f809162263fd67bb3401296bdb2a607","user":{"login":"coopTilleuls","id":1161198,"avatar_url":"https://avatars.githubusercontent.com/u/1161198?v=3","gravatar_id":"","url":"https://api.github.com/users/coopTilleuls","html_url":"https://github.com/coopTilleuls","followers_url":"https://api.github.com/users/coopTilleuls/followers","following_url":"https://api.github.com/users/coopTilleuls/following{/other_user}","gists_url":"https://api.github.com/users/coopTilleuls/gists{/gist_id}","starred_url":"https://api.github.com/users/coopTilleuls/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coopTilleuls/subscriptions","organizations_url":"https://api.github.com/users/coopTilleuls/orgs","repos_url":"https://api.github.com/users/coopTilleuls/repos","events_url":"https://api.github.com/users/coopTilleuls/events{/privacy}","received_events_url":"https://api.github.com/users/coopTilleuls/received_events","type":"Organization","site_admin":false},"repo":{"id":58639376,"name":"hm-admin","full_name":"coopTilleuls/hm-admin","owner":{"login":"coopTilleuls","id":1161198,"avatar_url":"https://avatars.githubusercontent.com/u/1161198?v=3","gravatar_id":"","url":"https://api.github.com/users/coopTilleuls","html_url":"https://github.com/coopTilleuls","followers_url":"https://api.github.com/users/coopTilleuls/followers","following_url":"https://api.github.com/users/coopTilleuls/following{/other_user}","gists_url":"https://api.github.com/users/coopTilleuls/gists{/gist_id}","starred_url":"https://api.github.com/users/coopTilleuls/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coopTilleuls/subscriptions","organizations_url":"https://api.github.com/users/coopTilleuls/orgs","repos_url":"https://api.github.com/users/coopTilleuls/repos","events_url":"https://api.github.com/users/coopTilleuls/events{/privacy}","received_events_url":"https://api.github.com/users/coopTilleuls/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/coopTilleuls/hm-admin","description":"hm-admin is an angular2 component which help you to build backoffice automatically for an hypermedia API","fork":false,"url":"https://api.github.com/repos/coopTilleuls/hm-admin","forks_url":"https://api.github.com/repos/coopTilleuls/hm-admin/forks","keys_url":"https://api.github.com/repos/coopTilleuls/hm-admin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/coopTilleuls/hm-admin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/coopTilleuls/hm-admin/teams","hooks_url":"https://api.github.com/repos/coopTilleuls/hm-admin/hooks","issue_events_url":"https://api.github.com/repos/coopTilleuls/hm-admin/issues/events{/number}","events_url":"https://api.github.com/repos/coopTilleuls/hm-admin/events","assignees_url":"https://api.github.com/repos/coopTilleuls/hm-admin/assignees{/user}","branches_url":"https://api.github.com/repos/coopTilleuls/hm-admin/branches{/branch}","tags_url":"https://api.github.com/repos/coopTilleuls/hm-admin/tags","blobs_url":"https://api.github.com/repos/coopTilleuls/hm-admin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/coopTilleuls/hm-admin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/coopTilleuls/hm-admin/git/refs{/sha}","trees_url":"https://api.github.com/repos/coopTilleuls/hm-admin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/coopTilleuls/hm-admin/statuses/{sha}","languages_url":"https://api.github.com/repos/coopTilleuls/hm-admin/languages","stargazers_url":"https://api.github.com/repos/coopTilleuls/hm-admin/stargazers","contributors_url":"https://api.github.com/repos/coopTilleuls/hm-admin/contributors","subscribers_url":"https://api.github.com/repos/coopTilleuls/hm-admin/subscribers","subscription_url":"https://api.github.com/repos/coopTilleuls/hm-admin/subscription","commits_url":"https://api.github.com/repos/coopTilleuls/hm-admin/commits{/sha}","git_commits_url":"https://api.github.com/repos/coopTilleuls/hm-admin/git/commits{/sha}","comments_url":"https://api.github.com/repos/coopTilleuls/hm-admin/comments{/number}","issue_comment_url":"https://api.github.com/repos/coopTilleuls/hm-admin/issues/comments{/number}","contents_url":"https://api.github.com/repos/coopTilleuls/hm-admin/contents/{+path}","compare_url":"https://api.github.com/repos/coopTilleuls/hm-admin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/coopTilleuls/hm-admin/merges","archive_url":"https://api.github.com/repos/coopTilleuls/hm-admin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/coopTilleuls/hm-admin/downloads","issues_url":"https://api.github.com/repos/coopTilleuls/hm-admin/issues{/number}","pulls_url":"https://api.github.com/repos/coopTilleuls/hm-admin/pulls{/number}","milestones_url":"https://api.github.com/repos/coopTilleuls/hm-admin/milestones{/number}","notifications_url":"https://api.github.com/repos/coopTilleuls/hm-admin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/coopTilleuls/hm-admin/labels{/name}","releases_url":"https://api.github.com/repos/coopTilleuls/hm-admin/releases{/id}","deployments_url":"https://api.github.com/repos/coopTilleuls/hm-admin/deployments","created_at":"2016-05-12T12:27:11Z","updated_at":"2016-05-12T20:00:16Z","pushed_at":"2016-05-16T08:21:56Z","git_url":"git://github.com/coopTilleuls/hm-admin.git","ssh_url":"git@github.com:coopTilleuls/hm-admin.git","clone_url":"https://github.com/coopTilleuls/hm-admin.git","svn_url":"https://github.com/coopTilleuls/hm-admin","homepage":null,"size":21,"stargazers_count":1,"watchers_count":1,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":3,"forks":2,"open_issues":3,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/coopTilleuls/hm-admin/pulls/8"},"html":{"href":"https://github.com/coopTilleuls/hm-admin/pull/8"},"issue":{"href":"https://api.github.com/repos/coopTilleuls/hm-admin/issues/8"},"comments":{"href":"https://api.github.com/repos/coopTilleuls/hm-admin/issues/8/comments"},"review_comments":{"href":"https://api.github.com/repos/coopTilleuls/hm-admin/pulls/8/comments"},"review_comment":{"href":"https://api.github.com/repos/coopTilleuls/hm-admin/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/coopTilleuls/hm-admin/pulls/8/commits"},"statuses":{"href":"https://api.github.com/repos/coopTilleuls/hm-admin/statuses/512391b954c7d9cae320a607103cb8a30452472d"}}}}