From 0573d483c4069ff3999f2271fa6ad177cd714f68 Mon Sep 17 00:00:00 2001 From: Tim van der Lippe Date: Wed, 7 Mar 2018 12:30:06 +0100 Subject: [PATCH] [ci skip] Add clarifying comment --- lib/mixins/property-effects.html | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/mixins/property-effects.html b/lib/mixins/property-effects.html index cdcf0ed32a..2679b593c3 100644 --- a/lib/mixins/property-effects.html +++ b/lib/mixins/property-effects.html @@ -2533,6 +2533,9 @@ // Attribute or property let origName = name; let kind = 'property'; + // The only way we see a capital letter here is if the attr has + // a capital letter in it per spec. In this case, to make sure + // this binding works, we go ahead and make the binding to the attribute. if (capitalAttributeRegex.test(name)) { kind = 'attribute'; } else if (name[name.length-1] == '$') {