Hi,

I try to develop a podcatcher application which would work offline.
Being a complete noob in the UI design, I have welcomed very much an
opportunity to use pre-packaged layout with mortar template and I have
been pleasantly surprised how easily I could create pretty decently
looking interface.

However, when I tried to add some meat to the app, I hit a trouble area.
It seems to me that mortar templates, however nice they are, lack
terribly in documentation/examples department, and what’s even worse
they make whole setup sufficiently different from plain Backbone.js
apps, that some tutorials for Backbone.js don’t work.

Case in question: in
https://github.com/mcepl/elasmotherium/blob/master/www/js/app.js if I
uncomment line 66 (setting the collection for the x-listview view), I
don’t get items added later to the listview. There are no errors in the
console, but the x-listview stays blank.

Could anybody suggest a proper way how to bind a Backbone.js model
(especially using IndexedDB adapter) with the x-listview based view?

Thank you,

Matěj Cepl

-- 
http://www.ceplovi.cz/matej/, Jabber: mcepl<at>ceplovi.cz
GPG Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC
 
Always make new mistakes
   -- Esther Dyson

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
dev-webapps mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-webapps

Reply via email to