dist/glide.esm.js
function match(points) {
      if (typeof window.matchMedia !== 'undefined') {
        for (var point in points) {
          if (points.hasOwnProperty(point)) {
            if (window.matchMedia('(max-width: ' + point + 'px)').matches) {
              return points[point];
            }
          }
        }
      }

      return defaults;
    }
function match(points) {
      if (typeof window.matchMedia !== 'undefined') {
        for (var point in points) {
          if (points.hasOwnProperty(point)) {
            if (window.matchMedia('(max-width: ' + point + 'px)').matches) {
              return points[point];
            }
          }
        }
      }

      return defaults;
    }
function match ( points ) { if ( typeof window . matchMedia !== 'undefined' ) { for ( var point in points ) { if ( points . hasOwnProperty ( point ) ) { if ( window . matchMedia ( '(max-width: ' + point + 'px)' ) . matches ) { return points [ point ] ; } } } } return defaults ; }
Matches settings for currectly matching media breakpoint.

@param {Object} points
@returns {Object}
Matches settings for currectly matching media breakpoint .