From 29682be02ee2c8b34c8da68a3c9167ea2a8f1d02 Mon Sep 17 00:00:00 2001 From: Gianluca Guarini Date: Sat, 19 Nov 2016 15:14:35 +0100 Subject: [PATCH] updated: other doc files --- README.md | 3 --- doc/README.md | 3 +-- doc/guide.md | 2 +- 3 files changed, 2 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 13f8a6a..5dd9696 100644 --- a/README.md +++ b/README.md @@ -21,9 +21,6 @@ _Please note: the documentation is a work in progress. Contributions are welcome #### For babel users -Due to changes in the babel API, from our v2.3.0 we are separating the babel support in the following types: - -* es6 - For `babel` and `babel-core` v5.8.x and below * babel - For `babel-core` v6.x - You must `npm install babel-preset-es2015-riot` too, for this to work. ### Known Issues diff --git a/doc/README.md b/doc/README.md index 3577faf..0df24b3 100644 --- a/doc/README.md +++ b/doc/README.md @@ -157,8 +157,7 @@ The predefined parsers are: - `none` or `javascript` - `livescript` - `typescript` -- `es6` - (using `babel-core` or `babel`) -- `babel` - (using `babel-core` v6.x and the `es2015` preset) +- `es6` - (using `babel-core` v6.x and the `es2015` preset) - `buble` - `coffee` or `coffeescript` diff --git a/doc/guide.md b/doc/guide.md index b43b728..0b02af1 100644 --- a/doc/guide.md +++ b/doc/guide.md @@ -174,7 +174,7 @@ The `compile` and `riot.compile` functions can take an additional parameter spec | compact | html | boolean | Remove spaces between tags (minify `

` to `

`) | whitespace | html | boolean | Preserve newlines and tabs. newlines are normalized anyway | template | html | string | HTML pre-processor. Built-in support for: jade -| type | js | string | JavaScript pre-processor. Built-in support for: es6, babel, buble, coffeescript, typescript, livescript, none (no preprocess) +| type | js | string | JavaScript pre-processor. Built-in support for: es6, buble, coffeescript, typescript, livescript, none (no preprocess) | style | css | string | CSS pre-processor. Built-in support for: sass, scss, less, stylus (only less in browsers) | entities | compile | boolean | Split the tag in its raw parts. | exclude | compile | array | This is an array of strings with part names to exclude. These names are the same as those generated by the `entities` option: html, css, attribs, js. Ej. `{exclude: ['js']}`