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

bem-xjst 8.x support: js() to addJs() #2050

Merged
merged 1 commit into from
Jun 2, 2017
Merged

bem-xjst 8.x support: js() to addJs() #2050

merged 1 commit into from
Jun 2, 2017

Conversation

miripiruni
Copy link
Contributor

@miripiruni miripiruni commented Jun 2, 2017

In addition to #2010
Closes #2049

Copy link
Member

@belozer belozer left a comment

Choose a reason for hiding this comment

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

Есть вопрос

@@ -1,5 +1,5 @@
block('select').mod('mode', 'check')(
js()(function() {
addJs()(function() {
return this.extend(applyNext(), { text : this.ctx.text });
Copy link
Member

@belozer belozer Jun 2, 2017

Choose a reason for hiding this comment

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

@miripiruni а здесь (и в других местах PR) не должно быть так?

addJs()(function() {
    return { text : this.ctx.text }
}),

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@belozer абсолютно точно должно быть.

@miripiruni
Copy link
Contributor Author

Updated

@tadatuta tadatuta changed the title bem-xjst 8.x support: js() to addJs() rewrived bem-xjst 8.x support: js() to addJs() Jun 2, 2017
@tadatuta tadatuta merged commit d600f24 into v6 Jun 2, 2017
@tadatuta tadatuta deleted the bem-xjst-8x-support branch June 2, 2017 14:25
@tadatuta tadatuta removed the ready label Jun 2, 2017
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.

None yet

3 participants