docs: function mediaQuery(media) {
    var ret = false;
  
    if (win.matchMedia) {
      //If the browser support matchMedia
      ret = win.matchMedia(media).matches;
    } else {
      //For browsers that support matchMedium api such as IE 9 and webkit. Reference by https://github.com/paulirish/matchMedia.js/blob/master/matchMedia.js
      var styleMedia = win.styleMedia || win.media;
      if (styleMedia) {
        ret = styleMedia.matchMedium(media || 'all');
      }
    }
  
    return ret;
  }