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

Safe lazyInit for declMod #1584

Open
wants to merge 1 commit into
base: v4
Choose a base branch
from
Open

Safe lazyInit for declMod #1584

wants to merge 1 commit into from

Conversation

belozer
Copy link
Member

@belozer belozer commented Jun 23, 2018

resolve #1583

@coveralls
Copy link

coveralls commented Jun 23, 2018

Coverage Status

Coverage increased (+0.4%) to 63.399% when pulling 18487b0 on belozer:issues/1583@v4 into 9ab08cc on bem:v4.

@belozer belozer force-pushed the issues/1583@v4 branch 4 times, most recently from e02661e to 05f66af Compare June 23, 2018 10:15
@belozer belozer changed the title WIP Safe lazyInit decls Safe lazyInit decls Jun 23, 2018
@belozer belozer changed the title Safe lazyInit decls [wip] Safe lazyInit decls Jun 23, 2018
@belozer belozer changed the title [wip] Safe lazyInit decls Safe lazyInit decls Jun 23, 2018
@belozer belozer changed the title Safe lazyInit decls Safe lazyInit for declMod Jun 26, 2018
* @returns {?Boolean}
*/
function processLazyInitRule(entity, mod, lazyInit) {
var rules = entity._lazyInitRules;
Copy link
Member Author

@belozer belozer Jul 26, 2018

Choose a reason for hiding this comment

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

В переменной нет смысла вообще. Нужно выбросить.

* @param {Function} entity BemDomEntity
* @param {Object} mod mod declaration
* @param {Boolean} lazyInit lazyInit behavior
* @returns {?Boolean}
Copy link
Member Author

Choose a reason for hiding this comment

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

Ничего не возвращает. Походу опечатка.

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.

Safe lazyInit on mods from js tech
2 participants