Closed 1999 closed 9 years ago
now there's a way to manage priority by order (and one can use {must,should}Deps
for that).
but with this patch there won't be any possibility to make block templates of more priority then it's modifiers. sure it's hard to find such real life examples but still now developer has control and afterward he won't have.
I'm pretty sure that [any] template engine (in fact, any library) must not depend on any other technology, such as deps from BEM. It should be a simple thing and work as expected without using any other libraries unless this is announced.
@1999 Then swap your matchers as I showed in #140. It's a talk about nothing.
@1999 This change breaks the habitual behavior and can break a lot of existing code.
What problems are solved this PR? Could you give real examples?
@blond https://github.com/bem/bh/issues/140#issue-67565390 @mishanga said once that bh.match() order should not affect result HTML. This is wrong now, and PR is about to fix this behaviour.
Отписался в issue.
fixes #140