It would be nice to be able to call same method from parent class from next tick. Something like:
var C = inherit(B, {
someMethod: function() {
return doSomethingAndReturnPromise()
.then(this.__parent.someMethod.bind(this));
}
});
It would be more readable then workaround a la "save this.__base to variable and then call it"
It would be nice to be able to call same method from parent class from next tick. Something like:
It would be more readable then workaround a la "save this.__base to variable and then call it"