applicationcache.js 684 B

123456789101112131415161718192021
  1. /*!
  2. {
  3. "name": "Application Cache",
  4. "property": "applicationcache",
  5. "caniuse": "offline-apps",
  6. "tags": ["storage", "offline"],
  7. "notes": [{
  8. "name": "MDN Docs",
  9. "href": "https://developer.mozilla.org/en/docs/HTML/Using_the_application_cache"
  10. }],
  11. "polyfills": ["html5gears"]
  12. }
  13. !*/
  14. /* DOC
  15. Detects support for the Application Cache, for storing data to enable web-based applications run offline.
  16. The API has been [heavily criticized](https://alistapart.com/article/application-cache-is-a-douchebag) and discussions are underway to address this.
  17. */
  18. define(['Modernizr'], function(Modernizr) {
  19. Modernizr.addTest('applicationcache', 'applicationCache' in window);
  20. });