Skip to content
Keith Yao edited this page Feb 6, 2014 · 1 revision
var supportTouch = ('ontouchstart' in document.documentElement);

if(!supportTouch){
    console.log('sorry, you can not play little touch without touch support.');
}
Clone this wiki locally