class Locmare.Profiler extends Backbone.View\r
tagName: 'div'\r
+ className: 'profiler'\r
+ \r
initialize: (options) ->\r
@item_name = options.item_name\r
@item = options.item\r
@operators = options.operators\r
\r
@profiler_manifest = LocalManifest.manifest().profilers[@item_name]\r
- @template_dir = 'templates-profiler-'\r
- _this = this\r
- @item.fetch().done ->\r
- _this.item.boosts 'post'\r
- _this.header = new Locmare.ProfilerModule.Header({profiler: _this})\r
- _this.columns = new Locmare.ProfilerModule.Column({profiler: _this})\r
- _this.associations = new Locmare.ProfilerModule.Association({'profiler': _this, association_manifest: _this.profiler_manifest.associations})\r
- _this.render()\r
+ @header = new Locmare.ProfilerModule.Header({profiler: this})\r
+ @columns = new Locmare.ProfilerModule.Column({profiler: this})\r
+ @associations = new Locmare.ProfilerModule.Association({'profiler': this, association_manifest: @profiler_manifest.associations})\r
\r
render: () ->\r
this.$el.html('')\r