[Resolved]COCOS2D_DEBUG value in cocos2d.js not respected

The COCOS2D_DEBUG setting that is assigned to the c variable in cocos2d.js is not being respected across the code.

The constructor in main.js that sets cc.COCOS2D_DEBUG to the variable passed above is set AFTER CCCommon.js uses the variable to determine what the cc.log function and assert functions should do.

Thanks

Thank you for reporting this bug.

I will fixed it soon.

Iss1503 was created for this bug.