index.js
/**
		 * Returns true if the current swipe meets the thresholds
		 * @return Boolean
		 * @inner
		*/
Returns true if the current swipe meets the thresholds
@return Boolean
@inner
Returns true if the current swipe meets the thresholds @return Boolean @inner
function validateSwipe() {
			var hasValidTime = validateSwipeTime();
			var hasValidDistance = validateSwipeDistance();
			var hasCorrectFingerCount = validateFingers();
		    var hasEndPoint = validateEndPoint();
		    var didCancel = didSwipeBackToCancel();
			var valid =  !didCancel && hasEndPoint && hasCorrectFingerCount && hasValidDistance && hasValidTime;
			return valid;
		}
function validateSwipe ( ) { var hasValidTime = validateSwipeTime ( ) ; var hasValidDistance = validateSwipeDistance ( ) ; var hasCorrectFingerCount = validateFingers ( ) ; var hasEndPoint = validateEndPoint ( ) ; var didCancel = didSwipeBackToCancel ( ) ; var valid = ! didCancel && hasEndPoint && hasCorrectFingerCount && hasValidDistance && hasValidTime ; return valid ; }
Returns true if the current swipe meets the thresholds
 @return Boolean
 @inner
Returns true if the current swipe meets the thresholds @return Boolean @inner
//Check validity of swipe // if the user swiped more than the minimum length, perform the appropriate action // hasValidDistance is null when no distance is set