Skip to content
This repository has been archived by the owner on Jul 25, 2023. It is now read-only.

Commit

Permalink
Merge pull request #6 from meanbee/4-extension-support
Browse files Browse the repository at this point in the history
Allow extending the service worker template
  • Loading branch information
tgerulaitis authored Jun 20, 2017
2 parents 62ff873 + 6450db1 commit f31e748
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/view/frontend/templates/serviceworker.js.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -81,3 +81,10 @@ wbsw.router.setDefaultHandler({
}
},
});

<?php if ($childHtml = $block->getChildHtml()): ?>
// Extensions
// #####################################

<?php echo $childHtml ?>
<?php endif; ?>

0 comments on commit f31e748

Please sign in to comment.