velesin/jasmine-jquery — pull request #107 by jharding (2013-01-17 09:22:28+00:00)
Title: Update toBeFocused to be compatible with PhantomJS

Due to this [PhantomJS bug](http://code.google.com/p/phantomjs/issues/detail?id=427), the current implementation of `toBeFocused` will always fail. Rather than rely on `jQuery#is(':focus')`, this pull request does a comparison with the `activeElement`. See #37 for a brief discussion on the matter.