mirror of
https://github.com/DeNNiiInc/Connect-5.git
synced 2026-10-13 07:11:29 +11:00
FEATURE: Migrate username storage from localStorage to IndexedDB
- Created storage.js wrapper with IndexedDB support - Automatic fallback to localStorage if IndexedDB unavailable - Updated all username storage calls to use async API - Better performance and more storage capacity - Improved PWA compatibility Benefits: - 50MB+ storage vs 5-10MB localStorage - Async API doesn't block main thread - Better for future features (game history, stats, etc.)
This commit is contained in:
1 parent
bc76e7aab1
commit
bcf3b0a032
3 files changed
+149
-10
No files matched your search
@@ -182,6 +182,7 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script src="storage.js"></script>
|
||||
<script src="multiplayer.js"></script>
|
||||
<script src="game.js"></script>
|
||||
<script>
|
||||
|
||||
Reference in new issue
Block a user