Untitled
public text v1 · immutablefoo = function () { }
foo.prototype = {
doAjax: function () {
that = this;
ajaxThing(function () {
that.ajaxCallback();
});
},
ajaxCallback: function () { /* blah */ }
}foo = function () { }
foo.prototype = {
doAjax: function () {
that = this;
ajaxThing(function () {
that.ajaxCallback();
});
},
ajaxCallback: function () { /* blah */ }
}