Skip to content

Commit

Permalink
handing prefixes for web intents
Browse files Browse the repository at this point in the history
  • Loading branch information
ebidel committed Apr 16, 2012
1 parent 5aeb25f commit bef63c8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion feature-detects/web-intents.js
@@ -1,4 +1,6 @@
// Tests for the ability to use Web Intents (http://webintents.org).
// By Eric Bidelman

Modernizr.addTest('webintents', function() {
return !!navigator.startActivity;
return !!Modernizr.prefixed('startActivity', navigator);
});

0 comments on commit bef63c8

Please sign in to comment.