[FIX] doc: js mixin inheritance
Hamster extends Animal, not itself Closes #26595
This commit is contained in:
committed by
Martin Trigaux
parent
6ab7f8d095
commit
3c0a0261be
@@ -446,7 +446,7 @@ of them in the new class.
|
||||
},
|
||||
};
|
||||
|
||||
var Hamster = Hamster.extend(DanceMixin, {
|
||||
var Hamster = Animal.extend(DanceMixin, {
|
||||
sleep: function () {
|
||||
console.log('sleeping');
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user