I'm trying to use adapters in Lawnchair and running into an issue. I've got a couple of 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 an adapter in my Lawnchair constructor, I get the following error:
Uncaught TypeError: Cannot call method 'valid' of undefined
Here's the code I'm using.
var beers = Lawnchair({name:'beers',adapter:'webkit-sqlite'},function(e){
});
How does one go about setting up adapters in Lawnchair?