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

tech: js tech: bemhtml deps bug #294

Open
HDevel opened this issue Feb 16, 2018 · 2 comments
Open

tech: js tech: bemhtml deps bug #294

HDevel opened this issue Feb 16, 2018 · 2 comments

Comments

@HDevel
Copy link

HDevel commented Feb 16, 2018

if i try to deps some elem of another block like that:

{
    tech: 'js',
    mustDeps: [
        {
            block: 'some-block',
            elem: 'some-elem',
            tech: 'bemhtml'
        }
    ]
}

in common file i see block itself and elem, but i expect to see just elem

@qfox
Copy link
Contributor

qfox commented Feb 23, 2018

Just to clarify some hidden things:

{
    tech: 'js',
    mustDeps: [
        {
            block: 'some-block',
            elem: 'some-elem',
            tech: 'bemhtml'
        }
    ]
}

means block-from-context.js requires some-block__some-elem.bemhtml

Both of them should be in the result but not block-from-context.bemhtml.

Probably in branch 3.0.0-0 it's fixed but it's alpha and still not tested properly.

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

No branches or pull requests

3 participants