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

@@ -70,13 +70,15 @@ 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.
### Example Usage
@@ -215,5 +217,5 @@ Released under the [MIT license](https://tldrlegal.com/license/mit-license).
Screenshots are [CC BY-SA](http://creativecommons.org/licenses/by-sa/4.0/) (Attribution-ShareAlike).
***
_Generated using [grunt-readme](https://github.com/assemble/grunt-readme) with [grunt-templates-dylang](https://github.com/dylang/grunt-templates-dylang) on Monday, December 8, 2014._
_Generated using [grunt-readme](https://github.com/assemble/grunt-readme) with [grunt-templates-dylang](https://github.com/dylang/grunt-templates-dylang) on Friday, December 19, 2014._