OSDN Git Service

fix: show's destroy button
[pettanr/pettanr.git] / app / assets / javascripts / models / artist.js.coffee
index 051e898..c3b4298 100644 (file)
@@ -1,4 +1,5 @@
 class Pettanr.Artist extends Peta.Owner\r
+  \r
   @singular: () ->\r
     'Artist'\r
   \r
@@ -10,6 +11,11 @@ class Pettanr.Artist extends Peta.Owner
     name: 'no name'\r
   } \r
   \r
-  initialize: () ->\r
+  overwrite: (options) ->\r
+  \r
+  icon_with_caption_view: (half = true, column_name = 'name', length = 12) ->\r
+    new Pettanr.Views.Common.IconWithCaption({item: this, half: half, column_name: column_name, length: length})\r
+  \r
+  initialize: (attr = {}, options = {}) ->\r
+    super(attr, options)\r
   \r
-\r