Hi,
a short question: is there a possibility to store this.previous()
(when refatoring a Class) within another function ?
This throws an error:
Request.HTML = Class.refactor(Request.HTML, {
...,
onSomethingElse: function() {
var fn = function () {this.previous()}.bind(this);
fn.call();
}
});It says this.previous() is undefined. Why ? Even when logging "this" via console.log, this.previous is marked as undefined. When calling it directly it works however. Very strange to me... Cheers, Jan
