Open jbuckner opened 5 years ago
Is this the same as the issue with the DwebImage tag, or is that getting its own ticket ?
@mitra42 The image tag override is covered in #126
Do you mean adding something like this:
// Request with custom header
$.ajax({
url: 'foo/bar',
headers: { 'x-my-custom-header': 'some value' }
});
Not as simple .... Its more of a section like ...
if (!opts.ajaxintercept) {
fetch(url, opts, cb)
} else {
opts.ajax.intercept(url, opts, cb)
}
So calling out to a provided function . (I'd hope we weren't still using jquery ajax calls inside bookreader, but a similar process could be used with $.ajax)
Context
Proposal & Constraints
Success Metrics
Stakeholders