rigoneri/syte — pull request #94 by eventh (2012-08-05 23:37:03+00:00)
Title: Bug fix: Opera does not support window.matchMedia.

The latest Opera, version 12.01 (rendering engine Presto 2.10), does not support `window.matchMedia` [1].
The fix simply checks if `window.matchMedia` is defined or not.

`window.matchMedia` is supported from Presto 2.11, which is not used in a stable version of Opera yet [2].

* [1] http://www.opera.com/docs/specs/presto2.10/css/cssom/
* [2] http://www.opera.com/docs/specs/presto2.11/css/cssom/