Skip to content

Commit

Permalink
fix(templates): uncaught Promise error when shimming HTMLTemplateElement
Browse files Browse the repository at this point in the history
  • Loading branch information
hotforfeature committed Aug 17, 2017
1 parent 8636719 commit b7a6851
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion origami/src/templates/polymer-template.directive.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ function shimHTMLTemplateAppend() {
if (typeof HTMLTemplateElement !== 'undefined') {
shimHTMLTemplateAppend();
} else {
webcomponentsReady(true).then(shimHTMLTemplateAppend);
webcomponentsReady(true).then(shimHTMLTemplateAppend).catch(() => { /* noop */ });
}

/* istanbul ignore next */
Expand Down

0 comments on commit b7a6851

Please sign in to comment.