bem / bem-bl

Base BEM library
http://bem.github.com/bem-bl/
197 stars 83 forks source link

tag mode for elemMod predicate does not work #278

Closed arikon closed 12 years ago

arikon commented 12 years ago

http://clubs.ya.ru/bem/replies.xml?item_no=1604

veged commented 12 years ago

Won't fix.

Modifiers for elements must be described as elemMods key in BEMJSON:

{
  block: 'b-block',
  content: {
    elem: 'item',
    elemMods: { key: 'value' },
    content: 'text'
  }
}

More details in club comments: http://clubs.ya.ru/bem/replies.xml?parent_id=1619&item_no=1604&with_parent=1#reply-bem-1619