livingston/css3-mediaqueries-js — pull request #4 by apinstein (2012-05-31 15:23:33+00:00)
Title: Semi-gracefully handle IE errors while trying to re-inject mediaquery css.

IE9 was erroring out processing some @media queries on our site. Why, I don't know. However without the try/catch the css3-mediaqueries.js script will stop processing further instructions, leaving the page in an often broken state. At least this allows it to proceed further.

I don't know enough about how this script works to know why it was failing, however something about some of the media queries in our CSS was causing css3-mediaqueries.js to try to add cssText of code that IE didn't like. Whether this is a bug in detecting which mediaqueries need to be "re-added" or what I have no idea.