{"action":"created","issue":{"url":"https://api.github.com/repos/joelrich/citojs/issues/11","labels_url":"https://api.github.com/repos/joelrich/citojs/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/joelrich/citojs/issues/11/comments","events_url":"https://api.github.com/repos/joelrich/citojs/issues/11/events","html_url":"https://github.com/joelrich/citojs/issues/11","id":77258066,"number":11,"title":"updating fragments are not working correctly","user":{"login":"cevek","id":3171573,"avatar_url":"https://avatars.githubusercontent.com/u/3171573?v=3","gravatar_id":"","url":"https://api.github.com/users/cevek","html_url":"https://github.com/cevek","followers_url":"https://api.github.com/users/cevek/followers","following_url":"https://api.github.com/users/cevek/following{/other_user}","gists_url":"https://api.github.com/users/cevek/gists{/gist_id}","starred_url":"https://api.github.com/users/cevek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cevek/subscriptions","organizations_url":"https://api.github.com/users/cevek/orgs","repos_url":"https://api.github.com/users/cevek/repos","events_url":"https://api.github.com/users/cevek/events{/privacy}","received_events_url":"https://api.github.com/users/cevek/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-05-17T08:48:43Z","updated_at":"2015-05-21T17:46:28Z","closed_at":null,"body":"```javascript\r\nvar d = {children: null};\r\ncito.vdom.append(document.body, d);\r\nvar newD = {tag: \"div\", children: \"world\"}\r\ncito.vdom.updateChildren(d, newD);\r\n//DOMException: Failed to execute 'appendChild' on 'Node': This node type does not support this method.\r\n\r\n\r\nvar d = {children: {tag: \"span\", children: \"hello\"}};\r\ncito.vdom.append(document.body, d);\r\nvar newD = {tag: \"div\", children: \"world\"}\r\ncito.vdom.updateChildren(d, newD);\r\n//DOMException: Failed to execute 'replaceChild' on 'Node': The node to be replaced is not a child of this node.\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/joelrich/citojs/issues/comments/104369358","html_url":"https://github.com/joelrich/citojs/issues/11#issuecomment-104369358","issue_url":"https://api.github.com/repos/joelrich/citojs/issues/11","id":104369358,"user":{"login":"joelrich","id":4216919,"avatar_url":"https://avatars.githubusercontent.com/u/4216919?v=3","gravatar_id":"","url":"https://api.github.com/users/joelrich","html_url":"https://github.com/joelrich","followers_url":"https://api.github.com/users/joelrich/followers","following_url":"https://api.github.com/users/joelrich/following{/other_user}","gists_url":"https://api.github.com/users/joelrich/gists{/gist_id}","starred_url":"https://api.github.com/users/joelrich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joelrich/subscriptions","organizations_url":"https://api.github.com/users/joelrich/orgs","repos_url":"https://api.github.com/users/joelrich/repos","events_url":"https://api.github.com/users/joelrich/events{/privacy}","received_events_url":"https://api.github.com/users/joelrich/received_events","type":"User","site_admin":false},"created_at":"2015-05-21T17:46:28Z","updated_at":"2015-05-21T17:46:28Z","body":"Thank you. If you had a container around it, then you should be able to use fragments."}}