UNPKG

modernizr

Version:

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

23 lines (21 loc) 891 B
/*! { "name": "Web Intents", "property": "webintents", "authors": ["Eric Bidelman"], "notes": [{ "name": "Web Intents project site", "href": "http://webintents.org/" }], "polyfills": ["webintents"], "builderAliases": ["web_intents"] } !*/ /* DOC Detects native support for the Web Intents APIs for service discovery and inter-application communication. Chrome added support for this in v19, but [removed it again in v24](https://lists.w3.org/Archives/Public/public-web-intents/2012Nov/0000.html) because of "a number of areas for development in both the API and specific user experience in Chrome". No other browsers currently support it, however a [JavaScript shim](http://webintents.org/#javascriptshim) is available. */ define(['Modernizr', 'prefixed'], function(Modernizr, prefixed) { Modernizr.addTest('webintents', !!prefixed('startActivity', navigator)); });