WickyNilliams/enquire.js — pull request #62 by simonwgill (2013-06-10 16:48:33+00:00)
Title: There was inconsistent behavior between match and unmatch when the page is loaded.

I was using enquire to progressively enhance an element by adding one of a mutually exclusive paid of CSS classes (depending on the query succeeding or failing). It was very confusing that the match function was called when the handler was registered but unmatch wasn't.

A better way of doing it might be to provide a boolean to the setup function with the value of mql.matches at the time of setup.