Merge pull request #3301 from Polymer/dom-tree-first-vs-last

Maybe a typo in dom-tree-api?
This commit is contained in:
Kevin Schaaf 2016-01-19 11:41:47 -08:00
commit 74ba13ff91

View File

@ -117,7 +117,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
getLastElementChild: function(node) {
return node.__dom && node.__dom.lastChild ?
this._getLastElementChild(node) : node.firstElementChild;
this._getLastElementChild(node) : node.lastElementChild;
},
_getLastElementChild: function(node) {
@ -285,4 +285,4 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
};
})();
</script>
</script>