Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

handing prefixes for web intents

  • Loading branch information...
commit bef63c8e05d28f15d1f17c6c1006b0972694598d 1 parent 5aeb25f
@ebidel authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 feature-detects/web-intents.js
View
4 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);
});
Please sign in to comment.
Something went wrong with that request. Please try again.