mirror of
https://github.com/gnh1201/welsonjs.git
synced 2025-05-17 15:11:04 +00:00
22 lines
684 B
JavaScript
22 lines
684 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.
|
|
*/
|
|
define(['Modernizr'], function(Modernizr) {
|
|
Modernizr.addTest('applicationcache', 'applicationCache' in window);
|
|
});
|