You can clone with
HTTPS or Subversion.
Add copyright notice and version
handle empty http response; requeue request if we are offline
use delete instead of =null
mark request as finished in the event of an error
introduce separate variable for clarity
always pass an object as the 'data' to getJSON
* This is so that retrieveJSON and getJSON take identical parameter types, since we do retrieveJSON=getJSON when localStorage isn't available [ht: bts]
Try again to set key.
Proper strategy for quota exceeded.
handle not modified
just return and do not call the callback in case the response has a
304 status code.
fix requesting pid
add var declaration for requestingKey
typo: requestingKey[requestingKey] => requesting[requestingKey]
No commit message
Change names to be more intuitive
Return favicon to avoid messing with the browsers' minds
Update jQuery Offline to return the original time a key was retrieved…
… from the cache as a third parameter to the callback function in both cache hits and follow-up requests. In follow-up requests, the third parameter also contains the original time that the cache hit occurred.
Add another TODO
Apparently the convention is jquery.offline.js :)
Don't need the document-ready wrapper
Add support for return false => don't make Ajax request if cached
Point out that you need json.js on all but the newest browsers
Initial commit of jQuery Offline