Files
Modernizr/feature-detects/window/pushmanager.js
Veeck d57b8ca307 Add latest feature detects and fixes from v4 branch (#2726)
* Fix: Update lowbandwidth condition to match new spec (#2688)

* Adds PushManager feature detection #2703 (#2708)

* Added detection of type worker option and aspect ratio (#2702)
2023-07-20 23:04:25 +02:00

20 lines
417 B
JavaScript

/*!
{
"name": "PushManager",
"property": "pushmanager",
"caniuse": "mdn-api_pushmanager",
"authors": ["Dawid Kulpa (@dawidkulpa)"],
"notes": [{
"name": "MDN Docs",
"href": "https://developer.mozilla.org/en-US/docs/Web/API/PushManager"
}]
}
!*/
/* DOC
Detects support for PushManager.
*/
define(['Modernizr'], function(Modernizr) {
Modernizr.addTest('pushmanager', 'PushManager' in window);
});