5 ms·
SqueakJS – A Squeak VM in JavaScript
- voltagex_ 12y agoAny 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.
- dkarapetyan 12y agoAlso amber smalltalk: http://amber-lang.net/ http://amber-lang.net/
- scoopr 12y agoCool, one of the examples (etoys) crashed Safari (8.0.3) FTL JIT. :)
- bertfreudenberg 12y agoYep. I reported that a while ago, but it's not fixed yet: https://bugs.webkit.org/show_bug.cgi?id=136803 https://bugs.webkit.org/show_bug.cgi?id=136803
- sebastianconcpt 12y agoImpressive. Did you realize that after loading doesn't even need internet anymore?
- TazeTSchnitzel 12y agoFor Scratch in Firefox: UnknownError "Error opening database: undefined" vm.js:358 :( Edit: Also Etoys, sadly.
- bertfreudenberg 12y agoWorks for me in Firefox 34.0.5, default settings. Would be great if you could post instructions on how to reproduce at https://github.com/bertfreudenberg/SqueakJS/issues https://github.com/bertfreudenberg/SqueakJS/issues