Upgrade to ExtJS 4.0.0 - Released 04/26/2011
[extjs.git] / src / core / examples / src / Sample / Musician.js
1 Ext.define('Sample.Musician', {
2     extend: 'Sample.Person',
3
4     statics: {
5         clone: function(musician) {
6             return new this({
7                 name: musician.getName(),
8                 height: musician.getHeight(),
9                 isCool: musician.getIsCool(),
10                 gender: musician.getGender()
11             });
12         }
13     },
14
15     mixins: {
16         guitar: 'Sample.ability.CanPlayGuitar',
17         compose: 'Sample.ability.CanComposeSongs',
18         sing: 'Sample.ability.CanSing'
19     }
20 });