look at the code below:
cc.BuilderReader.load = function(...){
...
var documentControllerName = animationManager.getDocumentControllerName();
if (!documentControllerName) continue;
// Create a document controller
var controller = new _ccbGlobalContext[documentControllerName]();
...
}
Problem is:
documentControllerName is the name we assigned in cocosbuilder,
"_ccbGlobalContext[documentControllerName]" became undefined after obfuscating.
Maybe we should add any documentControllerName we wrote in cocosbuilder to obfuscate exclude file.
Is there any other way to make the work easier?
Thanks.