Trouble implementing JS library (store.js)
Hi Tiggzi team,
Thanks for the help you've given me in trying to narrow down the best localStorage option for my Tiggzi apps. I now realize that SQLite is no longer a standard and that IndexedDB is not yet a standard. So adding a library to the localStorage API seems like the best plan for me for now. When chosing between lawnchair and store.js, I've gone with store.js for now.
I enjoyed the tutorial "getting started with html5 local storage." I'm now trying to implement this store.js library into the app I made for that tutorial, keeping the functionality but replacing the code.
My trouble is that we're not able to successfully implement this library in Tiggzi. When we do an outside of Tiggzi build the library works fine. But I am suspecting we're missing something about the Tiggzi syntax we should be doing. I tried playing with the codedsid/code attribute as you describe here. But I still must be missing something.
Can you help? You're free to poke around my app. It's called "tutorial - getting started with html5 local storage". You'll see the new buttons I added for the store.js library.
Here is the standard store.min.js library from github. All I did was move the comment to the bottom to make absolutely sure it would not conflict with the Tiggzi interpreter.