Update comments.

This commit is contained in:
Kevin Schaaf 2016-02-12 17:24:21 -08:00
parent 6362f60095
commit b870fe0a7b

View File

@ -299,6 +299,8 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
_extendTemplate: function(template, proto) {
var n$ = Object.getOwnPropertyNames(proto);
if (proto._propertySetter) {
// _propertySetter API may need to be copied onto the template,
// and it needs to come first to allow the property swizzle below
template._propertySetter = proto._propertySetter;
}
for (var i=0, n; (i<n$.length) && (n=n$[i]); i++) {