bem / bem-xjst

bem-xjst (eXtensible JavaScript Templates): declarative template engine for the browser and server
https://bem.github.io/bem-xjst
Other
116 stars 48 forks source link

Make prod mode compilation fail when it'd fail in dev mode #9

Closed tadatuta closed 10 years ago

tadatuta commented 10 years ago

Now in production mode it's possible not to wrap templates body into js function. But it fails in dev mode. It'd be great to make it consistent so compilation in production mode should fail as well.

// cc @veged

indutny commented 10 years ago

Fixed in bem-xjst@0.6.0, thank you!