Skip to content

Commit

Permalink
added '}'
Browse files Browse the repository at this point in the history
  • Loading branch information
Erwin Poeze committed Sep 14, 2012
1 parent b5a35d9 commit 7898949
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/guide.jade
Expand Up @@ -112,7 +112,7 @@ block content
|:
:js
animalSchema.statics.findByName = function (name, cb) {
this.find({ name: new RegExp(name, 'i'), cb);
this.find({ name: new RegExp(name, 'i') }, cb);
}

var Animal = mongoose.model('Animal', animalSchema);
Expand Down

0 comments on commit 7898949

Please sign in to comment.