Skip to content

Commit

Permalink
Make compatible with latest Backbone (#28, @pjackowski)
Browse files Browse the repository at this point in the history
  • Loading branch information
rstacruz committed Dec 28, 2015
1 parent 3b85d36 commit 7e4878e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/bootstrapping-data.md
Expand Up @@ -40,7 +40,7 @@ var photo = App.photos.get(2);

// Gets a bunch of photos based on criteria
var photo = App.photos.select(function(photo) {
return photo.filename.match(/^IMG/);
return photo.get('filename').match(/^IMG/);
});
```

Expand Down

0 comments on commit 7e4878e

Please sign in to comment.