Sha256: 38f59632f76228ae021a20ffb13f47b7217be4da25a869b72809fc22f0abcb85
Contents?: true
Size: 555 Bytes
Versions: 9
Compression:
Stored size: 555 Bytes
Contents
Joosy.namespace 'Welcome', -> class @IndexPage extends ApplicationPage @layout ApplicationLayout @view 'index' @afterLoad -> @startHeartbeat() @content.css 'padding-top': "#{$(window).height() / 2 - 160}px" elements: content: '#content' joosy: '.joosy' events: 'mouseover $joosy': -> clearInterval @heartbeat 'mouseout $joosy': 'startHeartbeat' startHeartbeat: -> @heartbeat = @setInterval 1500, => @joosy.animate({opacity: 0.8}, 300).animate({opacity: 1}, 300)
Version data entries
9 entries across 9 versions & 1 rubygems