code: function threshold(event) {
        var settings = Glide.settings;
  
        if (MOUSE_EVENTS.indexOf(event.type) > -1) {
          return settings.dragThreshold;
        }
  
        return settings.swipeThreshold;
      }
docs: Gets value of minimum swipe distance settings based on event type.
  
  @return {Number}