bem / bh

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

Remove eval from runtime #178

Open Yeti-or opened 8 years ago

Yeti-or commented 8 years ago

because CSP unsafe-eval is not so cool @zxqfox @mishanga

qfox commented 8 years ago

https://github.com/DevGroup-ru/bh-php/commit/6120f7270bb5ada9467de0c24141dd66f3728304 This is how it looks on php. we need to just port it.

Yeti-or commented 8 years ago

https://github.com/Yeti-or/bem-hazard/blob/public/common.blocks/bem/bem.js#L344-L410 my attempt for react ;)