Skip to content

Commit

Permalink
Added 'abstract' and 'documentation' to Model.
Browse files Browse the repository at this point in the history
  • Loading branch information
kgrgreer committed Apr 29, 2016
1 parent 159efc0 commit 59f0d6a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/core/Model.js
Expand Up @@ -31,7 +31,15 @@ foam.CLASS({
}
},
'package',
'abstract',
'name',
{
// Just discard documentation.
// If it's needed, a real 'documentation' property will
// be refined in.
name: 'documentation',
setter: function() { }
},
{
name: 'label',
expression: function(name) { return foam.String.labelize(name); }
Expand Down

0 comments on commit 59f0d6a

Please sign in to comment.