I try to use adapters in Lawnchair and run into a problem. There are several adapter scripts in my code:
<script src="scripts/Lawnchair.js"></script> <script src="scripts/dom.js"></script> <script src="scripts/webkit-sqlite.js"></script>
But when I specify the adapter in my Lawnchair constructor, I get the following error:
Uncaught TypeError: Cannot call method 'valid' of undefined
Here is the code I'm using.
var beers = Lawnchair({name:'beers',adapter:'webkit-sqlite'},function(e){ });
How to configure adapters in Lawnchair?
source share