cocos2d/cocos2d-x — pull request #2850 by LiyeZhang (2013-06-09 23:59:10+00:00)
Title: Making CCScrollView zoom behaving more like a UIScrollView when a user tries

... to zooming in and out. That is, when zooming out would change its offset to be beyond the max or below the min, to cuts it off at either the max or the min.