-
```
C:\bem-tests\tutor>node_modules\.bin\bem make
20:00:27.728 - info: bem 0.8.1
20:00:28.276 - info: Graph:
== root
all
build
desktop.blocks*
desktop.bundles*
desktop.blocks*
20…
pahaz updated
10 years ago
-
The error
```
17:46:22.843 - [isValid] [desktop.bundles/index/index.html - /desktop.bundles/index/index.html] html-from-bemjson
TypeError: Object # has no method 'set'
at /Users/varya/WebDev/Pers…
varya updated
10 years ago
-
https://gist.github.com/xdghcnt/1253e5f518215577fe22
As you can see, I want my test-block contained two logical sections that don't appear in the output, and it works as I planned:
`a1 a2 a3 b1 b2 b3`…
-
Есть два блока которые должны ловить события третьего блока:
Блок который по какой-то причине не ловит события
```
BEM.DOM.decl('events', {
onSetMod: {
'js': function ()
{
…
-
```
|[pahaz@li5xx]:~/bem_test on master^
|==>$ yo
[?] 'Allo pahaz! What would you like to do? Run the Bem-stub generator (0.0.2)
Make sure you are in the directory you want to scaffold into.
This gen…
pahaz updated
10 years ago
-
blond updated
10 years ago
-
E.g. bemjson:
``` js
{
block: 'bla'
}
```
with template
``` js
module.exports = function(bh) {
bh.match('bla', function(ctx, json) {
ctx.mix({
mods: { m1: 'v1' }
…
-
bemjson:
```
{
block : 'link',
content : {
block : 'link-content',
tag : '',
content : 'Empty link'
}
}
```
output:
```
Empty link
```
-
blond updated
10 years ago
-
А именно слияние параметров value и placeholder с, возможно переданными, параметрами в controlAttrs (ex: {block: ‘input’, controlAttrs: { ‘data-test’: ‘olololo' } }). @tadatuta как договорились запиши…