From 83473c9a53f9ff2164d0dfb2ff32c1815682c341 Mon Sep 17 00:00:00 2001 From: Mark Cavage Date: Wed, 24 Aug 2011 21:59:57 -0700 Subject: [PATCH] remove tabs from markdown --- docs/filters.md | 18 +++++++++--------- docs/index.md | 8 ++++---- docs/server.md | 12 ++++++------ 3 files changed, 19 insertions(+), 19 deletions(-) diff --git a/docs/filters.md b/docs/filters.md index 1389ec0..9fc1a6c 100644 --- a/docs/filters.md +++ b/docs/filters.md @@ -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' }) }); diff --git a/docs/index.md b/docs/index.md index e881198..bd18c4e 100644 --- a/docs/index.md +++ b/docs/index.md @@ -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)) diff --git a/docs/server.md b/docs/server.md index 9e13e4d..e88b751 100644 --- a/docs/server.md +++ b/docs/server.md @@ -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(); });