Skip to content

Commit

Permalink
Remove unnecessary literal check
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinpschaaf committed Feb 21, 2019
1 parent 11bdc39 commit bf05e38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/utils/templatize.js
Original file line number Diff line number Diff line change
Expand Up @@ -579,7 +579,7 @@ function warnOnUndeclaredProperties(templateInfo, options, methodHost) {
const effects = propertyEffects[prop];
for (let i=0; i<effects.length; i++) {
const {part} = effects[i].info;
if (!part.literal && !(part.signature && part.signature.static)) {
if (!(part.signature && part.signature.static)) {
console.warn(`Property '${prop}' used in template but not ` +
`declared in 'properties'; attribute will not be observed.`);
break;
Expand Down

0 comments on commit bf05e38

Please sign in to comment.