Hey Matej, On Sat, Mar 16, 2013 at 8:55 PM, Matej Cepl <[email protected]> wrote: > On 2013-03-17, 00:40 GMT, Matěj Cepl wrote: >> Could anybody suggest a proper way how to bind a Backbone.js model >> (especially using IndexedDB adapter) with the x-listview based view?
The x-list-view tag provides a `collection` object that you need to use to add/remove items. The DOM will be reflected if you do so. It's up to you to hook up something like IndexedDB or use a library. As long as it adds items to the `collection` on a list-view, it should work. The x-view library is somewhat experimental, to be honest, so sorry it's not full documented & fleshed out. There is a good bit of documentation here: https://github.com/mozilla/mortar-layouts The line 66 you pointed to doesn't do anything with a collection, and when I check out your app I see items being rendered. Did you forget to commit something? - James _______________________________________________ dev-webapps mailing list [email protected] https://lists.mozilla.org/listinfo/dev-webapps
