coresmart / persistencejs

persistence.js is an asynchronous Javascript database mapper library. You can use it in the browser, as well on the server (and you can share data models between them).
http://persistencejs.org
1.73k stars 240 forks source link

Support for AMD (asynchrounous module definitions) #103

Open redhog opened 11 years ago

redhog commented 11 years ago

Support for AMD (e.g. http://requirejs.org/docs/whyamd.html) compatible JS loaders like requirejs and dojo.

Note: This is an initial attempt to add support, and support has only been added for some stores: sqlite, sqlite3, mysql and memory. Neither has support been added to any of the add-on modules like sync or migrations.