ded/reqwest — Issue #63: Add context: parameter
Author: gka
Created: 2012-01-12 21:35:54+00:00
State: open

In jQuery one can assign a context to a ajax call, which comes in handy in some situations (eg when loading many assets at the same time)..

myObj = { foo: "bar" }
$.ajax({
url: "...",
context: myObj,
success: function(c) {
console.log(this.foo);
}
});

Would be nice to have this option in reqwest, too.
What do you think?