Adding a parameter for a custom ajax function to use as a drop-in replacement to $.ajax(). This is necessarily in some custom cases where the data is retrieved in a way that is not conducive to making a request directly through $.ajax(), i.e. a websocket or a caching mechanism. This adds a lot more potential flexibility to the AJAX functionality of the library for relatively little cost.
Adding a parameter for a custom ajax function to use as a drop-in replacement to $.ajax(). This is necessarily in some custom cases where the data is retrieved in a way that is not conducive to making a request directly through $.ajax(), i.e. a websocket or a caching mechanism. This adds a lot more potential flexibility to the AJAX functionality of the library for relatively little cost.