Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added htmlDiffer option #72

Merged
merged 1 commit into from
Feb 21, 2015
Merged

Added htmlDiffer option #72

merged 1 commit into from
Feb 21, 2015

Conversation

blond
Copy link
Member

@blond blond commented Feb 21, 2015

Resolved #54

@blond
Copy link
Member Author

blond commented Feb 21, 2015

/cc @zxqfox @eGavr

function Reporter(runner, diffOpts) {
diffOpts || (diffOpts = {});

diffOpts.preset || (diffOpts.preset = 'bem');
Copy link
Contributor

Choose a reason for hiding this comment

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

А зачем нам еще одна проверка, если мы уже получили опции и установили их.

Copy link
Contributor

Choose a reason for hiding this comment

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

Да, наверное, не стоит злоупотреблять ;-)

Copy link
Member Author

Choose a reason for hiding this comment

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

Репортер можно захотеть использовать как-то отдельно/сбоку. Поэтому он не должен расчитывать на то, что опции уже инициализированны.

Copy link
Contributor

Choose a reason for hiding this comment

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

Ну тут разработчику виднее ;)

@qfox
Copy link
Contributor

qfox commented Feb 21, 2015

Вроде, норм

@eGavr
Copy link
Contributor

eGavr commented Feb 21, 2015

👍

blond pushed a commit that referenced this pull request Feb 21, 2015
Added `htmlDiffer` option
@blond blond merged commit 73b7f82 into master Feb 21, 2015
@blond blond deleted the issue-54 branch February 21, 2015 15:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Pass ignoreComments: false to htmlDiffer
3 participants