Skip to content
This repository was archived by the owner on Mar 25, 2018. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,14 @@ bem-xjst engines accesible via properties `bemhtml` and `bemtree`:
```
var engine = require('gulp-bem-xjst')[engine];
```
### engine([options])

### Plugin options
#### options

* *String* **exportName** — Engine handler's variable name. Default — `BEMHTML`.
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

exportName и engine используются в bem-xjst, однако не описаны там в доке. Кажется будет лучше отсюда их упоминания удалить, а в bem-xjst добавить. как думаете?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

exportName и engine используются в bem-xjst, однако не описаны там в доке.

Завел bem/bem-xjst#397

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Кажется будет лучше отсюда их упоминания удалить, а в bem-xjst добавить. как думаете?

Можно отсюда не удалять, я просто добавлю описание в доку bem-xjst

* *String* **engine** — Engine's name. Default — `BEMHTML`.
* *String* **extension** — extension for file. Default — `.${engine}.js`.
* For the rest options' entries see [bem-xjst docs](https://github.com/bem/bem-xjst/blob/master/docs/en/3-api.md#settings)

### License

Expand Down