Skip to content

Instantly share code, notes, and snippets.

@hrumhrumble
Created April 2, 2014 05:53
Show Gist options
  • Save hrumhrumble/9928618 to your computer and use it in GitHub Desktop.
Save hrumhrumble/9928618 to your computer and use it in GitHub Desktop.
}, {
elements: [
slider_text('text', null, null)
red("Выбери свой комфорт"),
{
css: 'noop',
content: ''
in: ->
console.log 'modelIn'
gallery.modelIn()
}, {
css: "model-buy"
in: ->
@css(right: '10px', opacity: 0)
_.delay =>
@transition right: '16px', opacity: 1, =>
@css(right: '')
, 1000
out: ->
@transition opacity: 0
}
]
models: true
next: false
}
]
window.models = [
{
name: '<span>Comfort</span> 100'
text: 'Бойлер косвенного нагрева из нержавеющей стали с конструкцией теплообменника по технологии «Бак-в-баке».'
water: 658
qty: {
bath: 1
shower: 1
}
power: 23
price: '25 900 р.'
image: '1'
}, {
name: '<span>Comfort</span> 130'
text: 'Бойлер'
water: 658
qty: {
bath: 1
shower: 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment