Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
wejendorp committed Sep 23, 2013
1 parent c5cbf57 commit d05692e
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 @@ -23,10 +23,10 @@ from cache on refresh, and new items will pop up when server responds to fetch.
var userCollection = require('usercollection');

var users = userCollection.fetch('active');
users.each(show);
users.each(show); // Show cached results

users.on('change', function() {
this.each(show);
this.each(show); // Show server results
});

var body = document.body;
Expand Down

0 comments on commit d05692e

Please sign in to comment.