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
//Must include lawnchair core and adapter chosen ("dom" here), download them from: https://github.com/brianleroux/lawnchair | |
// <script src="Lawnchair.js"></script> | |
// <script src="dom.js"></script> | |
// create a new store | |
var store = new Lawnchair({adaptor:'dom', table:'people'}); | |
// saving documents | |
store.save({name:'brian'}); |