Skip to content

Commit

Permalink
Merge pull request #114 from RDjarbeng/versionupdate
Browse files Browse the repository at this point in the history
v2.4.1 version update
nyakotey authored May 26, 2022
2 parents 7579ed7 + 35e5694 commit 116daac
Showing 5 changed files with 20 additions and 12 deletions.
18 changes: 9 additions & 9 deletions app.js
Original file line number Diff line number Diff line change
@@ -298,14 +298,14 @@ addWhatappEventHandler();

// service worker

// if('serviceWorker' in navigator){
// window.addEventListener('load', () => {
// navigator.serviceWorker.register('/sw.js')
// .then( (reg)=>{
// console.log('service worker registered', reg)
// })
// .catch((err)=> console.log('Service worker not registered', err));
// });
if('serviceWorker' in navigator){
window.addEventListener('load', () => {
navigator.serviceWorker.register('/sw.js')
.then( (reg)=>{
console.log('service worker registered', reg)
})
.catch((err)=> console.log('Service worker not registered', err));
});

// }
}

4 changes: 4 additions & 0 deletions docs/dev-process.md
Original file line number Diff line number Diff line change
@@ -154,6 +154,10 @@ Not all elements made it into the final product, some others also got modified,
![v2 4@0,5x](https://user-images.githubusercontent.com/73431750/170242064-43aa6765-229c-43e8-a6e7-ed39e7de3ee0.png)


## Countdown v2.4.1
* fix sidebar option text going under the icon


### Potential and/or current developments
* listpage as the homepage with onboarding
* ui for elapsed countdown and clickless countdown updating
2 changes: 1 addition & 1 deletion html/about.html
Original file line number Diff line number Diff line change
@@ -89,7 +89,7 @@
</div>
<div class="details">
<div class="details-title">Version</div>
<div class="details-info">2.4.0</div>
<div class="details-info">2.4.1</div>
</div>
<div class="details">
<div class="details-title">Credits</div>
4 changes: 4 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
@@ -104,6 +104,10 @@ Added contributor [Nathaniel Nyakotey](https://github.com/nyakotey)
![v2 4@0,5x](https://user-images.githubusercontent.com/73431750/170242064-43aa6765-229c-43e8-a6e7-ed39e7de3ee0.png)


## Countdown v2.4.1
* fix sidebar option text going under the icon


---
#### Many more to come, stay tuned!
For more details, and live updates, checkout the [dev process](/docs/dev-process.md) readme
4 changes: 2 additions & 2 deletions sw.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// #5

const staticCacheName = 'site-static-v54';
const dynamicCache = 'site-dynamic-v54';
const staticCacheName = 'site-static-v55';
const dynamicCache = 'site-dynamic-v55';

const dynamicCacheSize = 30;

0 comments on commit 116daac

Please sign in to comment.