X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=app%2Fassets%2Fjavascripts%2Fmodels%2Fartist.js.coffee;h=af7a2fff20f7e353b9caab67192d08db61a1e191;hb=3f0b76f7b7fddc70ba3badd2a97b2babe9549b79;hp=4c8c80f213f0ffd9ee4d7957452dab7f0007cb66;hpb=eaaa49b6defd70aaef6b9fc6658224bb2d4f522a;p=pettanr%2Fpettanr.git diff --git a/app/assets/javascripts/models/artist.js.coffee b/app/assets/javascripts/models/artist.js.coffee index 4c8c80f2..af7a2fff 100644 --- a/app/assets/javascripts/models/artist.js.coffee +++ b/app/assets/javascripts/models/artist.js.coffee @@ -17,7 +17,8 @@ class Pettanr.Artist extends Peta.Owner icon_with_caption_view: (half = true, column_name = 'name', length = 12) -> new Pettanr.Views.Common.IconWithCaption({item: this, half: half, column_name: column_name, length: length}) - initialize: () -> + initialize: (attr = {}, options = {}) -> + super(attr, options) if @id @url = @url + @id