openlayers/openlayers — pull request #281 by ejn (2012-03-05 11:17:33+00:00)
Title: Improve iconOn/iconOff class name matching in Panel.js; add unit tests

Following #3630 [1], which I discovered was largely already solved in trunk, I tidied up the regex and added some unit testing.

[1] http://trac.osgeo.org/openlayers/ticket/3630