File tree Expand file tree Collapse file tree 3 files changed +15
-3
lines changed
view/frontend/templates/hyva/sw Expand file tree Collapse file tree 3 files changed +15
-3
lines changed Original file line number Diff line number Diff line change 1+ /.idea /
2+ /node_modules
3+ /* . *
4+ ! /.gitignore
5+ ! /CHANGELOG.md
6+ ! /composer.json
7+ ! /LICENSE.md
8+ ! /README.md
9+ ! /composer.json
10+ ! /registration.php
Original file line number Diff line number Diff line change 22<!-- Refer to: https://keepachangelog.com/en/1.0.0/ -->
33## [ Unreleased]
44
5+ ## [ 1.0.2] - 2021-07-12
6+ ### Fixed
7+ - invalid javascript in hyva unregister sw script
8+
59## [ 1.0.1] - 2021-07-07
610### Fixed
711- manifest.json dimensions for the maskable icon
Original file line number Diff line number Diff line change @@ -14,9 +14,7 @@ $viewModel = $block->getViewModel();
1414 if (navigator.serviceWorker) {
1515 navigator.serviceWorker.getRegistrations().then(
1616 function (registrations) {
17- _.each(registrations, function (registration) {
18- registration.unregister();
19- });
17+ registrations.forEach(registration => registration.unregister());
2018 }
2119 );
2220 }
You can’t perform that action at this time.
0 commit comments