Skip to content

Commit

Permalink
removing touch.html .. and moving it over to gh-pages
Browse files Browse the repository at this point in the history
  • Loading branch information
paulirish committed Sep 30, 2010
1 parent c53a073 commit 1f7994b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 71 deletions.
7 changes: 4 additions & 3 deletions modernizr.js
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ window.Modernizr = (function(window,doc,undefined){
return !!(ret['canvas'] && typeof doc.createElement( 'canvas' ).getContext('2d').fillText == 'function');
};

/**
/*
* The Modernizr.touch test only indicates if the browser supports
* touch events, which does not necessarily reflect a touchscreen
* device, as evidenced by tablets running Windows 7 or, alas,
Expand All @@ -283,13 +283,14 @@ window.Modernizr = (function(window,doc,undefined){
* without UA sniffing we have removed this test from Modernizr. We
* hope to add it in after Chrome 5 has been sunsetted.
* See also http://github.com/Modernizr/Modernizr/issues#issue/84
*/

tests[touch] = function() {

return !!('ontouchstart' in window);
return ('ontouchstart' in window);

};
*/


/**
* geolocation tests for the new Geolocation API specification.
Expand Down
68 changes: 0 additions & 68 deletions touch.html

This file was deleted.

0 comments on commit 1f7994b

Please sign in to comment.