Sha256: f751c6c8edd6e2b606d359a70314f6b0b35e047858ddb5547e448479b7fe285e
Contents?: true
Size: 308 Bytes
Versions: 35
Compression:
Stored size: 308 Bytes
Contents
PageTitlesView = Backbone.View.extend { initialize: (@pageInfos) -> @pageInfos.bind 'reset', @render, this addOne: (pageInfo) -> view = new PageTitleView { model: pageInfo } view.render() $('#page-titles').append(view.el) render: -> $('#page-titles').empty() @pageInfos.each(@addOne) }
Version data entries
35 entries across 35 versions & 3 rubygems