Skip to content

Commit

Permalink
Replaced mustDeps with shouldDeps in depsByTech sections
Browse files Browse the repository at this point in the history
  • Loading branch information
qfox authored and tadatuta committed Aug 23, 2016
1 parent 3b25730 commit 2dfb69b
Show file tree
Hide file tree
Showing 12 changed files with 24 additions and 24 deletions.
4 changes: 2 additions & 2 deletions common.blocks/button/button.deps.js
Expand Up @@ -14,11 +14,11 @@
},
{
tech : 'spec.js',
mustDeps : { tech : 'bemhtml', block : 'button' }
shouldDeps : { tech : 'bemhtml', block : 'button' }
},
{
tech : 'tmpl-spec.js',
mustDeps : [
shouldDeps : [
{ tech : 'bemhtml', block : 'button', mods : { type : 'link' } },
{ tech : 'bemhtml', block : 'icon' }
]
Expand Down
4 changes: 2 additions & 2 deletions common.blocks/checkbox-group/checkbox-group.deps.js
Expand Up @@ -4,11 +4,11 @@
},
{
tech : 'spec.js',
mustDeps : { tech : 'bemhtml', block : 'checkbox-group' }
shouldDeps : { tech : 'bemhtml', block : 'checkbox-group' }
},
{
tech : 'tmpl-spec.js',
mustDeps : [
shouldDeps : [
{ tech : 'bemhtml', block : 'checkbox-group', mods : { type : 'button' } },
{ tech : 'bemhtml', block : 'icon' }
]
Expand Down
4 changes: 2 additions & 2 deletions common.blocks/checkbox/checkbox.deps.js
Expand Up @@ -11,11 +11,11 @@
},
{
tech : 'spec.js',
mustDeps : { tech : 'bemhtml', block : 'checkbox' }
shouldDeps : { tech : 'bemhtml', block : 'checkbox' }
},
{
tech : 'tmpl-spec.js',
mustDeps : [
shouldDeps : [
{ tech : 'bemhtml', block : 'checkbox', mods : { type : 'button' } },
{ tech : 'bemhtml', block : 'icon' }
]
Expand Down
4 changes: 2 additions & 2 deletions common.blocks/dropdown/dropdown.deps.js
Expand Up @@ -12,9 +12,9 @@
},
{
tech : 'spec.js',
mustDeps : { tech : 'bemhtml', block : 'dropdown' }
shouldDeps : { tech : 'bemhtml', block : 'dropdown' }
},
{
tech : 'tmpl-spec.js',
mustDeps : { tech : 'bemhtml', block : 'dropdown', mods : { switcher : ['link', 'button'] } }
shouldDeps : { tech : 'bemhtml', block : 'dropdown', mods : { switcher : ['link', 'button'] } }
}]
4 changes: 2 additions & 2 deletions common.blocks/input/input.deps.js
Expand Up @@ -10,11 +10,11 @@
},
{
tech : 'spec.js',
mustDeps : { tech : 'bemhtml', block : 'input' }
shouldDeps : { tech : 'bemhtml', block : 'input' }
},
{
tech : 'tmpl-spec.js',
mustDeps : [
shouldDeps : [
{ tech : 'bemhtml', block : 'input', mods : { type : ['textarea', 'password', 'search'], 'has-clear' : true } },
{ tech : 'bemhtml', block : 'icon' }
]
Expand Down
4 changes: 2 additions & 2 deletions common.blocks/link/link.deps.js
Expand Up @@ -12,9 +12,9 @@
},
{
tech : 'spec.js',
mustDeps : { tech : 'bemhtml', block : 'link' }
shouldDeps : { tech : 'bemhtml', block : 'link' }
},
{
tech : 'tmpl-spec.js',
mustDeps : { tech : 'bemhtml', block : 'link', mods : { pseudo : true } }
shouldDeps : { tech : 'bemhtml', block : 'link', mods : { pseudo : true } }
}]
4 changes: 2 additions & 2 deletions common.blocks/menu-item/menu-item.deps.js
Expand Up @@ -4,9 +4,9 @@
},
{
tech : 'spec.js',
mustDeps : { tech : 'bemhtml', block : 'menu-item' }
shouldDeps : { tech : 'bemhtml', block : 'menu-item' }
},
{
tech : 'tmpl-spec.js',
mustDeps : { tech : 'bemhtml', block : 'link' }
shouldDeps : { tech : 'bemhtml', block : 'link' }
}]
4 changes: 2 additions & 2 deletions common.blocks/menu/menu.deps.js
Expand Up @@ -10,11 +10,11 @@
},
{
tech : 'spec.js',
mustDeps : { tech : 'bemhtml', block : 'menu' }
shouldDeps : { tech : 'bemhtml', block : 'menu' }
},
{
tech : 'tmpl-spec.js',
mustDeps : [
shouldDeps : [
{ tech : 'bemhtml', block : 'link' },
{ tech : 'bemhtml', block : 'menu-item', mods : { type : 'link' } },
{ tech : 'bemhtml', block : 'menu', mods : { mode : 'radio' } },
Expand Down
4 changes: 2 additions & 2 deletions common.blocks/radio-group/radio-group.deps.js
Expand Up @@ -4,11 +4,11 @@
},
{
tech : 'spec.js',
mustDeps : { tech : 'bemhtml', block : 'radio-group' }
shouldDeps : { tech : 'bemhtml', block : 'radio-group' }
},
{
tech : 'tmpl-spec.js',
mustDeps : [
shouldDeps : [
{ tech : 'bemhtml', block : 'radio-group', mods : { type : 'button' } },
{ tech : 'bemhtml', block : 'icon' }
]
Expand Down
4 changes: 2 additions & 2 deletions common.blocks/radio/radio.deps.js
Expand Up @@ -11,11 +11,11 @@
},
{
tech : 'spec.js',
mustDeps : { tech : 'bemhtml', block : 'radio' }
shouldDeps : { tech : 'bemhtml', block : 'radio' }
},
{
tech : 'tmpl-spec.js',
mustDeps : [
shouldDeps : [
{ tech : 'bemhtml', block : 'radio', mods : { type : 'button' } },
{ tech : 'bemhtml', block : 'icon' }
]
Expand Down
4 changes: 2 additions & 2 deletions common.blocks/select/select.deps.js
Expand Up @@ -16,11 +16,11 @@
},
{
tech : 'spec.js',
mustDeps : { tech : 'bemhtml', block : 'select' }
shouldDeps : { tech : 'bemhtml', block : 'select' }
},
{
tech : 'tmpl-spec.js',
mustDeps : [
shouldDeps : [
{ tech : 'bemhtml', block : 'select', mods : { mode : ['radio', 'check', 'radio-check'] } },
{ tech : 'bemhtml', block : 'icon' }
]
Expand Down
4 changes: 2 additions & 2 deletions common.blocks/textarea/textarea.deps.js
Expand Up @@ -12,11 +12,11 @@
},
{
tech : 'spec.js',
mustDeps : { tech : 'bemhtml', block : 'textarea' }
shouldDeps : { tech : 'bemhtml', block : 'textarea' }
},
{
tech : 'tmpl-spec.js',
mustDeps : [
shouldDeps : [
{ tech : 'bemhtml', block : 'textarea' },
{ tech : 'bemhtml', block : 'icon' }
]
Expand Down

0 comments on commit 2dfb69b

Please sign in to comment.