lib/utils/media-query.js
function explodeMediaQuery(query) {
  return query
    .split(',')
    .map(part => part.trim())
    .map(orSection => orSection.split('and').map(part => part.trim()));
}
function explodeMediaQuery(query) {
  return query
    .split(',')
    .map(part => part.trim())
    .map(orSection => orSection.split('and').map(part => part.trim()));
}
function explodeMediaQuery ( query ) { return query . split ( ',' ) . map ( part => part . trim ( ) ) . map ( orSection => orSection . split ( 'and' ) . map ( part => part . trim ( ) ) ) ; }
Break a media query string into parts

@example
const q = '(-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi)';

explodeMediaQuery(q);
// => ['(-webkit-min-device-pixel-ratio: 2)', '(min-resolution: 192dpi)']

@param {string} query the media query string to break apart
@return {array} the structure of the provided media query
Break a media query string into parts