Skip to content

Commit c21f8b0

Browse files
author
Dan Lasky
committed
update for >1.2.3 node behavior
1 parent af0a255 commit c21f8b0

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

src/shared/behaviors/lightdomgettable.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@
1717
},
1818

1919
getLightDOM: function() {
20-
// return Polymer.dom(this.contentTarget.$[this.contentId]).getDistributedNodes();
21-
return Polymer.dom(this.contentTarget).queryDistributedElements("*");
20+
return this.getEffectiveChildren();
2221
}
2322
};
2423

src/shared/js/datautils.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
}
5151
});
5252
if (element.innerHTML && includeInner) {
53-
o.inner = element.innerHTML;
53+
o.inner = element.innerHTML.trim();
5454
}
5555
}
5656
return o;

0 commit comments

Comments
 (0)