Skip to content

Instantly share code, notes, and snippets.

@varya
Created November 30, 2012 13:07
Show Gist options
  • Save varya/4175640 to your computer and use it in GitHub Desktop.
Save varya/4175640 to your computer and use it in GitHub Desktop.
({
block: 'b-page',
title: 'index',
head: [
{ elem: 'css', url: '_index.css', ie: false},
{ elem: 'css', url: '_index.ie.css', ie: true },
{ block: 'i-jquery', elem: 'core'},
{ elem: 'js', url:'_index.js'},
],
content: [
{
block: 'head',
content: {
block: 'layout',
content: [
{
elem: 'left',
content: {
block: 'b-search',
attrs: { action: '/search.xml' },
input: {
elem: 'input',
attrs: { placeholder: 'Find' }
},
button: {
elem: 'button'
}
}
},
{
elem: 'right',
content: {
block: 'b-logo',
content: {
elem: 'link',
url: 'http://bem.info',
content: [
{
elem: 'icon',
url: '../../desktop.blocks/b-logo/b-logo.png'
},
{
elem: 'slogan',
content: 'A new way of thinking'
}
]
}
}
}
]
}
}
]
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment