Skip to content

Commit

Permalink
disabled pwa service worker in an attempt to address reporterd Chrome…
Browse files Browse the repository at this point in the history
… v129 memory issue
  • Loading branch information
jmoenig committed Sep 19, 2024
1 parent bd8ed59 commit dc66de3
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 4 deletions.
8 changes: 8 additions & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@

## in development:

## 10.0.11:
* **Notable Changes:**
* disabled pwa service worker in an attempt to address reporterd Chrome v129 memory issue

### 2024-09-19
* disabled pwa service worker in an attempt to address reporterd Chrome v129 memory issue
* prepared v10.0.11 patch

## 10.0.10:
* **Notable Fixes:**
* fixed bounding box bug in paint editor by reverting @SArpnt's optimization PR
Expand Down
4 changes: 3 additions & 1 deletion snap.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<script src="src/threads.js?version=2024-09-16"></script>
<script src="src/objects.js?version=2024-09-17"></script>
<script src="src/scenes.js?version=2024-05-28"></script>
<script src="src/gui.js?version=2024-09-17"></script>
<script src="src/gui.js?version=2024-09-19"></script>
<script src="src/paint.js?version=2023-05-24"></script>
<script src="src/lists.js?version=2024-04-08"></script>
<script src="src/byob.js?version=2024-09-13"></script>
Expand Down Expand Up @@ -55,9 +55,11 @@
);
};

/*
if ('serviceWorker' in navigator) {
navigator.serviceWorker.register('sw.js');
}
*/
world = new WorldMorph(document.getElementById('world'));
new IDE_Morph().openIn(world);
requestAnimationFrame(loop);
Expand Down
4 changes: 2 additions & 2 deletions src/gui.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,11 +87,11 @@ BlockVisibilityDialogMorph, ThreadManager, isString, SnapExtensions, snapEquals

// Global stuff ////////////////////////////////////////////////////////

modules.gui = '2024-September-17';
modules.gui = '2024-September-19';

// Declarations

var SnapVersion = '10.0.10';
var SnapVersion = '10.0.11';

var IDE_Morph;
var ProjectDialogMorph;
Expand Down
2 changes: 1 addition & 1 deletion sw.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
var snapVersion = '10.0.10',
var snapVersion = '10.0.11', // currently unused
cacheName = `snap-pwa-${snapVersion}`,
filesToCache = [
'snap.html',
Expand Down

0 comments on commit dc66de3

Please sign in to comment.