Skip to content

Conversation

fieg
Copy link
Member

@fieg fieg commented Mar 14, 2018

Continuation of #248

Many thanks to @campadrenalin 🙏

MaddieM4 and others added 5 commits March 14, 2018 21:05
The jQuery AJAX API is pretty powerful. Rather than trying to wrap all
of its abilities, for questionable gain, we can just use the load event
object as the settings parameter. This lets downstream users override
arbitrary settings, like `headers` or `cache` or `timeout`.

The downside is if people are storing funky, non-url things in the load
event, this will break their use case. But it's kind of a weird thing to
do in the current IAS interface, so we probably don't have to be too
paranoid about backwards compatibility. For people who only use
event.url, or don't use the event object at all, they won't even know
anything changed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants