{"action":"closed","issue":{"url":"https://api.github.com/repos/nhnent/tui.component.tree/issues/15","repository_url":"https://api.github.com/repos/nhnent/tui.component.tree","labels_url":"https://api.github.com/repos/nhnent/tui.component.tree/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/nhnent/tui.component.tree/issues/15/comments","events_url":"https://api.github.com/repos/nhnent/tui.component.tree/issues/15/events","html_url":"https://github.com/nhnent/tui.component.tree/issues/15","id":140595868,"number":15,"title":"setNodeData() 에서 children 에 empty list 할당 시, add() 를 호출해도 tree 에 draw 되지 않음.","user":{"login":"kihyo-jeong","id":11729543,"avatar_url":"https://avatars.githubusercontent.com/u/11729543?v=3","gravatar_id":"","url":"https://api.github.com/users/kihyo-jeong","html_url":"https://github.com/kihyo-jeong","followers_url":"https://api.github.com/users/kihyo-jeong/followers","following_url":"https://api.github.com/users/kihyo-jeong/following{/other_user}","gists_url":"https://api.github.com/users/kihyo-jeong/gists{/gist_id}","starred_url":"https://api.github.com/users/kihyo-jeong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kihyo-jeong/subscriptions","organizations_url":"https://api.github.com/users/kihyo-jeong/orgs","repos_url":"https://api.github.com/users/kihyo-jeong/repos","events_url":"https://api.github.com/users/kihyo-jeong/events{/privacy}","received_events_url":"https://api.github.com/users/kihyo-jeong/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/nhnent/tui.component.tree/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/nhnent/tui.component.tree/labels/done","name":"done","color":"d4c5f9"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-14T07:24:00Z","updated_at":"2016-04-17T11:49:35Z","closed_at":"2016-04-17T11:49:35Z","body":"# 재현\r\n```\r\nvar newNodeId = tree.add({\r\n\ttext: 'new resources',\r\n\tchildren: []\r\n}, nodeId, false);\r\n\r\ntree.setNodeData(newNodeId, {text: 'new resources', children: []}, false);\r\n\r\ntree.add({\r\n\ttext: 'new resources',\r\n\tchildren: []\r\n}, newNodeId, false);\r\n\r\n// node 는 추가되나, tree 에 보이지 않음.\r\n```"}}