I try to follow doc on
https://github.com/LLK/scratch-storage
After Installation session
npm install https://github.com/LLK/scratch-storage.git
it is
Using scratch-storage
From HTML
<script src="scratch-storage/dist/web/scratch-storage.js"></script>
<script>
var storage = new Scratch.Storage();
// continue to "Storage API Quick Start" section below
</script>
How to apply save function to scratch? How they get to know each other?
May I ask where shoud I put those code to? Is there more detailed docs that I can refer to?
Thanks
I try to follow doc on
https://github.com/LLK/scratch-storage
After Installation session
npm install https://github.com/LLK/scratch-storage.git
it is
<script src="scratch-storage/dist/web/scratch-storage.js"></script> <script> var storage = new Scratch.Storage(); // continue to "Storage API Quick Start" section below </script>Using scratch-storage
From HTML
How to apply save function to scratch? How they get to know each other?
May I ask where shoud I put those code to? Is there more detailed docs that I can refer to?
Thanks