Closed phillipskevin closed 5 years ago
Something like this doesn't work:
function Obj() {} Obj.prototype = makePrototype.observable(Object.create(Obj.prototype), { observe: makePrototype.observable }); Obj.prototype.aFunction = function() {}; var o = new Obj(); o.aFunction(); // o.aFunction is undefined
We are not going to handle this. can-observable-mixin is being used for what makePrototype.observable was originally intended for.
can-observable-mixin
makePrototype.observable
Something like this doesn't work: