mirror of
https://github.com/Polymer/polymer.git
synced 2025-02-25 18:55:30 -06:00
Update comments.
This commit is contained in:
parent
6362f60095
commit
b870fe0a7b
@ -299,6 +299,8 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|||||||
_extendTemplate: function(template, proto) {
|
_extendTemplate: function(template, proto) {
|
||||||
var n$ = Object.getOwnPropertyNames(proto);
|
var n$ = Object.getOwnPropertyNames(proto);
|
||||||
if (proto._propertySetter) {
|
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;
|
template._propertySetter = proto._propertySetter;
|
||||||
}
|
}
|
||||||
for (var i=0, n; (i<n$.length) && (n=n$[i]); i++) {
|
for (var i=0, n; (i<n$.length) && (n=n$[i]); i++) {
|
||||||
|
Loading…
Reference in New Issue
Block a user