4 ms·
Any idea what the examples are trying to store offline? And where in the code that is?
by voltagex_ 12y ago
Any idea what the examples are trying to store offline? And where in the code that is?
- TheDong 12y agoHere, let me do the equivilant of LMGTFY: https://github.com/bertfreudenberg/SqueakJS/search?utf8=%E2%9C%93&q=localstorage https://github.com/bertfreudenberg/SqueakJS/search?utf8=%E2%... Looks like it's storing settings, images, and files created by said images. Reminder that Squeak is a full VM and naturally has file-io abstractions which must be implemented.
- voltagex_ 12y agoRight, brainfart and I couldn't remember the name of that API. Thanks!
- bertfreudenberg 12y agoLarge data (file contents) is stored in IndexedDB, only settings and file meta data in localStorage.