{"action":"opened","issue":{"url":"https://api.github.com/repos/juijs/jui/issues/469","repository_url":"https://api.github.com/repos/juijs/jui","labels_url":"https://api.github.com/repos/juijs/jui/issues/469/labels{/name}","comments_url":"https://api.github.com/repos/juijs/jui/issues/469/comments","events_url":"https://api.github.com/repos/juijs/jui/issues/469/events","html_url":"https://github.com/juijs/jui/issues/469","id":334342489,"node_id":"MDU6SXNzdWUzMzQzNDI0ODk=","number":469,"title":"jui component 를 제거하려면 어떻게 해야하나요? ","user":{"login":"cofham","id":36974673,"node_id":"MDQ6VXNlcjM2OTc0Njcz","avatar_url":"https://avatars0.githubusercontent.com/u/36974673?v=4","gravatar_id":"","url":"https://api.github.com/users/cofham","html_url":"https://github.com/cofham","followers_url":"https://api.github.com/users/cofham/followers","following_url":"https://api.github.com/users/cofham/following{/other_user}","gists_url":"https://api.github.com/users/cofham/gists{/gist_id}","starred_url":"https://api.github.com/users/cofham/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cofham/subscriptions","organizations_url":"https://api.github.com/users/cofham/orgs","repos_url":"https://api.github.com/users/cofham/repos","events_url":"https://api.github.com/users/cofham/events{/privacy}","received_events_url":"https://api.github.com/users/cofham/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-21T05:21:26Z","updated_at":"2018-06-21T05:21:26Z","closed_at":null,"author_association":"NONE","body":"`jui.ready([ \"ui.tree\" ], function(tree) {\r\n    tree_directory = tree(\"#tree_directory .tree\", {\r\n        root: { title:\"Internal Storage\" },\r\n        event: {\r\n            select: function(node) { \r\n               \t}\r\n        },\r\n        tpl: {\r\n            node: $(\"#data_tpl_node\").html()\r\n        }\r\n    });\r\n});`\r\n\r\n`function addFileDirectory(){\r\n\tjui.ready([ \"ui.tree\" ], function(tree) {\r\n\t   \ttree_directory_usb = tree(\"#tree_directory .tree\", {\r\n\t        root: { title:\"Usb Storage\" },\r\n\t        event: {\r\n\t            select: function(node) {\r\n\t          }\r\n\t});\r\n}`\r\n\r\ntree_directory  라는 컴포넌트를 만들고 addFileDirectory 라는 함수로 \r\ntree_directory_usb 라는 컴포넌트를 바로 밑에 만들었습니다.\r\n\r\n이런 경우에 다시 함수를 통해서 tree_directory_usb 를 제거하려면 어떻게 해야하나요?\r\ntree_directory_usb.empty();\r\ntree_directory_usb.remove();\r\n이렇게 해보았는데 작동이 되지않습니다."}}
{"actor":{"display_login":"cofham"}}