From bef63c8e05d28f15d1f17c6c1006b0972694598d Mon Sep 17 00:00:00 2001 From: Eric Bidelman Date: Sun, 15 Apr 2012 18:23:26 -0700 Subject: [PATCH] handing prefixes for web intents --- feature-detects/web-intents.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/feature-detects/web-intents.js b/feature-detects/web-intents.js index 1c32141d27..d0557fe8cd 100644 --- a/feature-detects/web-intents.js +++ b/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); });