rebuilt tests using tape, prova.

This commit is contained in:
Dylan Greene
2014-12-19 12:56:24 -05:00
parent 95de8eb395
commit d0935730b8
17 changed files with 597 additions and 495 deletions

View File

@@ -59,10 +59,11 @@ feed.item(itemOptions);
#### Feed XML
```js
var xml = feed.xml(indent);
var xml = feed.xml({indent: true});
```
This returns the XML as a string.
`indent` _optional_ **string** What to use as a tab. Defaults to no tabs (compressed).
For example you can use `'\t'` for tab character, or `' '` for two-space tabs.
`indent` _optional_ **boolean or string** What to use as a tab. Defaults to no tabs (compressed).
For example you can use `'\t'` for tab character, or `' '` for two-space tabs. If you set it to
`true` it will use four spaces.