browsernizr
Version:
Modernizr wrapper for use with browserify
22 lines (19 loc) • 687 B
JavaScript
/*!
{
"name": "Application Cache",
"property": "applicationcache",
"caniuse": "offline-apps",
"tags": ["storage", "offline"],
"notes": [{
"name": "MDN Docs",
"href": "https://developer.mozilla.org/en/docs/HTML/Using_the_application_cache"
}],
"polyfills": ["html5gears"]
}
!*/
/* DOC
Detects support for the Application Cache, for storing data to enable web-based applications run offline.
The API has been [heavily criticized](https://alistapart.com/article/application-cache-is-a-douchebag) and discussions are underway to address this.
*/
var Modernizr = require('./../lib/Modernizr.js');
Modernizr.addTest('applicationcache', 'applicationCache' in window);