mirror of
https://github.com/gnh1201/welsonjs.git
synced 2025-05-17 15:11:04 +00:00
23 lines
899 B
JavaScript
23 lines
899 B
JavaScript
/*!
|
|
{
|
|
"name": "Web Intents",
|
|
"property": "webintents",
|
|
"authors": ["Eric Bidelman"],
|
|
"notes": [{
|
|
"name": "Web Intents project site",
|
|
"href": "http://www.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://www.webintents.org/#javascriptshim) is available.
|
|
*/
|
|
define(['Modernizr', 'prefixed'], function(Modernizr, prefixed) {
|
|
Modernizr.addTest('webintents', !!prefixed('startActivity', navigator));
|
|
});
|