OSDN Git Service

fix profiler
[pettanr/pettanr.git] / app / assets / javascripts / locmare / profiler / association.js.coffee
index c9aa914..ddf147b 100644 (file)
@@ -10,16 +10,16 @@ class Locmare.ProfilerModule.Association extends Backbone.View
       new Locmare.ProfilerModule.AssociationModule.HasMany({association: this, has_many_manifest: list_manifest})\r
     @has_one = _.map @association_manifest.has_one, (list_manifest) =>\r
       new Locmare.ProfilerModule.AssociationModule.HasOne({association: this, has_one_manifest: list_manifestt})\r
-    @render\r
+    @render()\r
   \r
   render: () ->\r
     _this = this\r
     _.each @belongs_to, (f) ->\r
-      #_this.$el.append(f.render().el)\r
+      _this.$el.append(f.render().el)\r
     _.each @has_many, (f) ->\r
-      #_this.$el.append(f.render().el)\r
+      _this.$el.append(f.render().el)\r
     _.each @has_one, (f) ->\r
-      #_this.$el.append(f.render().el)\r
+      _this.$el.append(f.render().el)\r
     this\r
   \r
   item: () ->\r