https://bugzilla.wikimedia.org/show_bug.cgi?id=55557
Krinkle <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |INVALID --- Comment #1 from Krinkle <[email protected]> --- This is by design. Mixing in a class only copies over own properties. Not inherited properties. JavaScript can't have an object inherit from multiple parents. We have the convention to not alter mixins once defined. So copying over one is fine. But the parent of a mixin, I'm not so sure (and we'd have to distinguish it from any prototypes in the chain we don't want to copy manually, such as Function prototype and Object prototype). If the "sub mixin" doesn't care about live inheritance (and it can't care, because mixins can't be live since they always copy over), then the sub mixin should just use 'mixin' for its 'parent' not 'inherit'. -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
