Skip to content

Commit

Permalink
Upstream http://cl/374930792
Browse files Browse the repository at this point in the history
  • Loading branch information
bicknellr committed Apr 27, 2022
1 parent 8582dd6 commit 4a85c7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/mixins/template-stamp.js
Expand Up @@ -301,7 +301,7 @@ export const TemplateStamp = dedupingMixin(
templateInfo.nestedTemplate = Boolean(outerTemplateInfo);
templateInfo.stripWhiteSpace =
(outerTemplateInfo && outerTemplateInfo.stripWhiteSpace) ||
template.hasAttribute('strip-whitespace');
(template.hasAttribute && template.hasAttribute('strip-whitespace'));
// TODO(rictic): fix typing
this._parseTemplateContent(
template, templateInfo, /** @type {?} */ ({parent: null}));
Expand Down

0 comments on commit 4a85c7f

Please sign in to comment.