- From: Simon Pieters <notifications@github.com>
- Date: Mon, 18 Apr 2016 07:06:19 -0700
- To: whatwg/dom <dom@noreply.github.com>
Received on Monday, 18 April 2016 14:06:46 UTC
Quick search in httparchive reveals such usage, e.g.:
http://www.15min.lt/
```js
touch: (function(){
try {
document.createEvent('TouchEvent');
return true;
} catch(e) {
return false;
}
})()
```
http://www.cnbc.com/
```js
var isMobile=(function(){var mobile=false,evt;try{evt=document.createEvent('TouchEvent');mobile=true;}catch(e){}
return mobile;}());
```
---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/issues/227#issuecomment-211395576
Received on Monday, 18 April 2016 14:06:46 UTC