Permalink
Browse files

more details to pointer events test.

  • Loading branch information...
1 parent db2a1f8 commit 4247a7513fb9b15148f2d19317dfb4380c047079 @paulirish paulirish committed May 1, 2012
Showing with 9 additions and 2 deletions.
  1. +9 −2 feature-detects/css-pointerevents.js
@@ -1,5 +1,12 @@
+
// developer.mozilla.org/en/CSS/pointer-events
-// github.com/ausi/Feature-detection-technique-for-pointer-events
+
+// Test and project pages:
+// ausi.github.com/Feature-detection-technique-for-pointer-events/
+// github.com/ausi/Feature-detection-technique-for-pointer-events/wiki
+// github.com/Modernizr/Modernizr/issues/80
+
+
Modernizr.addTest('pointerevents', function(){
var element = document.createElement('x'),
documentElement = document.documentElement,
@@ -15,4 +22,4 @@ Modernizr.addTest('pointerevents', function(){
getComputedStyle(element, '').pointerEvents === 'auto';
documentElement.removeChild(element);
return !!supports;
-});
+});

0 comments on commit 4247a75

Please sign in to comment.