Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
var B = {
foo: function (original) {
console.log("Foo B");
original();
}.enhance()
};
var C = {
foo: function () {
console.log("Foo C");
}
};
var A = SC.Object.extend(C, B, {
foo: function (original) {
console.log("Foo A");
original();
}.enhance()
});
A.create().foo();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment