Skip to content

Commit

Permalink
Add comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
Steven Orvell committed Feb 6, 2017
1 parent 62e9b84 commit a42cb20
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/lib/annotations/annotations.html
Expand Up @@ -369,10 +369,13 @@
if (node.localName === 'input' && origName === 'value') {
node.setAttribute(origName, '');
}
// Remove annotation
// Support `disable-upgrade` feature by maintaining this
// attribute so that it can be found on an element at
// `createdCallback` time.
if (disableUpgradeEnabled && origName === 'disable-upgrade$') {
node.setAttribute(name, '');
}
// Remove annotation
node.removeAttribute(origName);
// Case hackery: attributes are lower-case, but bind targets
// (properties) are case sensitive. Gambit is to map dash-case to
Expand Down

0 comments on commit a42cb20

Please sign in to comment.