-
https://github.com/bem/bem-xjst/blob/a67900859a928aae53a869cbebca72ba3177b5a3/test/runtime-escaping-test.js#L42
test description and it's content are contradictory
-
I couldn't build it with webpack, because node-module fs broke build.
```
$ webpack index.js bundl.js
ERROR in ./~/bem-xjst/index.js
Module not found: Error: Cannot resolve module 'fs' in C:\Users\kh…
-
I have some requires of CommonJS modules in my bemhtml templates. Like a:
``` js
// a.bemhtml.js
block('a').match(
// some code
var myModule = require('moduleName');
//some code
)
```
…
-
``` js
it('should be ok', function() {
test(function() {
block('b1').def()(function() {
return applyCtx([apply('content'), this.ctx.content, apply('tag'), this.ctx.tag])
});
…
-
This looks like a major chage. It might be done with #1088 or later in next major version.
narqo updated
8 years ago
-
https://goo.gl/ufn4Ya
cc @zxqfox @Yeti-or
-
``` js
var react = require('react')
var reactXjst = require('react-xjst')
var vidom = require('bem-xjst').vidom
var templates = vidom.compile(function(){
block('a')(
tag()(false),
content()…
Guria updated
8 years ago
-
As @tadatuta said: It's made for consistency with template engines. I can say that I didn't see atm a real reason why these private template things exposed to end-user of `BEMJSON` format.
I feel tha…
-
-
This issue is for discussion and organization of the things we're working on in order to get to a stable release. Once we have a general consensus, we will close this issue, break out each of the task…