Sha256: 1bb959a596d2ea3d9fab30723f363bb26f79fb9f90d7dc1720d9da8be7e33b6f
Contents?: true
Size: 353 Bytes
Versions: 3
Compression:
Stored size: 353 Bytes
Contents
ObserveJS.bind 'Post.Title', class loaded: => @on 'titles:index', @show @on 'titles:update', document, @refresh @on 'titles:create', document, @refresh show: (e) => e.HTML.dataset.y = document.body.scrollTop document.body.appendChild(e.HTML) refresh: (e) => if e.HTML? @element().textContent = e.HTML.dataset.name
Version data entries
3 entries across 3 versions & 1 rubygems