Skip to content

Commit

Permalink
fixed documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Julian Kingman committed Apr 28, 2017
1 parent c345d3d commit 16b4a99
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@ export createContainer((props) => {
const sub = GroundedMeteor.subscribe('getUsersById', 'users/id', {userIds: [...]}, () => {
console.log('callback');
});
// MeteorOffline.collection works as normal, but behind the scenes synchronizes your collection
// MeteorOffline.collection works as normal, but we pass the unique subscription name so that behind the scenes it will synchronize your collection
return {
docs: GroundedMeteor.collection('docs').find({}),
docs: GroundedMeteor.collection('docs', 'getUsersById').find({}),
};
}, component)
````
Expand Down

0 comments on commit 16b4a99

Please sign in to comment.