src/js/tooltipster.js
function(event) {
		
		var isEmulated = false,
			now = new Date().getTime();
		
		for (var i = this.__touchEvents.length - 1; i >= 0; i--) {
			
			var e = this.__touchEvents[i];
			
			// delay, in milliseconds. It's supposed to be 300ms in
			// most browsers (350ms on iOS) to allow a double tap but
			// can be less (check out FastClick for more info)
			if (now - e.time < 500) {
				
				if (e.target === event.target) {
					isEmulated = true;
				}
			}
			else {
				break;
			}
		}
		
		return isEmulated;
	}
function(event) {
		
		var isEmulated = false,
			now = new Date().getTime();
		
		for (var i = this.__touchEvents.length - 1; i >= 0; i--) {
			
			var e = this.__touchEvents[i];
			
			// delay, in milliseconds. It's supposed to be 300ms in
			// most browsers (350ms on iOS) to allow a double tap but
			// can be less (check out FastClick for more info)
			if (now - e.time < 500) {
				
				if (e.target === event.target) {
					isEmulated = true;
				}
			}
			else {
				break;
			}
		}
		
		return isEmulated;
	}
function ( event ) { var isEmulated = false , now = new Date ( ) . getTime ( ) ; for ( var i = this . __touchEvents . length - 1 ; i >= 0 ; i -- ) { var e = this . __touchEvents [ i ] ; // delay, in milliseconds. It's supposed to be 300ms in // most browsers (350ms on iOS) to allow a double tap but // can be less (check out FastClick for more info) if ( now - e . time < 500 ) { if ( e . target === event . target ) { isEmulated = true ; } } else { break ; } } return isEmulated ; }
This will return true if the event is a mouse event which was
emulated by the browser after a touch event. This allows us to
really dissociate mouse and touch triggers.

There is a margin of error if a real mouse event is fired right
after (within the delay shown below) a touch event on the same
element, but hopefully it should not happen often.

@returns {boolean}
@protected
This will return true if the event is a mouse event which was emulated by the browser after a touch event . This allows us to really dissociate mouse and touch triggers .