bem / bh

BH template engine
http://bem.github.io/bh/
MIT License
68 stars 31 forks source link

how apply mod from bemjson? #118

Closed pavelpower closed 9 years ago

pavelpower commented 9 years ago

bemjson:

{ block: 'b-info', mod: 'right-top' }

Not worked!

How i can apply mod without value

blond commented 9 years ago

You should use value true for boolean mod.

{ block: 'b-info', mods: { 'right-top': true } }
pavelpower commented 9 years ago

OPPA