Skip to content

Commit

Permalink
Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolasmafra committed Sep 18, 2024
1 parent fe8accb commit 3716f9e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion js/PWA.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import '../sw.js';
import 'sw.js';

let deferredPrompt;

Expand Down
2 changes: 1 addition & 1 deletion js/core/GameItem.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Permutation from '../core/Permutation.mjs'
import Permutation from 'core/Permutation.mjs'

export default class GameItem {

Expand Down
6 changes: 3 additions & 3 deletions js/core/LevelLoader.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ export default {
levels: {},

async configure() {
await this.fetch('w0', '../assets/levels-w0.json');
await this.fetch('w1', '../assets/levels-w1.json');
await this.fetch('wtest', '../assets/levels-wtest.json');
await this.fetch('w0', 'assets/levels-w0.json');
await this.fetch('w1', 'assets/levels-w1.json');
await this.fetch('wtest', 'assets/levels-wtest.json');
},

async fetch(world, worldPath) {
Expand Down

0 comments on commit 3716f9e

Please sign in to comment.