mirror of
https://github.com/Polymer/polymer.git
synced 2026-08-17 16:34:49 -05:00
Fix getDestinationInsertionPoints so that it uses wrap
This commit is contained in:
@@ -134,10 +134,10 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
||||
*/
|
||||
getDestinationInsertionPoints() {
|
||||
let ip$ = [];
|
||||
let n = this.node.assignedSlot;
|
||||
let n = Polymer.wrap(this.node).assignedSlot;
|
||||
while (n) {
|
||||
ip$.push(n);
|
||||
n = n.assignedSlot;
|
||||
n = Polymer.wrap(n).assignedSlot;
|
||||
}
|
||||
return ip$;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user