X-Git-Url: http://git.osdn.net/view?p=pettanr%2Fpettanr.git;a=blobdiff_plain;f=app%2Fassets%2Fjavascripts%2Fmodels%2Fauthor.js.coffee;h=5a92917cafc6926cfe3e5efca5e65a6a1e71edff;hp=2db75648696cf8f7c2663ea416ef62ab094ea69f;hb=d7c8065be895b67dc453b0e11ad0f259f1ca6706;hpb=70027b80e56b5fbea8d63d520fbbf92050959f28 diff --git a/app/assets/javascripts/models/author.js.coffee b/app/assets/javascripts/models/author.js.coffee index 2db75648..5a92917c 100644 --- a/app/assets/javascripts/models/author.js.coffee +++ b/app/assets/javascripts/models/author.js.coffee @@ -1,4 +1,5 @@ class Pettanr.Author extends Peta.Owner + @singular: () -> 'Author' @@ -10,6 +11,8 @@ class Pettanr.Author extends Peta.Owner name: 'no name' } - initialize: () -> + overwrite: (options) -> + + initialize: (attr = {}, options = {}) -> + super(attr, options) -