riot@next Bug Report
by marufice
HTML
<script src="https://rawgit.com/riot/riot/v3.0.0-alpha.9/riot%2Bcompiler.js"></script>
<my-tag></my-tag>
<script type="riot/tag">
<my-child>
<yield/>
console.log("INTERNAL");
this.on("mount", function () {
console.log("my-child", this.refs);
});
</my-child>
</script>
<script type="riot/tag">
<my-tag>
<my-child>
<h3 ref="test" id="test">Internal</h3>
</my-child>
this.on("mount", function () {
console.log("my-tag", this.refs);
});
</my-tag>
</script>
<script>
riot.compile(function () {
riot.mount('*');
});
</script>
CSS
body { margin: 32px }
.item { display: flex; }
.item a { margin-left: 16px; }
.folders { margin-bottom: 16px; }