Skip to content

Commit

Permalink
[ci skip] Add clarifying comment
Browse files Browse the repository at this point in the history
  • Loading branch information
TimvdLippe committed Mar 7, 2018
1 parent d45dd57 commit 0573d48
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/mixins/property-effects.html
Original file line number Diff line number Diff line change
Expand Up @@ -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] == '$') {
Expand Down

0 comments on commit 0573d48

Please sign in to comment.