Skip to content

Commit

Permalink
Merge pull request #343 from bem/a.root_element
Browse files Browse the repository at this point in the history
b-page.bemhtml: кстомизировать тэг html
LEGO-8764
  • Loading branch information
apostololeg committed Mar 11, 2013
2 parents 9154e33 + 3ecfebb commit 8c977f9
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions blocks-touch/b-page/b-page.bemhtml
Expand Up @@ -4,7 +4,7 @@ block b-page {
apply({
_mode: '',
ctx: {
tag: 'html',
elem: 'root',
content: [
{
elem: 'head',
Expand Down Expand Up @@ -61,6 +61,10 @@ block b-page {
})
}

elem root {
tag: 'html'
}

elem head {
bem: false,
tag: 'head'
Expand Down Expand Up @@ -161,4 +165,4 @@ block b-page {
return this.ctx.url ? { src: this.ctx.url } : {};
}
}
}
}

0 comments on commit 8c977f9

Please sign in to comment.