We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 605e5fe + b870fe0 commit 55876caCopy full SHA for 55876ca
src/lib/template/templatizer.html
@@ -298,6 +298,11 @@
298
// values (_propertySetter back on instance once accessor is installed)
299
_extendTemplate: function(template, proto) {
300
var n$ = Object.getOwnPropertyNames(proto);
301
+ if (proto._propertySetter) {
302
+ // _propertySetter API may need to be copied onto the template,
303
+ // and it needs to come first to allow the property swizzle below
304
+ template._propertySetter = proto._propertySetter;
305
+ }
306
for (var i=0, n; (i<n$.length) && (n=n$[i]); i++) {
307
var val = template[n];
308
var pd = Object.getOwnPropertyDescriptor(proto, n);
0 commit comments