openlayers/openlayers — pull request #708 by mpriour (2012-10-09 16:45:46+00:00)
Title: Fire the 'changelayer:visibility' event from layer's display method

Move the changelayer event firing logic for in / out of resolution range
from the Map class to the Layer class. Tests have been also been created
to specifically test that the display method works correctly and fires
events only when needed.