Weird assignment fix

This commit is contained in:
Nazar Mokrynskyi 2015-11-06 00:24:15 +01:00
parent b137fe70dd
commit 9e6f77acd3

View File

@ -67,7 +67,7 @@ Polymer.StyleExtends = (function() {
if (target.parent !== source.parent) {
this._cloneAndAddRuleToParent(source, target.parent);
}
target.extends = target.extends || (target.extends = []);
target.extends = target.extends || [];
target.extends.push(source);
// TODO: this misses `%foo, .bar` as an unetended selector but
// this seems rare and could possibly be unsupported.