-
Ajax.registerResponseHandler(fn) feature. · 60ac3c61Ivan Kubota authored
Middleware pattern is used `fn` is called with (err, data, next) arguments when last `next` in queue is called — original handler would be called. if you want to change `err` and `data` — call next with two arguments (newErr, newData)
60ac3c61
×