Merge pull request #2691 from nazar-pc/patch-2

Weird assignment fix
This commit is contained in:
Eric Bidelman 2015-11-06 09:44:22 -08:00
commit 6ae520719f

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.