cocos2d/cocos2d-html5 — pull request #1007 by MarkEHenderson (2013-07-16 01:33:42+00:00)
Title: Fixes ccNode.setScale when scaleY === 0

In the old code, calling node.setScale(1,0) would result in a scale of 1,1

the new code properly sets the scale to 1,0, and should handle all other cases identical to the previous behavior