cocos2d/cocos2d-html5 — pull request #587 by ricardoquesada (2012-10-19 00:10:35+00:00)
Title: Node API fixes.

Adds to cc.Node:
- retain/release methods: Needed for JSB compatbility.
- removeChild: if cleanup is not passed, it assumes that cleanup=YES
- removeChildByTag: if cleanup is not passed, it assumes that cleanup=YES
- removeAllChildrenWithCleanup -> removeAllChildren. If cleanup is not passed, cleanup=YES
- removeChildFromParentAndCleanup -> removeChildFromParent. If cleanup is not passed, cleanup=YES

removeChildFromParentAndCleanup and removeAllChildrenWithCleanup are
deprecated (they log a warning if they are called), but they are still
functional.

API is more consistent now.