Use deserialize from the node.

This commit is contained in:
Kevin Schaaf 2016-02-05 17:06:40 -08:00
parent 0f55d1dbe4
commit a3641e29b0

View File

@ -144,7 +144,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
var value = (p === x.effect.value) ? config[p] : var value = (p === x.effect.value) ? config[p] :
this._get(x.effect.value, config); this._get(x.effect.value, config);
if (x.effect.kind == 'attribute') { if (x.effect.kind == 'attribute') {
value = this.deserialize(value, value = node.deserialize(value,
node._propertyInfo[name].type); node._propertyInfo[name].type);
} }
node._configValue(name, value); node._configValue(name, value);