Skip to content

Instantly share code, notes, and snippets.

@hai5nguy
Created March 17, 2016 14:49
Show Gist options
  • Save hai5nguy/ca532279a26d3c9926c2 to your computer and use it in GitHub Desktop.
Save hai5nguy/ca532279a26d3c9926c2 to your computer and use it in GitHub Desktop.
define(function () {
return {
'layout_A': {
slots: {},
content: '',
meta: {
layoutOptions: {
type: 'layout_A',
spacing: 6,
rows: [
{
columns: [
{
width: 100,
slot: 'innerARow0Column0'
}
]
},
{
columns: [
{
width: 100,
slot: 'innerARow1Column0'
}
]
}
]
}
}
},
'layout_B': {
slots: {},
content: '',
meta: {
layoutOptions: {
type: 'layout_B',
spacing: 6,
rows: [
{
columns: [
{
width: 50,
slot: 'innerBRow0Column0'
},
{
width: 50,
slot: 'innerBRow0Column1'
}
]
}
]
}
}
},
'layout_C': {
slots: {},
content: '',
meta: {
layoutOptions: {
type: 'layout_C',
spacing: 6,
rows: [
{
columns: [
{
width: 33,
slot: 'innerCRow0Column0'
},
{
width: 33,
slot: 'innerCRow0Column1'
},
{
width: 33,
slot: 'innerCRow0Column2'
}
]
}
]
}
}
},
'layout_D': {
slots: {},
content: '',
meta: {
layoutOptions: {
type: 'layout_D',
spacing: 6,
rows: [
{
columns: [
{
width: 50,
slot: 'innerDRow0Column0'
},
{
width: 50,
slot: 'innerDRow0Column1'
}
]
},
{
columns: [
{
width: 100,
slot: 'innerDRow1Column0'
}
]
}
]
}
}
},
'layout_E': {
slots: {},
content: '',
meta: {
layoutOptions: {
type: 'layout_E',
spacing: 6,
rows: [
{
columns: [
{
width: 100,
slot: 'innerERow0Column0'
}
]
},
{
columns: [
{
width: 50,
slot: 'innerERow1Column0'
},
{
width: 50,
slot: 'innerERow1Column1'
}
]
}
]
}
}
}
};
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment