Skip to content

Commit

Permalink
Merge pull request #42 from andreasanheuser/andreasanheuser-patch-1
Browse files Browse the repository at this point in the history
Fix closure compilation issue
  • Loading branch information
notwaldorf authored Jan 9, 2017
2 parents 1814447 + 8a6684f commit c464418
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test-fixture.html
Original file line number Diff line number Diff line change
Expand Up @@ -294,8 +294,8 @@
// Immediately upgrade the subtree if we are dealing with async
// Web Components polyfill.
// https://github.com/Polymer/polymer/blob/0.8-preview/src/features/mini/template.html#L52
if (window.CustomElements && CustomElements.upgradeSubtree) {
CustomElements.upgradeSubtree(stamped);
if (window.CustomElements && window.CustomElements.upgradeSubtree) {
window.CustomElements.upgradeSubtree(stamped);
}
}

Expand Down

0 comments on commit c464418

Please sign in to comment.