Created
February 4, 2010 16:07
-
-
Save cmcavoy/294799 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Here's my import order (not sure if it matters): | |
<script src="./lib/Lawnchair.js"></script> | |
<script src="./lib/LawnchairAdaptorHelper.js"></script> | |
<script src="./lib/adaptors/DOMStorageAdaptor.js"></script> | |
And here's the output when I try it in Firebug on FF 3.6: | |
>>> var people = new Lawnchair('people'); | |
ReferenceError: WebkitSQLiteAdaptor is not defined { message="WebkitSQLiteAdaptor is not defined", more...} | |
When I add WebkitSQLiteAdaptor: | |
>>> var people = new Lawnchair('people'); | |
Lawnchair, "This browser does not support sqlite storage." | |
I get the same message when I try it on http://brianleroux.github.com/lawnchair/. | |
Thanks for your help, as an FYI, I decided the mini app I was working on would probably be best as a PhoneGap iPhone app, so I'm perfectly ok doing the development in Safari. That said, having local storage for cross browser apps would be great. I'm a Javascript novice, but am happy to help test. |
Got it, thanks. Works in Chrome.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes...it was an issue with the browser not supporting WebkitSQLiteAdaptor. I think I was using Firefox. It ended up working in Chrome. This was a while back, so your mileage may vary. Try a different browser...