{"action":"created","issue":{"url":"https://api.github.com/repos/riot/riot/issues/828","labels_url":"https://api.github.com/repos/riot/riot/issues/828/labels{/name}","comments_url":"https://api.github.com/repos/riot/riot/issues/828/comments","events_url":"https://api.github.com/repos/riot/riot/issues/828/events","html_url":"https://github.com/riot/riot/pull/828","id":88180960,"number":828,"title":"Fire 'mount' only when a tag that is under an 'if' first appears in the DOM","user":{"login":"Avnerus","id":39962,"avatar_url":"https://avatars.githubusercontent.com/u/39962?v=3","gravatar_id":"","url":"https://api.github.com/users/Avnerus","html_url":"https://github.com/Avnerus","followers_url":"https://api.github.com/users/Avnerus/followers","following_url":"https://api.github.com/users/Avnerus/following{/other_user}","gists_url":"https://api.github.com/users/Avnerus/gists{/gist_id}","starred_url":"https://api.github.com/users/Avnerus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Avnerus/subscriptions","organizations_url":"https://api.github.com/users/Avnerus/orgs","repos_url":"https://api.github.com/users/Avnerus/repos","events_url":"https://api.github.com/users/Avnerus/events{/privacy}","received_events_url":"https://api.github.com/users/Avnerus/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/riot/riot/labels/enhancement","name":"enhancement","color":"eb6420"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2015-06-14T12:56:48Z","updated_at":"2015-06-17T12:42:11Z","closed_at":"2015-06-14T18:41:02Z","pull_request":{"url":"https://api.github.com/repos/riot/riot/pulls/828","html_url":"https://github.com/riot/riot/pull/828","diff_url":"https://github.com/riot/riot/pull/828.diff","patch_url":"https://github.com/riot/riot/pull/828.patch"},"body":"Hi,\r\nI wrote about it in here: https://github.com/riot/riot/issues/334#issuecomment-111646437\r\nI checked it in my team's project and with this fix we are finally able to initialize our JQuery related code  in ```mount```. Without it, we were forced to use workarounds such as ```updated``` or custom events, and flags that indicate whether the element was initialized already.\r\nPlease let me know what you think about it. I will be happy to make fixes.\r\nThanks!\r\n\r\n/Avner\r\n"},"comment":{"url":"https://api.github.com/repos/riot/riot/issues/comments/112783944","html_url":"https://github.com/riot/riot/pull/828#issuecomment-112783944","issue_url":"https://api.github.com/repos/riot/riot/issues/828","id":112783944,"user":{"login":"Avnerus","id":39962,"avatar_url":"https://avatars.githubusercontent.com/u/39962?v=3","gravatar_id":"","url":"https://api.github.com/users/Avnerus","html_url":"https://github.com/Avnerus","followers_url":"https://api.github.com/users/Avnerus/followers","following_url":"https://api.github.com/users/Avnerus/following{/other_user}","gists_url":"https://api.github.com/users/Avnerus/gists{/gist_id}","starred_url":"https://api.github.com/users/Avnerus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Avnerus/subscriptions","organizations_url":"https://api.github.com/users/Avnerus/orgs","repos_url":"https://api.github.com/users/Avnerus/repos","events_url":"https://api.github.com/users/Avnerus/events{/privacy}","received_events_url":"https://api.github.com/users/Avnerus/received_events","type":"User","site_admin":false},"created_at":"2015-06-17T12:42:11Z","updated_at":"2015-06-17T12:42:11Z","body":"@AndreasHeintze yeah it seems tricky. I guess the ```update``` of a tag's dom subtree (that sets the ```removed``` property, or ```inStub``` in my fix) will have to happen before ```toggle()```, so that the children will not get mounted? Hoping to take another look later this week or in the weekend."}}