Problem with compressing JS

Jul 24, 2009 at 9:04 AM

The problem is that all *.js files were compressed into ONE file. After that all scripts in my site don't work...

I guess the reason is that some variables may have conflicting (overlapping) names...

Has anybody get similar problem?

Jul 24, 2009 at 9:59 PM

We had similar problems (i.e. the scripts won't work) but it was due to the order of all the js files. If one file uses some components from another one, you will need to order the js files so that they are concatenated in the right order.

If you don't ofuscate the code, it is likely that some variables may conflict...