culljs/dome — pull request #5 by henrik242 (2013-10-01 14:26:52+00:00)
Title: Make byClass work as expected with PhantomJS

getElementsByClassName() may return a function when running under PhantomJS, while this is not the case with Safari or Firefox.