{"action":"created","issue":{"url":"https://api.github.com/repos/andreasplesch/cobweb_dom/issues/3","repository_url":"https://api.github.com/repos/andreasplesch/cobweb_dom","labels_url":"https://api.github.com/repos/andreasplesch/cobweb_dom/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/andreasplesch/cobweb_dom/issues/3/comments","events_url":"https://api.github.com/repos/andreasplesch/cobweb_dom/issues/3/events","html_url":"https://github.com/andreasplesch/cobweb_dom/issues/3","id":179034616,"number":3,"title":"inline","user":{"login":"andreasplesch","id":6171115,"avatar_url":"https://avatars.githubusercontent.com/u/6171115?v=3","gravatar_id":"","url":"https://api.github.com/users/andreasplesch","html_url":"https://github.com/andreasplesch","followers_url":"https://api.github.com/users/andreasplesch/followers","following_url":"https://api.github.com/users/andreasplesch/following{/other_user}","gists_url":"https://api.github.com/users/andreasplesch/gists{/gist_id}","starred_url":"https://api.github.com/users/andreasplesch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andreasplesch/subscriptions","organizations_url":"https://api.github.com/users/andreasplesch/orgs","repos_url":"https://api.github.com/users/andreasplesch/repos","events_url":"https://api.github.com/users/andreasplesch/events{/privacy}","received_events_url":"https://api.github.com/users/andreasplesch/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-24T15:08:45Z","updated_at":"2016-09-24T23:18:29Z","closed_at":null,"body":"How to make inlined nodes DOM nodes in the main document so they can be manipulated ?\r\n\r\nhttp://examples.x3dom.org/example/x3dom_inlineReflection.xhtml\r\nhttp://doc.x3dom.org/tutorials/models/inline/index.html\r\n\r\ninline elements are directly added as children to <inline> and the ids are prefixed with a namespacename.\r\n\r\ncobweb may ignore any xml children in inline. So with some changes it may be possible to do the same. Then cobweb_dom could check for mutations in inlines, find the corresponding x3dnode and do the same as for the regular nodes.\r\n\r\nUse a shadow root below inline ? Advantage would be scoping of IDs . But the EXPORT/IMPORT rules are for this.\r\n\r\nOr simply not allow any inline mods and advocate use HTML DOM way of inlining ?\r\n\r\n- https://mozilla.github.io/nunjucks/getting-started.html\r\n- http://handlebarsjs.com/\r\n- produce HTML strings, then use DOMParser?\r\n- actually use https://developer.mozilla.org/en-US/docs/Web/API/Element/insertAdjacentHTML\r\n\r\n- HTML imports directly produce DOM, can then be added as children to a <Group> which would then be picked up as mutation. but how to deal DEF conflicts ?\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/andreasplesch/cobweb_dom/issues/comments/249392883","html_url":"https://github.com/andreasplesch/cobweb_dom/issues/3#issuecomment-249392883","issue_url":"https://api.github.com/repos/andreasplesch/cobweb_dom/issues/3","id":249392883,"user":{"login":"andreasplesch","id":6171115,"avatar_url":"https://avatars.githubusercontent.com/u/6171115?v=3","gravatar_id":"","url":"https://api.github.com/users/andreasplesch","html_url":"https://github.com/andreasplesch","followers_url":"https://api.github.com/users/andreasplesch/followers","following_url":"https://api.github.com/users/andreasplesch/following{/other_user}","gists_url":"https://api.github.com/users/andreasplesch/gists{/gist_id}","starred_url":"https://api.github.com/users/andreasplesch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andreasplesch/subscriptions","organizations_url":"https://api.github.com/users/andreasplesch/orgs","repos_url":"https://api.github.com/users/andreasplesch/repos","events_url":"https://api.github.com/users/andreasplesch/events{/privacy}","received_events_url":"https://api.github.com/users/andreasplesch/received_events","type":"User","site_admin":false},"created_at":"2016-09-24T23:18:29Z","updated_at":"2016-09-24T23:18:29Z","body":"Follow IMPORT \n\n- inline.querySelector('[DEF=localnodename')\n- attribute. Mutations can only be relayed if EXPORTed and IMPORTed. \n- Find exportedNode\n- updateExportednode\n"}}
{"actor":{"display_login":"andreasplesch"}}