X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=app%2Fassets%2Fjavascripts%2Fmodels%2Fauthor.js.coffee;h=3695a6f100bf2e84a5ca582aac3a8a0fec852762;hb=eaaa49b6defd70aaef6b9fc6658224bb2d4f522a;hp=4c8745e7570c21591ecfb50c516a0f9b74d2d992;hpb=f52d305f8c8857da0a38049e85ebd37e3525c8c8;p=pettanr%2Fpettanr.git diff --git a/app/assets/javascripts/models/author.js.coffee b/app/assets/javascripts/models/author.js.coffee index 4c8745e7..3695a6f1 100644 --- a/app/assets/javascripts/models/author.js.coffee +++ b/app/assets/javascripts/models/author.js.coffee @@ -12,6 +12,8 @@ class Pettanr.Author extends Peta.Owner name: 'no name' } + overwrite: (options) -> + 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})