enb / enb-bemxjst

bem-xjst support for ENB

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support `*.js` suffix

blond opened this issue · comments

The libraries may be two sets of templates:

old syntax

  • i-bem.bemhtml — base templates in xjst
  • block.bemhtml — source template in old syntax

JS syntax

  • i-bem.bemhtml.js — base templates in bem-xjst
  • block.bemhtml.js — source template in JS syntax

Import: templates with bemhtml suffix should be used only if templates with bemhtml.js suffix are missing for its BEM-entity (block, elem or mod).