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

deps-by-tech: incorrect result for boolean mods #192

Closed
blond opened this issue Jan 22, 2016 · 0 comments
Closed

deps-by-tech: incorrect result for boolean mods #192

blond opened this issue Jan 22, 2016 · 0 comments
Assignees
Labels
Milestone

Comments

@blond
Copy link
Member

blond commented Jan 22, 2016

The deps-by-tech-to-bemdecl tech does not add true value in result.

({
    tech: 'js',
    shouldDeps: {
        block: 'block',
        mod: 'mod-name',
        tech: 'bemhtml',
    }
})

Actual:

exports.blocks = [{
    name: 'button',
    mods: [{
        name: 'mod-name'
    }]
}];

Expected:

exports.blocks = [
    name: 'button',
    mods: [{
        name: 'mod-name',
        vals: [{ name: true }] 
    }]
}];
@blond blond added the bug label Jan 22, 2016
@blond blond self-assigned this Jan 22, 2016
@blond blond added this to the 2.1.1 milestone Jan 22, 2016
@blond blond removed the in progress label Jan 22, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant