No description provided.
Was hoping to have drop-in optional caching, e.g.
xhr = if settings.cache then $.retrieveJSON(url) else $.getJSON(url)
But when the $.retrieveJSON path is hit I just get Uncaught TypeError: Cannot read property 'jquery' of undefined.
Uncaught TypeError: Cannot read property 'jquery' of undefined
Is this resolved by b2139ff?
Still doesn't look like the above example would work. That commit still requires a callback function. It also returns a promise that will never resolve, if you return false from your callback function if it is cached.