{"action":"created","issue":{"url":"https://api.github.com/repos/muut/riotjs/issues/494","labels_url":"https://api.github.com/repos/muut/riotjs/issues/494/labels{/name}","comments_url":"https://api.github.com/repos/muut/riotjs/issues/494/comments","events_url":"https://api.github.com/repos/muut/riotjs/issues/494/events","html_url":"https://github.com/muut/riotjs/issues/494","id":60677520,"number":494,"title":"Issues with nested tags, this.tags, and this.parent","user":{"login":"sheastreet","id":11021662,"avatar_url":"https://avatars.githubusercontent.com/u/11021662?v=3","gravatar_id":"","url":"https://api.github.com/users/sheastreet","html_url":"https://github.com/sheastreet","followers_url":"https://api.github.com/users/sheastreet/followers","following_url":"https://api.github.com/users/sheastreet/following{/other_user}","gists_url":"https://api.github.com/users/sheastreet/gists{/gist_id}","starred_url":"https://api.github.com/users/sheastreet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sheastreet/subscriptions","organizations_url":"https://api.github.com/users/sheastreet/orgs","repos_url":"https://api.github.com/users/sheastreet/repos","events_url":"https://api.github.com/users/sheastreet/events{/privacy}","received_events_url":"https://api.github.com/users/sheastreet/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/muut/riotjs/labels/enhancement","name":"enhancement","color":"eb6420"},{"url":"https://api.github.com/repos/muut/riotjs/labels/fixed","name":"fixed","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-03-11T15:35:02Z","updated_at":"2015-05-21T21:26:55Z","closed_at":null,"body":"I been talking about issues I have run across in issue #300 but there has been no comment and really is becoming a more general issue that keeps flopping around between versions. \r\n\r\nSame code, just different versions of riot:\r\n2.0.10 -> http://jsfiddle.net/6ep4agLw/3/\r\n2.0.11 -> http://jsfiddle.net/6ep4agLw/2/\r\n2.0.12 -> http://jsfiddle.net/6ep4agLw/ \r\n2.0.13 -> http://jsfiddle.net/6ep4agLw/1/\r\n\r\nJust between these versions it flops back and forth on processing and or skipping/missing nested tags. Yes I know the `this.tags` were not in past versions, so ignore that part in those past version examples.\r\n\r\nOn the versions that are not dropping the nesting tags, and this one might just be an opinion or point of view thing, have their parent as the outer most defined tag and not what they are nested under. This has flopped around too in even prior versions. I believe the parent should be what you are really nested under, and if you need to access a different level you can pass it. Yes having the highest most is nice for pulling nodes inside for inner content, but this seems to be the only good for initial logic as that parent is really invalid in many cases after that point. There really are many different points of view on what should be your parent when you start and when you settle. \r\n\r\nWith `this.tags` I saw that when you have unnamed tags, instead of making an array of these in `this.tags`, the `this.tags.sometag` takes on the value of the last tag of that type encountered that is unnamed. Also from the examples what I believe is expected in this container is not. Again the outer most defined tag gets all of the tags in its `this.tags` but the nested tags do not have anything that is under them in theirs."},"comment":{"url":"https://api.github.com/repos/muut/riotjs/issues/comments/104425435","html_url":"https://github.com/muut/riotjs/issues/494#issuecomment-104425435","issue_url":"https://api.github.com/repos/muut/riotjs/issues/494","id":104425435,"user":{"login":"GianlucaGuarini","id":879612,"avatar_url":"https://avatars.githubusercontent.com/u/879612?v=3","gravatar_id":"","url":"https://api.github.com/users/GianlucaGuarini","html_url":"https://github.com/GianlucaGuarini","followers_url":"https://api.github.com/users/GianlucaGuarini/followers","following_url":"https://api.github.com/users/GianlucaGuarini/following{/other_user}","gists_url":"https://api.github.com/users/GianlucaGuarini/gists{/gist_id}","starred_url":"https://api.github.com/users/GianlucaGuarini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GianlucaGuarini/subscriptions","organizations_url":"https://api.github.com/users/GianlucaGuarini/orgs","repos_url":"https://api.github.com/users/GianlucaGuarini/repos","events_url":"https://api.github.com/users/GianlucaGuarini/events{/privacy}","received_events_url":"https://api.github.com/users/GianlucaGuarini/received_events","type":"User","site_admin":false},"created_at":"2015-05-21T21:26:55Z","updated_at":"2015-05-21T21:26:55Z","body":"@sheastreet this should be fixed (we have refactored a bit the riot code and now you can use the yield tag to create nested dependencies) can we close this bug?"}}