-
@indutny Please provide jsdoc for api methods
-
`bem-xjst` should handle `undefined` mixes as if there's just none. Otherwise templates fail here: https://github.com/bem/bem-xjst/blob/2.x/lib/bemhtml/runtime/index.js#L434 with `TypeError: Cannot re…
-
Add an option to merge BEMTREE-bundle with code of vow module.
blond updated
9 years ago
-
Hello.
Now I'm working on task https://github.com/enb-bem/enb-bemxjst/issues/60.
I have used this way for check the existence of base templates.
```
oninit(function(exports, context) {
if(!context…
-
Compiled production templates:
``` js
var BEMHTML = function() {
typeof exports === "undefined" || (exports.BEMHTML = BEMHTML);%
var $$mode, $$block, $$elem, $$elemMods, $$mods;
var cache,
…
-
`bem-xjst 2.x` with default templates results with `` for `undefined` or empty string as a BEMJSON but empty string expected.
-
see https://github.com/bem/bem-xjst/issues/32 for some of the templates that could be used.
-
Now any bug in templates with `bem-xjst 2.x` results with stack trace pointing to
``` js
var templates = code.toString().replace(/^function[^{]+{|}$/g, '');
templates = new Function(BEMHTML.locals.…
-
Очень хочется `bemhtml` собирать любым способом.
Например
```
var template = bem.compile([
require(‘./b1.bemhtml’),
require(‘./b2.bemhtml’),
require(‘./b3.bemhtml')
]);
template.apply…
-
Compiled in production mode template is
``` js
function __$b37(__$ctx, __$ref) {
console.log("this.block", $$block);
console.log("this.elem", $$elem);
console.log("this.mods", $$mods);
co…