We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0aa4bbe commit cb72d75Copy full SHA for cb72d75
components/polymer/src/features/template.html
@@ -19,14 +19,12 @@
19
},
20
21
_stampTemplate: function(template, target) {
22
- // TODO(sorvell): light dom children will invalidate annotations.
23
- // TODO(sjmiles): ^ why?
24
var instance = this.instanceTemplate(template);
25
// identify host
26
for (var e = instance.firstElementChild; e; e=e.nextElementSibling) {
27
e.host = this;
28
}
29
- target.insertBefore(instance, target.firstElementChild);
+ target.insertBefore(instance, target.firstChild);
30
31
32
instanceTemplate: function(template) {
0 commit comments