code: 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;
      }
docs: Matches settings for currectly matching media breakpoint.
  
  @param {Object} points
  @returns {Object}