Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
daffinm committed Apr 4, 2020
2 parents bf0c358 + 265b4a6 commit 083aa85
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
12 changes: 5 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
# PWA Utils
Project for some reusable bits and pieces for PWAs. Experimental.
* CDN https://cdn.jsdelivr.net/gh/daffinm/pwa-utils@latest/

# Test Service Worker Update Flow
Project for exploring and documenting how to get the service worker update flow working perfectly, and for developing
other reusable bits and pieces for PWAs.
The main thing I am starting with is exploring and documenting how to get the service worker update flow working perfectly (or well enough).

Comments and improvements welcome.

CDN link: https://cdn.jsdelivr.net/gh/daffinm/pwa-utils/

I am in no way an expert in any of this. Just an old-fashioned java programmer trying to make sense of all this so I can
feel confident that my apps will work well and I can stop thinking about it.

## Purpose of this project

* I want to get to the bottom of the whole service worker update flow in a simplified test space.
Expand Down
2 changes: 1 addition & 1 deletion js/sw-client.js
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ function SimpleUI(debug) {
this.reload();
};
this.confirmUpdateWithUser = function (callback) {
if (confirm(`Update available!\n\nAn update is available for this simpleUI.\n\nUse it now?`)) {
if (confirm(`Update available!\n\nAn update is available for this app.\n\nUse it now?`)) {
callback(true);
}
else {
Expand Down

0 comments on commit 083aa85

Please sign in to comment.