Touch events in Meteor
问题 The first thing I started to do with Meteor was start writing a touch-based web application for mobile/tablets. Here's how you reproduce the problem: First step: create a blank project meteor create touch_example cd touch_example meteor Second, add these things to the .js file This first bit spits out an alert for touch devices and because they have no console. Meteor.log = function(input){ if (typeof console !== 'undefined' && typeof Touch !== "object") console.log(input); else alert(input);