{"action":"created","comment":{"url":"https://api.github.com/repos/500tech/angular2-tree-component/pulls/comments/64412743","id":64412743,"diff_hunk":"@@ -57,13 +57,12 @@ import { TreeNodeContent } from './tree-node-content.component';\n         class=\"toggle-children-placeholder\">\n       </span>\n       <div class=\"node-content-wrapper\" (click)=\"node.toggleActivated()\">\n-        {{node.data.name}}","path":"lib/components/tree-node.component.ts","position":19,"original_position":19,"commit_id":"16f88f6a91dd99e712cb142cbd350b45d6523dbe","original_commit_id":"16f88f6a91dd99e712cb142cbd350b45d6523dbe","user":{"login":"isaacplmann","id":861504,"avatar_url":"https://avatars.githubusercontent.com/u/861504?v=3","gravatar_id":"","url":"https://api.github.com/users/isaacplmann","html_url":"https://github.com/isaacplmann","followers_url":"https://api.github.com/users/isaacplmann/followers","following_url":"https://api.github.com/users/isaacplmann/following{/other_user}","gists_url":"https://api.github.com/users/isaacplmann/gists{/gist_id}","starred_url":"https://api.github.com/users/isaacplmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/isaacplmann/subscriptions","organizations_url":"https://api.github.com/users/isaacplmann/orgs","repos_url":"https://api.github.com/users/isaacplmann/repos","events_url":"https://api.github.com/users/isaacplmann/events{/privacy}","received_events_url":"https://api.github.com/users/isaacplmann/received_events","type":"User","site_admin":false},"body":"Removed this to prevent showing the treeNode name twice.","created_at":"2016-05-24T15:20:27Z","updated_at":"2016-05-24T15:20:27Z","html_url":"https://github.com/500tech/angular2-tree-component/pull/2#discussion_r64412743","pull_request_url":"https://api.github.com/repos/500tech/angular2-tree-component/pulls/2","_links":{"self":{"href":"https://api.github.com/repos/500tech/angular2-tree-component/pulls/comments/64412743"},"html":{"href":"https://github.com/500tech/angular2-tree-component/pull/2#discussion_r64412743"},"pull_request":{"href":"https://api.github.com/repos/500tech/angular2-tree-component/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/500tech/angular2-tree-component/pulls/2","id":71239800,"html_url":"https://github.com/500tech/angular2-tree-component/pull/2","diff_url":"https://github.com/500tech/angular2-tree-component/pull/2.diff","patch_url":"https://github.com/500tech/angular2-tree-component/pull/2.patch","issue_url":"https://api.github.com/repos/500tech/angular2-tree-component/issues/2","number":2,"state":"open","locked":false,"title":"Fix non-default childrenField and TreeNodeContent not rendering until a browser event","user":{"login":"isaacplmann","id":861504,"avatar_url":"https://avatars.githubusercontent.com/u/861504?v=3","gravatar_id":"","url":"https://api.github.com/users/isaacplmann","html_url":"https://github.com/isaacplmann","followers_url":"https://api.github.com/users/isaacplmann/followers","following_url":"https://api.github.com/users/isaacplmann/following{/other_user}","gists_url":"https://api.github.com/users/isaacplmann/gists{/gist_id}","starred_url":"https://api.github.com/users/isaacplmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/isaacplmann/subscriptions","organizations_url":"https://api.github.com/users/isaacplmann/orgs","repos_url":"https://api.github.com/users/isaacplmann/repos","events_url":"https://api.github.com/users/isaacplmann/events{/privacy}","received_events_url":"https://api.github.com/users/isaacplmann/received_events","type":"User","site_admin":false},"body":"I made three changes:\r\n\r\n1. Updated the setData function to account for a non-default childrenField\r\n2. Changed the way TreeNodeContent is being loaded.\r\n    - I'm using ComponentResolver instead of DynamicComponentLoader, since evidently DynamicComponentLoader is being deprecated.  (http://stackoverflow.com/a/35508835/5191105)\r\n    - I removed the setTimeout before loading TreeNodeContent and instead use componentRef.changeDetectorRef.detectChanges() once it is instantiated.\r\n\r\n3. Changed `#node of ...` to `let node of ...` since they like to change the syntax every couple weeks.","created_at":"2016-05-24T15:19:11Z","updated_at":"2016-05-24T15:20:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"19f534d2d33dbc80cef2f6f6c75a8765ea290db4","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/500tech/angular2-tree-component/pulls/2/commits","review_comments_url":"https://api.github.com/repos/500tech/angular2-tree-component/pulls/2/comments","review_comment_url":"https://api.github.com/repos/500tech/angular2-tree-component/pulls/comments{/number}","comments_url":"https://api.github.com/repos/500tech/angular2-tree-component/issues/2/comments","statuses_url":"https://api.github.com/repos/500tech/angular2-tree-component/statuses/16f88f6a91dd99e712cb142cbd350b45d6523dbe","head":{"label":"isaacplmann:master","ref":"master","sha":"16f88f6a91dd99e712cb142cbd350b45d6523dbe","user":{"login":"isaacplmann","id":861504,"avatar_url":"https://avatars.githubusercontent.com/u/861504?v=3","gravatar_id":"","url":"https://api.github.com/users/isaacplmann","html_url":"https://github.com/isaacplmann","followers_url":"https://api.github.com/users/isaacplmann/followers","following_url":"https://api.github.com/users/isaacplmann/following{/other_user}","gists_url":"https://api.github.com/users/isaacplmann/gists{/gist_id}","starred_url":"https://api.github.com/users/isaacplmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/isaacplmann/subscriptions","organizations_url":"https://api.github.com/users/isaacplmann/orgs","repos_url":"https://api.github.com/users/isaacplmann/repos","events_url":"https://api.github.com/users/isaacplmann/events{/privacy}","received_events_url":"https://api.github.com/users/isaacplmann/received_events","type":"User","site_admin":false},"repo":{"id":59516008,"name":"angular2-tree-component","full_name":"isaacplmann/angular2-tree-component","owner":{"login":"isaacplmann","id":861504,"avatar_url":"https://avatars.githubusercontent.com/u/861504?v=3","gravatar_id":"","url":"https://api.github.com/users/isaacplmann","html_url":"https://github.com/isaacplmann","followers_url":"https://api.github.com/users/isaacplmann/followers","following_url":"https://api.github.com/users/isaacplmann/following{/other_user}","gists_url":"https://api.github.com/users/isaacplmann/gists{/gist_id}","starred_url":"https://api.github.com/users/isaacplmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/isaacplmann/subscriptions","organizations_url":"https://api.github.com/users/isaacplmann/orgs","repos_url":"https://api.github.com/users/isaacplmann/repos","events_url":"https://api.github.com/users/isaacplmann/events{/privacy}","received_events_url":"https://api.github.com/users/isaacplmann/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/isaacplmann/angular2-tree-component","description":"A simple yet powerful tree component for Angular2","fork":true,"url":"https://api.github.com/repos/isaacplmann/angular2-tree-component","forks_url":"https://api.github.com/repos/isaacplmann/angular2-tree-component/forks","keys_url":"https://api.github.com/repos/isaacplmann/angular2-tree-component/keys{/key_id}","collaborators_url":"https://api.github.com/repos/isaacplmann/angular2-tree-component/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/isaacplmann/angular2-tree-component/teams","hooks_url":"https://api.github.com/repos/isaacplmann/angular2-tree-component/hooks","issue_events_url":"https://api.github.com/repos/isaacplmann/angular2-tree-component/issues/events{/number}","events_url":"https://api.github.com/repos/isaacplmann/angular2-tree-component/events","assignees_url":"https://api.github.com/repos/isaacplmann/angular2-tree-component/assignees{/user}","branches_url":"https://api.github.com/repos/isaacplmann/angular2-tree-component/branches{/branch}","tags_url":"https://api.github.com/repos/isaacplmann/angular2-tree-component/tags","blobs_url":"https://api.github.com/repos/isaacplmann/angular2-tree-component/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/isaacplmann/angular2-tree-component/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/isaacplmann/angular2-tree-component/git/refs{/sha}","trees_url":"https://api.github.com/repos/isaacplmann/angular2-tree-component/git/trees{/sha}","statuses_url":"https://api.github.com/repos/isaacplmann/angular2-tree-component/statuses/{sha}","languages_url":"https://api.github.com/repos/isaacplmann/angular2-tree-component/languages","stargazers_url":"https://api.github.com/repos/isaacplmann/angular2-tree-component/stargazers","contributors_url":"https://api.github.com/repos/isaacplmann/angular2-tree-component/contributors","subscribers_url":"https://api.github.com/repos/isaacplmann/angular2-tree-component/subscribers","subscription_url":"https://api.github.com/repos/isaacplmann/angular2-tree-component/subscription","commits_url":"https://api.github.com/repos/isaacplmann/angular2-tree-component/commits{/sha}","git_commits_url":"https://api.github.com/repos/isaacplmann/angular2-tree-component/git/commits{/sha}","comments_url":"https://api.github.com/repos/isaacplmann/angular2-tree-component/comments{/number}","issue_comment_url":"https://api.github.com/repos/isaacplmann/angular2-tree-component/issues/comments{/number}","contents_url":"https://api.github.com/repos/isaacplmann/angular2-tree-component/contents/{+path}","compare_url":"https://api.github.com/repos/isaacplmann/angular2-tree-component/compare/{base}...{head}","merges_url":"https://api.github.com/repos/isaacplmann/angular2-tree-component/merges","archive_url":"https://api.github.com/repos/isaacplmann/angular2-tree-component/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/isaacplmann/angular2-tree-component/downloads","issues_url":"https://api.github.com/repos/isaacplmann/angular2-tree-component/issues{/number}","pulls_url":"https://api.github.com/repos/isaacplmann/angular2-tree-component/pulls{/number}","milestones_url":"https://api.github.com/repos/isaacplmann/angular2-tree-component/milestones{/number}","notifications_url":"https://api.github.com/repos/isaacplmann/angular2-tree-component/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/isaacplmann/angular2-tree-component/labels{/name}","releases_url":"https://api.github.com/repos/isaacplmann/angular2-tree-component/releases{/id}","deployments_url":"https://api.github.com/repos/isaacplmann/angular2-tree-component/deployments","created_at":"2016-05-23T20:26:49Z","updated_at":"2016-05-23T20:26:50Z","pushed_at":"2016-05-24T15:10:21Z","git_url":"git://github.com/isaacplmann/angular2-tree-component.git","ssh_url":"git@github.com:isaacplmann/angular2-tree-component.git","clone_url":"https://github.com/isaacplmann/angular2-tree-component.git","svn_url":"https://github.com/isaacplmann/angular2-tree-component","homepage":null,"size":2205,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"500tech:master","ref":"master","sha":"729f1fa1cdde157eb5373732b3c33a7c5426eaa0","user":{"login":"500tech","id":5308127,"avatar_url":"https://avatars.githubusercontent.com/u/5308127?v=3","gravatar_id":"","url":"https://api.github.com/users/500tech","html_url":"https://github.com/500tech","followers_url":"https://api.github.com/users/500tech/followers","following_url":"https://api.github.com/users/500tech/following{/other_user}","gists_url":"https://api.github.com/users/500tech/gists{/gist_id}","starred_url":"https://api.github.com/users/500tech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/500tech/subscriptions","organizations_url":"https://api.github.com/users/500tech/orgs","repos_url":"https://api.github.com/users/500tech/repos","events_url":"https://api.github.com/users/500tech/events{/privacy}","received_events_url":"https://api.github.com/users/500tech/received_events","type":"Organization","site_admin":false},"repo":{"id":53618401,"name":"angular2-tree-component","full_name":"500tech/angular2-tree-component","owner":{"login":"500tech","id":5308127,"avatar_url":"https://avatars.githubusercontent.com/u/5308127?v=3","gravatar_id":"","url":"https://api.github.com/users/500tech","html_url":"https://github.com/500tech","followers_url":"https://api.github.com/users/500tech/followers","following_url":"https://api.github.com/users/500tech/following{/other_user}","gists_url":"https://api.github.com/users/500tech/gists{/gist_id}","starred_url":"https://api.github.com/users/500tech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/500tech/subscriptions","organizations_url":"https://api.github.com/users/500tech/orgs","repos_url":"https://api.github.com/users/500tech/repos","events_url":"https://api.github.com/users/500tech/events{/privacy}","received_events_url":"https://api.github.com/users/500tech/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/500tech/angular2-tree-component","description":"A simple yet powerful tree component for Angular2","fork":false,"url":"https://api.github.com/repos/500tech/angular2-tree-component","forks_url":"https://api.github.com/repos/500tech/angular2-tree-component/forks","keys_url":"https://api.github.com/repos/500tech/angular2-tree-component/keys{/key_id}","collaborators_url":"https://api.github.com/repos/500tech/angular2-tree-component/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/500tech/angular2-tree-component/teams","hooks_url":"https://api.github.com/repos/500tech/angular2-tree-component/hooks","issue_events_url":"https://api.github.com/repos/500tech/angular2-tree-component/issues/events{/number}","events_url":"https://api.github.com/repos/500tech/angular2-tree-component/events","assignees_url":"https://api.github.com/repos/500tech/angular2-tree-component/assignees{/user}","branches_url":"https://api.github.com/repos/500tech/angular2-tree-component/branches{/branch}","tags_url":"https://api.github.com/repos/500tech/angular2-tree-component/tags","blobs_url":"https://api.github.com/repos/500tech/angular2-tree-component/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/500tech/angular2-tree-component/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/500tech/angular2-tree-component/git/refs{/sha}","trees_url":"https://api.github.com/repos/500tech/angular2-tree-component/git/trees{/sha}","statuses_url":"https://api.github.com/repos/500tech/angular2-tree-component/statuses/{sha}","languages_url":"https://api.github.com/repos/500tech/angular2-tree-component/languages","stargazers_url":"https://api.github.com/repos/500tech/angular2-tree-component/stargazers","contributors_url":"https://api.github.com/repos/500tech/angular2-tree-component/contributors","subscribers_url":"https://api.github.com/repos/500tech/angular2-tree-component/subscribers","subscription_url":"https://api.github.com/repos/500tech/angular2-tree-component/subscription","commits_url":"https://api.github.com/repos/500tech/angular2-tree-component/commits{/sha}","git_commits_url":"https://api.github.com/repos/500tech/angular2-tree-component/git/commits{/sha}","comments_url":"https://api.github.com/repos/500tech/angular2-tree-component/comments{/number}","issue_comment_url":"https://api.github.com/repos/500tech/angular2-tree-component/issues/comments{/number}","contents_url":"https://api.github.com/repos/500tech/angular2-tree-component/contents/{+path}","compare_url":"https://api.github.com/repos/500tech/angular2-tree-component/compare/{base}...{head}","merges_url":"https://api.github.com/repos/500tech/angular2-tree-component/merges","archive_url":"https://api.github.com/repos/500tech/angular2-tree-component/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/500tech/angular2-tree-component/downloads","issues_url":"https://api.github.com/repos/500tech/angular2-tree-component/issues{/number}","pulls_url":"https://api.github.com/repos/500tech/angular2-tree-component/pulls{/number}","milestones_url":"https://api.github.com/repos/500tech/angular2-tree-component/milestones{/number}","notifications_url":"https://api.github.com/repos/500tech/angular2-tree-component/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/500tech/angular2-tree-component/labels{/name}","releases_url":"https://api.github.com/repos/500tech/angular2-tree-component/releases{/id}","deployments_url":"https://api.github.com/repos/500tech/angular2-tree-component/deployments","created_at":"2016-03-10T21:29:15Z","updated_at":"2016-05-23T13:55:46Z","pushed_at":"2016-05-24T15:19:11Z","git_url":"git://github.com/500tech/angular2-tree-component.git","ssh_url":"git@github.com:500tech/angular2-tree-component.git","clone_url":"https://github.com/500tech/angular2-tree-component.git","svn_url":"https://github.com/500tech/angular2-tree-component","homepage":null,"size":2202,"stargazers_count":7,"watchers_count":7,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":2,"forks":2,"open_issues":2,"watchers":7,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/500tech/angular2-tree-component/pulls/2"},"html":{"href":"https://github.com/500tech/angular2-tree-component/pull/2"},"issue":{"href":"https://api.github.com/repos/500tech/angular2-tree-component/issues/2"},"comments":{"href":"https://api.github.com/repos/500tech/angular2-tree-component/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/500tech/angular2-tree-component/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/500tech/angular2-tree-component/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/500tech/angular2-tree-component/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/500tech/angular2-tree-component/statuses/16f88f6a91dd99e712cb142cbd350b45d6523dbe"}}}}
{"actor":{"display_login":"isaacplmann"}}