Files
OpenMaopaoya/frontend-uni/node_modules/hammer-touchemulator/tests/manual/modernizr.html
T

20 lines
488 B
HTML

<!DOCTYPE html>
<html>
<head lang="en">
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1, maximum-scale=1">
</head>
<body>
<h1>Can we trick Modernizr?</h1>
<script src="../../touch-emulator.js"></script>
<script> TouchEmulator(); </script>
<script src="//cdnjs.cloudflare.com/ajax/libs/modernizr/2.8.2/modernizr.min.js"></script>
<script>
alert('Modernizr.touch == '+ Modernizr.touch);
</script>
</body>
</html>