remove tabs from markdown

This commit is contained in:
Mark Cavage 2011-08-24 21:59:57 -07:00
parent facf477fe8
commit 83473c9a53
3 changed files with 19 additions and 19 deletions

View File

@ -204,12 +204,12 @@ the filters in the `filters` array.
filters: [
new EqualityFilter({
attribute: 'cn',
value: 'foo'
value: 'foo'
}),
new EqualityFilter({
new EqualityFilter({
attribute: 'sn',
value: 'bar'
})
value: 'bar'
})
]
});
@ -234,12 +234,12 @@ of the filters in the `filters` array.
filters: [
new EqualityFilter({
attribute: 'cn',
value: 'foo'
value: 'foo'
}),
new EqualityFilter({
new EqualityFilter({
attribute: 'sn',
value: 'bar'
})
value: 'bar'
})
]
});
@ -263,7 +263,7 @@ the filter in the `filter` property.
var f = new NotFilter({
filter: new EqualityFilter({
attribute: 'cn',
value: 'foo'
value: 'foo'
})
});

View File

@ -24,10 +24,10 @@ with HTTP services in node and [express](http://expressjs.com).
server.search('o=example', function(req, res, next) {
var obj = {
dn: req.dn.toString(),
attributes: {
objectclass: ['organization', 'top'],
o: 'example'
}
attributes: {
objectclass: ['organization', 'top'],
o: 'example'
}
};
if (req.filter.matches(obj.attributes))

View File

@ -267,7 +267,7 @@ like:
attributes: {
cn: ['foo'],
sn: ['bar'],
objectclass: ['person', 'top']
objectclass: ['person', 'top']
}
}
@ -345,10 +345,10 @@ JavaScript object that matches the format used from `AddRequest.toObject()`.
server.search('o=example', function(req, res, next) {
var obj = {
dn: 'o=example',
attributes: {
objectclass: ['top', 'organization'],
o: ['example']
}
attributes: {
objectclass: ['top', 'organization'],
o: ['example']
}
};
if (req.filter.matches(obj))
@ -366,7 +366,7 @@ Allows you to handle an LDAP modify operation.
console.log('changes:');
req.changes.forEach(function(c) {
console.log(' operation: ' + c.operation);
console.log(' modification: ' + c.modification.toString());
console.log(' modification: ' + c.modification.toString());
});
res.end();
});