I am obfuscating several files that get used together, using directory references. JSCruncher changes variable names independently in the two files - ie in file a I had consts={some object} and in various places I reference it, but it changes consts to xyz in one file and references to it to something different in the other file, all included in the same project. Ideas?
Thanks,
Curt
Submitted by:
JSCruncher Pro Support Staff
Date:
2007-08-23 14:15:33.0
As long as the files were all obfuscated at the same time (i.e. they are all in the project) then this should not happen. If possible, please send the files or snippets of the files that cause this to support@nebiru.com and we'll review your particular circumstance.
tnx
Submitted by:
emailcurt
Date:
2007-08-23 14:40:06.0
Thanks for your quick reply. For confidentiality I cannot send the files, but I discovered that it only happens for objects.
So in one file I have:
var abc = { z:1,y:2,x:3};
abc, z, y, x get translated inconsistently between the different source files. For now I have just put all my object variables in the exclude file.