mirror of
https://github.com/fergalmoran/dss.git
synced 2026-03-29 08:55:06 +00:00
15 lines
484 B
CoffeeScript
15 lines
484 B
CoffeeScript
define ['marionette', 'views/comment/commentItemView', 'text!/tpl/CommentListView'],
|
|
(Marionette, CommentItemView, Template) ->
|
|
class CommentListView extends Marionette.CompositeView
|
|
|
|
template: _.template(Template)
|
|
tagName: "ul"
|
|
className: "activity-listing media-list"
|
|
itemView: CommentItemView
|
|
itemViewContainer: "#comment-list-container"
|
|
|
|
initialize: ->
|
|
console.log "CommentListView: initialize"
|
|
|
|
CommentListView
|