Skip to content
This repository has been archived by the owner on Feb 6, 2018. It is now read-only.

Commit

Permalink
docs(BemEntityName): update entity mod in examples
Browse files Browse the repository at this point in the history
  • Loading branch information
blond committed Dec 12, 2016
1 parent f02d90a commit e4ce64a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ const stream = walk(levels, {

/*
{ button:
[ { entity: { block: 'button', modName: 'togglable', modVal: 'radio' },
[ { entity: { block: 'button', mod: { name: 'togglable', val: 'radio' } },
tech: 'spec.js',
path: 'libs/bem-components/common.blocks/button/_togglable/
button_togglable_radio.spec.js',
Expand Down Expand Up @@ -260,7 +260,7 @@ const stream = walk(levels, {
.on('end', () => console.log(files));

/*
[{ entity: { block: 'popup', modName: 'target', modVal: true },
[{ entity: { block: 'popup', mod: { name: 'target', val: true } },
tech: 'js',
path: 'libs/bem-components/common.blocks/popup/_target/popup_target.js',
level: 'libs/bem-components/common.blocks' },
Expand Down
6 changes: 3 additions & 3 deletions README.ru.md
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ const stream = walk(levels, {

/*
{ button:
[ { entity: { block: 'button', modName: 'togglable', modVal: 'radio' },
[ { entity: { block: 'button', mod: { name: 'togglable', val: 'radio' } },
tech: 'spec.js',
path: 'libs/bem-components/common.blocks/button/_togglable/
button_togglable_radio.spec.js',
Expand Down Expand Up @@ -260,7 +260,7 @@ const stream = walk(levels, {
.on('end', () => console.log(files));

/*
[{ entity: { block: 'popup', modName: 'target', modVal: true },
[{ entity: { block: 'popup', mod: { name: 'target', val: true } },
tech: 'js',
path: 'libs/bem-components/common.blocks/popup/_target/popup_target.js',
level: 'libs/bem-components/common.blocks' },
Expand Down Expand Up @@ -302,7 +302,7 @@ const stream = walk(levels, {
}))
.pipe(stringify())
.pipe(process.stdout);

/*
[{"entity":{"block":"search","elem":"header"},
"tech":"css",
Expand Down

0 comments on commit e4ce64a

Please sign in to comment.