mirror of
https://github.com/LightAir/turbo-rss.git
synced 2026-02-04 03:56:19 +00:00
rebuilt tests using tape, prova.
This commit is contained in:
10
readme.md
10
readme.md
@@ -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._
|
||||
|
||||
|
||||
Reference in New Issue
Block a user