Skip to content
This repository has been archived by the owner on Mar 25, 2018. It is now read-only.

feat: add option.exportName #98

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

birhoff
Copy link
Contributor

@birhoff birhoff commented Feb 22, 2017

No description provided.

index.js Outdated
if (file.isStream()) {
return callback(new PluginError(pluginName, 'Streaming not supported'));
if (options.extension) {
deprecate('options.extension: is deprecated. Please use `options.generator.extension` instead.');
Copy link
Member

Choose a reason for hiding this comment

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

двоеточие не нужно

* *String* **extension** — extension for file. Default — `.${engine}.js`.
* *Object* **engine** — XJST [options](https://github.com/bem/bem-xjst/blob/master/docs/en/3-api.md#settings).
Copy link
Member

@qfox qfox Feb 22, 2017

Choose a reason for hiding this comment

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

Могу ошибаться, но @miripiruni это выпиливал (или exportName)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Не понял вопроса, судя по доке опции работают

Copy link
Collaborator

@miripiruni miripiruni Mar 6, 2017

Choose a reason for hiding this comment

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

Опции engine больше нет. Есть только exportName.

Copy link
Member

@qfox qfox Mar 6, 2017

Choose a reason for hiding this comment

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

В общем, коммент надо унести к exportName, а это зарезать.
Только не забыть про старые версии

@birhoff birhoff force-pushed the birhoff.feat.#55.add_export_name branch from 2299508 to 91e4175 Compare February 22, 2017 23:30
@birhoff birhoff force-pushed the birhoff.feat.#55.add_export_name branch from 91e4175 to 81fc86b Compare February 22, 2017 23:30
@birhoff
Copy link
Contributor Author

birhoff commented Feb 23, 2017

🆙 Merge with @zxqfox

Guys if you change codestyle in project. Please do this things:

  • configure eslint for your codestyle
  • change codestyle in all package

@tadatuta
Copy link
Member

tadatuta commented Mar 6, 2017

@miripiruni is in progress with connected issue bem/bem-xjst#375

I think we should wait for him here.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants