-
Notifications
You must be signed in to change notification settings - Fork 22
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
mustDeps from own modifier is impossible #148
Comments
BTW, ({
mustDeps: [
{ elems: ['e1'] }
]
}) works fine. |
@tadatuta I think this is not a bug, you have a circular |
I understand the idea but still I used to use such possibility with
m1.defaults.lang.ru = {/* ... */}; And then I can initiate an instance of Both of the cases are quite ugly but still they were possible when really needed. |
+1, I don't like an implicit deps from block. |
I asked @veged, he agrees that it's a bug |
@tadatuta Looks really like a bug. The question is whether you can fix it without breaking habitual behavior. |
This problem is also relevant for elem mods: ({
mustDeps: [
{
elem: 'e1', mods: { m1: 'v1' }
}
]
})
|
is bem-site/bem-forum-content-ru#182 relevant to this issue? |
@Guria, I think that this is another problem. |
Looks like it's impossible now to have
mustDeps
from own modifier:// cc @blond @incrop
The text was updated successfully, but these errors were encountered: