1 class Locmare.ProfilerModule.AssociationModule.HasMany extends Backbone.View
\r
4 initialize: (options) ->
\r
5 @association = options.association
\r
6 @has_many_manifest = options.has_many_manifest
\r
8 m = new Pettanr.FilerCollection({}, @has_many_manifest.list_options(@item().get('id')))
\r
12 #_this.filer = new Locmare.Filer(_this.has_many_model().item_name, items, @pager, _this.profiler().operators)
\r
18 this.$el.html(@filer.render().el)
\r
24 has_many_model: () ->
\r
25 @has_many_manifest.model()
\r
28 @association.profiler
\r