tabs in README

This commit is contained in:
Mark Cavage 2011-11-10 10:15:26 -08:00
parent ed9c020fb8
commit c9b10ce420
1 changed files with 4 additions and 4 deletions

View File

@ -11,10 +11,10 @@ For full docs, head on over to <http://ldapjs.org>.
server.search('dc=example', function(req, res, next) { server.search('dc=example', function(req, res, next) {
var obj = { var obj = {
dn: req.dn.toString(), dn: req.dn.toString(),
attributes: { attributes: {
objectclass: ['organization', 'top'], objectclass: ['organization', 'top'],
o: 'example' o: 'example'
} }
}; };
if (req.filter.matches(obj.attributes)) if (req.filter.matches(obj.attributes))