but your readme says so
removed untrue comment about IE9. Fixes #57
Way late to the party, but... doesn't this mean the logic for respond.mediaQueriesSupported doesn't work as expected because IE9 supports media queries, but not window.matchMedia?
No, matchMedia is just used as an immediate flag for mq support. If it's not there, mqs are manually tested.
A better explanation, the matchMedia polyfill is included to normalize that. Then the following can determine native CSS3 Media Queries support:
respond.mediaQueriesSupported = win.matchMedia && win.matchMedia( "only all" ).matches;
only is a media query function, and all is a general media type supported everywhere, so they can be combined to query for mq support in general.
I think I understand now. I had thought I was including a matchMedia polyfill via Modernizr, which it turns out wasn't there. Thanks.