UNPKG

modernizr

Version:

Modernizr is a JavaScript library that detects HTML5 and CSS3 features in the user’s browser.

15 lines (14 loc) 415 B
/*! { "name": "Pointer Lock API", "property": "pointerlock", "notes": [{ "name": "MDN documentation", "href": "https://developer.mozilla.org/en-US/docs/API/Pointer_Lock_API" }] } !*/ define(['Modernizr', 'prefixed'], function( Modernizr, prefixed ) { // https://developer.mozilla.org/en-US/docs/API/Pointer_Lock_API Modernizr.addTest('pointerlock', !!prefixed('exitPointerLock', document)); });