-
Здравствуйте! По шагу 7:
1) создание файла desktop.blocks/hello/hello.js c содержанием из статьи, по-моему, не дает эффекта. Наверное, нужно что-то еще?
2) верно ли в статье написано про файл desktop.…
-
By analogy with JS (`*.browser.js`, `*.node.js`, `*.vanilla.js`) we can make `*.browser.bemtree.xjst`, `*.node.bemtree.xjst`, `*.vanilla.bemtree.xjst`.
veged updated
8 years ago
-
This https://github.com/bem/bem-xjst/blob/master/test/modes-tag-test.js#L38-L44 should be reversed and backported to `v4` ASAP as it affects SERP.
cc @tavriaforever
-
Something like:
``` js
oninit(function(){
BEMContext.prototype.flushieFlushie = function(){
return _buf.splice(0).join('');
};
var _buf = [];
BEMContext.prototype._flush = function(chunk)…
-
#968
-
-
We need to describe BEMTREE #594 changes in documentation (PR #644).
It breaks backward compatibility, so we absolutely need to add this changes into `CHANGELOG.md`.
-
`wrap`, `once`, `replace`, `extend`
-
Work in progress: https://github.com/bem/bem-xjst/wiki/about (russian version first).
Main goals:
- Actual manual
- Throw away deprecated docs
- More clear examples.
Sources:
- https://github.com/b…
-
``` javascript
this.extend(ctx.js, js === true? {} : js)
```
It seems, that check for second argument is redundant, because:
``` javascript
this.extend({}, {}) // => {}
this.extend(true, {}) // => {…