Skip to content

Commit

Permalink
Merge pull request #255 from ZombieHippie/patch-1
Browse files Browse the repository at this point in the history
Fixed example's syntax error using double quotes
  • Loading branch information
indexzero committed Dec 8, 2014
2 parents 11c2cf2 + 2e97e8d commit 9c71372
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ Lets suppose that you have a design document that you've created:
db.save('_design/user', {
views: {
byUsername: {
map: 'function (doc) { if (doc.resource === 'User') { emit(doc.username, doc) } }'
map: 'function (doc) { if (doc.resource === "User") { emit(doc.username, doc) } }'
}
}
});
Expand Down

0 comments on commit 9c71372

Please sign in to comment.