This is the Meteor "todos" example modified to use offline data.
$ git clone git://github.com/awwx/meteor-offline-todos.git
$ cd meteor-offline-todos
$ mrt install
$ meteor
-
In server/publish.js, publish all "todos" so that the todos for all lists are available when offline.
-
Use
new Offline.Collection
instead ofnew Meteor.Collection
. -
Subscribe to all todos.