Html5 API doc missing setColor on cc.LayerColor

Not a biggie, but one of my employees noticed today there was no setColor on the doc, I’m personally fine since I know the API from the iPhone version, but for someone new checking the docs, may be a bit confusing:

http://www.cocos2d-x.org/reference/html5-js/V2.2.2/index.html

Anyway I won’t get tired to say it’s a great job what you guys are doing.

Yes, it’s a mistake.

cc.LayerColor inherits from cc.LayerRGBA now, and I forgot to change its jsdoc.

Thanks for your remind, we will fix it soon.
David

Hi,
This mistake has been corrected at https://github.com/cocos2d/cocos2d-html5/pull/1471
and the official site’s API has been updated.

Thanks again.
David

Thanks for the quick response!